Permissions are the unix way of controlling access to resources such as files, directories and devices and may be specified for an owner, group, or all users.

learn more… | top users | synonyms (1)

0
votes
0answers
65 views

IzPack Linux Keep same permissions

I'm using IzPack to pack my application contain thousand of files that should be executable. IzPack remove the original permissions and give the unpacked files rw-rw-r-- So, there is any solution to ...
0
votes
1answer
43 views

Why can't I create directories under /root as a member of root? [duplicate]

I've done the following: sudo usermod -a -G root userA sudo su - root cd / chmod 775 root ls -aln -- drwxrwxr-x. 6 0 0 4096 Sep 13 22:04 root I can cd /root from my userA, but I can't make ...
1
vote
1answer
52 views

Thoughts on security in linux [closed]

So ransomware is around again - at least in Denmark. This is a major issue for MS-Windows users, but does almost never affect Linux or Mac. The reason is an issue of debate. But since the consumer ...
2
votes
1answer
128 views

EACCESS err while installing thin

I am trying to install thin in linux mint 17. I have installed ruby via rvm . I have already install the thin gem. When I ran thin install I got this error Installing thin service at /etc/init.d/...
0
votes
0answers
131 views

permission needed for Python to access USB drive?

I got this Python script that reads media files from USB stick. It used to run fine, today it keeps giving me OS Error: [Errno 13] Permission denied: media/myName/usbName when the script runs the ...
1
vote
2answers
350 views

How to copy directory structure from one server to another without root user?

I would like to know best way to copy directory structure from one server(Unix) to another (Linux): without root user servers are not connected (e.g. can't use SSH directly between them) I need to ...
1
vote
1answer
2k views

RSync - Permission denied (13) while executing rsync as a root

I am trying to set up hourly rsync beetwen my local machine and remote server. I have already created a ssh certificate to enable login less connection to remote machine. Now however when I execute ...
2
votes
2answers
97 views

Where can I/should I place files outside my home directory?

I'm using a Linux system on which I don't have root. My home directory is remote-mounted and backed up (and there's a quota on that filesystem). Now, I would like to work on some files on this machine ...
1
vote
1answer
286 views

Recovering from a chown -R / [duplicate]

I've made today the greatest error on my server using root user: chown -R 33:33 / instead of chown -R 33:33 . within some webroot folder. Well, this brought ssh down. I made it this far to get it ...
-2
votes
3answers
523 views

Understanding permissions properly for cp [duplicate]

I am trying to understand the permission usage for the cp command in unix. What are the permissions required for copying a file into a directory What are the permissions required for copying out of ...
1
vote
2answers
70 views

Permissions to remove all files in subdirectory

I have a folder myfolder with lots of files and directories as follows: -rwxrwx--x user1 user1 . -rwxrwx--x root root .. -rw-rw---- user1 user1 file1 -rw-rw---- user1 user1 file2 -...
0
votes
1answer
90 views

Need help with mount.cifs syntax for read/write mount for non-root user

When I upgraded to Ubuntu 14.04 it also upgraded cifs. In Ubuntu 12.x a network mount script I had would nicely mount a Windows network share as read/write. My attempts at updating it to work with ...
0
votes
1answer
1k views

Mount successful, Directory accessible, but cannot do Operations (cp, mkdir, etc.)

I have mounted a shared network drive. See below output of df -h command. Filesystem Size Used Avail Use% Mounted on /dev/sda1 550G 362G 161G 70% / tmpfs 1....
0
votes
1answer
104 views

If umask is same when why unzip <filename> on two different hosts getting permissions different

umask on two hosts is same ( 0027 ) Still when i unzip the same file ( MD5 match), the permissions of same unzipped file differ in directory and file permission in two hosts. How can it be possible ?...
4
votes
1answer
80 views

Why are both write and execute permissions on a directory necessary to be able to delete files? [duplicate]

It's straightforward to realise that the permissions of a file are not relevant to the ability to delete that file. The ability to modify the directory listing is controlled by the directory's ...
1
vote
0answers
171 views

Unable to delete files even with root, lsattr is also not responding

I have two somehow corrupt files in my second hard disk of my laptop, which has dual boot Ubuntu 15.04 and Windows 7. I keep it mounted as a ntfs formatted partition in media. I share this drive ...
2
votes
1answer
246 views

How to backup readable but not writable files using rsync?

I am using rsync to backup some folders in my home directory to a remote server using the following commands: cd rsync -Favz --inplace --delete --delete-excluded folder1 folder2 folder3 remote-server:...
0
votes
1answer
31 views

Permission check on profile file in home directory: should it be done?

Say I'm implementing a programming language which has an interactive mode, and that interactive mode reads some ~/.foo_rc file in the user's home directory. The file contains code in that language ...
3
votes
1answer
189 views

Can't give myself NOPASSWD privelege for chmod/chown [duplicate]

I'm trying to set my local computer (which has Linux Mint 13 Maya) so that I can chmod & chown any file with my regular max user account. Following this page, http://askubuntu.com/questions/...
0
votes
2answers
1k views

`su` command: Permission denied

When I type into bash the following command su -s /bin/bash as root, then no error occurs. When I type su -s /bin/bash -m [MyUserName], then I get the error: Permission denied. As far as I could ...
1
vote
1answer
136 views

Read file permission denied despite sufficient permissions [duplicate]

I'm attempting to cat a file with 770 permissions as a user who is part of the group (but not the owner of the file). This should provide sufficient permissions to my understanding, yet I encounter a ...
0
votes
1answer
146 views

rsync command not preserving permissions

rsync is not preserving permissions/ownesrship after file transfer. Here is the scenario Source host(192.168.2.14 from where files are copied): Source Path # ls -l "/shareddata/tesz/" total 4 ...
1
vote
1answer
80 views

How to achieve a bi-directional sync of userN files by user1 while keeping mtimes?

user1 wants to do a bi-directional sync between 2 machines. user1 is a member of group2 and has a non-privileged ssh tunnel. There are lots of files and dirs such as: rwxrwx--- userN group2 enclair/...
0
votes
0answers
128 views

Transferring files via FTP to server - Can transfer most but others permission denied?

I have a Linux server that hosts my website and I'm having quite a bit of trouble with a problem. Basically been changing my website around, and for the main part I can transfer all files fine, via ...
2
votes
0answers
227 views

Unable to delete Root CA (UNIX: operation not permitted)

I am trying to delete a root certificate authority from my Mac OS machine. When I try this from the 'Keychainaccess' program it asks for my password and then shows 'ecKeychainItemDelete: UNIX[...
0
votes
1answer
136 views

Calling php function from /var/www/folder (as www-user), which is located in a file in /var (or any folder) (with root permissions?)

I wrote a script which "walks" through /var/www/xyz and scans folders and more. The folders are all 'user-bound', so the permissions for a single folder there are set to the specific user. Running ...
1
vote
3answers
89 views

How do you set the 'T' bit?

My TeX Live installation has a file called .texlive2015 and was originally set to drwx------T. I changed it, and I want to change it back, but I can't get the 'T' back. How do I get it back?
2
votes
2answers
73 views

Is there any standard on the permissions for system directories?

The /root directory on CentOS 6 has permissions 0550 but on Debian 7 it is 0700. The Filesystem Hierarchy Standard (FHS) tells about directory organization but remains silent about permissions. Do ...
0
votes
1answer
53 views

What software is responsible to check permission of files to give access or not to users?

I want to verify that is it the responsibility of file system?
1
vote
1answer
51 views

How are permissions in linux implemented?

It is in my knowledge that Linux implements a DAC-based model for file access control, however I recently came across the fact that ACL's have to manually be enabled in Linux. My question is: How ...
0
votes
0answers
45 views

xTerm and wvdial issue [UDEV]

After mounting USB modem opens xterm which connects me to the internet after some time it shuts down. -- When I'm starting sudo wvdial on normal gnome-terminal - All works without any problems. But ...
1
vote
1answer
75 views

umask vs -m, --mode command options

Is there any technical merit/necessity to numerous *nix commands (mkdir, mkfifo, mknod) having a -m (--mode) option? I ask this because near as I can tell, umask (both the shell command and the ...
0
votes
0answers
101 views

Transmission-daemon error permission denied

I have set up transmission-daemon on a bananapro to be a torrent server. I have created a directory for it in the root home folder and given chmod 777 permissions to this directory so that anyone can ...
1
vote
2answers
102 views

Add user on Jessie that can log on to FTP but has no shell

I have set up a vsftpd server and I used chroot to keep users locked inside their home directories, which works just fine. I have since tried to edit the passwd file to set the default shell to /bin/...
0
votes
1answer
162 views

ntfs issue with rsync: read errors mapping permission denied (13)

I have an issue when I want to rsync folders from my external backup hard disk to my NAS. I get this error : read errors mapping permission denied (13) I have root rights; if I want to change ...
1
vote
1answer
68 views

what is the difference between mounting via command line and using GUI?

I am in great trouble as of now as if I have to mount my drive only using command line because if I mount my drive using GUI it gives me permission as read only for command line operations. See the ...
0
votes
0answers
35 views

AFP share with local Unix users

I have a Solaris server on which I have a AFP share. I connect from a Mac client to that AFP share with local users from the Solaris server. So let's say I connect to the share with the Alice user. ...
0
votes
3answers
118 views

How would an administrator of a system prevent himself access to a file for 24 hours?

How would a single administrator go about locking himself out of a file for 24 hours? By "lock" I mean prevent access. I have removed the 'rules' placed on the original post, as it is clear that the ...
0
votes
2answers
339 views

How do I archive a folder keeping owners and permissions intact?

Is there any way to archive a folder and keep the owners and permissions intact? I'm doing a backup of some files, which I want to move using a usb-stick, which has a FAT filesystem. So the idea was ...
1
vote
1answer
101 views

Folder permissions with cp --parents doesn't allow to copy another file

Scenario: with a script run by a normal user I want to copy several files, and replicate the dir structure. For example: cp --parents /lib/libacl.so /tmp/my_root/ cp --parents /lib/libc.so.6 /tmp/...
2
votes
3answers
100 views

How to delete that directory?

I have a directory, that I cannot delete with rmdir. I get always a permission denied error. But when list the directory (with ls -l) I get this: drwxrwxrwx 2 user user 4096 Aug 28 09:34 directory ...
45
votes
2answers
4k views

Why is rm allowed to delete a file under ownership of a different user?

From the post Why can rm remove read-only files? I understand that rm just needs write permission on directory to remove the file. But I find it hard to digest the behaviour where we can easily delete ...
0
votes
0answers
61 views

Lubuntu won't let me change a file's permission

Yesterday I installed Lubuntu, and it works great. Today I've been messing around with my files (don't worry they aren't system files) and I came across file settings (keep in mind that I am the Admin ...
1
vote
0answers
53 views

Funny message when changing ownership of top directory in a mounted file system

For unknown reason, the ownership of this directory changed. This is a mount point: VM-data is /dev/sda3 which is a btrfs file system. When I changed it back, I got an error, chown: changing ...
0
votes
0answers
17 views

Limit read access for folder in samba share

So, I'm trying to make it so that one of my shares can be acessed by almost everyone, but inside this share I have a symlink to a mounted drive which I only want to be accessed by users of one ...
3
votes
2answers
401 views

What's wrong with these file permissions?

This is an embarassing question, but I can't seem to figure out the proper file permissions for my server. I want to create a directory in my public_html folder that includes read/write access for ...
4
votes
1answer
173 views

One of my pdf files in my apache server can be accessed the other can't, with the same permissions and same directory

I have two pdf files in my server: -rwxr-xr-x. 1 apache apache 1422861 Sep 11 2014 file1.pdf -rwxr-xr-x. 1 apache apache 340815 Aug 27 13:06 file2.pdf I can access the first one by going to www....
0
votes
1answer
164 views

Permission denied to file even though I am in that group

I know there is a question like this already, but it was confusing question and answer, and I think this should be simple I am testing deleting a file and I have two users admin_ftpuser works, ...
3
votes
2answers
519 views

Why can't I create a file in a directory where I have group write access? [duplicate]

There's a situation I don't quite understand. I have this directory, where the group 'webadmin' has rwx rights : $ ls -la total 8 drwxrwxr-x 2 root webadmin 4096 Aug 27 12:17 . ⋮ ...
3
votes
1answer
389 views

Exit bash when find gets to a folder with permission denied

I'm trying to write my second Bash script. Where i go through folders recursively and make a list of and count files and folders. In a way it works but if "find" gets to a directory where it has ...