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)

1
vote
1answer
2k views

Root Cron Won't Run Script (permission denied)

I've edited my root cron tab to periodically execute a script located in a particular user's folder using this command: sudo crontab -e When cron runs the script, this is the output: sh: 1: ...
7
votes
2answers
1k views

USB drive permissions when automounting

On Debian there is the common problem, that you try to plug an ntfs formatted USB harddrive and then can't write to it as a regular user to it because the directory belongs to root. A little time ago ...
0
votes
3answers
188 views

How to set up wireshark with correct permissions [duplicate]

Ubuntu 13.10, Saucy Salamander here. I am trying to install wireshark in order to monitor USB activity with a certain device. The problem is that wireshark does not have access to the USB bus (or any ...
0
votes
2answers
516 views

Allow non-root user to read/write /dev files

In my /dev folder, I would like the following files to be user readable and writable: /dev/ttyUSB0 /dev/gpib0 How do I do this without using chgrp? I can edit /etc/udev/rules.d but I do not know ...
1
vote
1answer
70 views

What is difference betwen gid and groups

I was wondering about the following behavior: I have three users A, B and C. A creates a folder and changes the group ownership to C's group. mkdir fold chgrp C fold chmod g+rw fold Now I add B to ...
3
votes
2answers
90 views

set umask (permissions) similarly as setgid on a directory

I know how to use setgid on directories, to enforce that whole directory structure has uniform user:group ownership. Is there a similar way to set the umask for a directory, so that the whole ...
2
votes
1answer
59 views

Setuid directory permission implies execute permission?

Does setting u+s on a directory imply u+x?
0
votes
1answer
63 views

What happened to Primary Administrator profile in Solaris 11?

What happened to the "Primary Administrator" profile in Solaris 11? Why was it cut? Are there any alternatives? How does it differ from the root-role (which is profiles=All;auths=solaris.*) Is the ...
1
vote
1answer
26 views

solaris.grant and granting/delegating rights?

I have a couple of question regarding Solaris 11... First off, as far as I can tell, Solaris has dropped the auth solaris.grant in Solaris 11... Why was it removed? Is it no longer needed? Did it ...
0
votes
1answer
52 views

Explain the “@” symbol in this permissions example [duplicate]

I have a file on my Darwin system and the permissions are: -rwxr-xr-x@ User: read, write, execute Group: read, execute Other: read, execute What is the 11th notation the @ mean? In addition to ...
0
votes
1answer
48 views

rc.subr can't access file?

On FreeBSD 8.3 I'm running script (as root): /usr/local/etc/rc.d/foo/foo.sh start content is typical: . /etc/rc.subr name="foo" rcvar=${name}_enable load_rc_config ${name} ...
1
vote
1answer
443 views

PHPStorm changes group when saving file

When editing a file with PHPStorm, the group is changed from www-data to my local user. I've added my local user to the www-data group, and if I edit the file with gedit/vim/etc. the group stays as ...
0
votes
0answers
17 views

Removing SQL permissions in webmin

This may seem like a dumb question, but can anyone tell me how to remove permissions for MySQL users using webmin? I really can't figure it out.
0
votes
1answer
484 views

Systemd fails to start Nginx on reboot, but it works manually

Here's my situation whenever I reboot: $ systemctl --failed UNIT LOAD ACTIVE SUB DESCRIPTION nginx.service loaded failed failed A high performance web server and a reverse proxy server ...
0
votes
2answers
143 views

How portable are the works chmod and chown commands?

Lets suppose a file is being owned by a user named mrxyz with UID and GID 1000, and has RW permissions for the file (esp. in ext file-systems). Now if the file is brought to my system will my user ...
3
votes
3answers
3k views

“echo 3 > /proc/sys/vm/drop_caches” - Permission denied as root

I am currently having some issues with the cache. It is a little too much right now so I wanted to clear it. I googled and found this little command: sync && echo 3 > ...
3
votes
1answer
755 views

Why is permission denied for npm start using node-dev?

I am trying to start a node.js application with on a low permissions user. All the files I know of are owned by the correct user and have permissions set reasonably well. I'm trying to use a script ...
2
votes
1answer
319 views

How to properly setup web server directory permissions

I'm lost with this, hopefully I can find some help here: I have Ubuntu 12.04 LTS webserver. For example I have user "myuser". There is a public directory which is my web root. I chowned it and all ...
0
votes
1answer
464 views

root permission denied on /proc/1/exe

I just performed a fresh ubuntu install and i am seeing the following in lsof: userA@az1:~$ lsof COMMAND PID TID USER FD TYPE DEVICE SIZE/OFF NODE NAME init 1 ...
4
votes
2answers
75 views

File executable by all, yet still cannot be executed?

As shown by the following code: ll total 136 -rwxr-xr-x 1 kaiyin kaiyin 19067 May 9 2013 dbmeister.py -rwxr-xr-x 1 kaiyin kaiyin 1617 Jul 29 2011 locuszoom -rwxr-xr-x 1 kaiyin kaiyin 112546 May ...
0
votes
1answer
317 views

permission denied when executing binary despite “rwx” priviledge and root user

I'm trying to execute some binary with bash. I am getting a "Permission denied" message despite having given the full privileges (chmod 777) and being the 'root' user: This is the file description: ...
1
vote
0answers
46 views

When connected by VNC all files are read only [closed]

For some reason when I'm connected to my server with VNC, I do not have permission to edit system files, even when I su - root I can only access system files in read only mode. Please can someone help ...
3
votes
1answer
132 views

What is chmod 6050 good for

Recently I came across to command: chmod -R 6050 /usr/lib/hadoop-yarn/bin/container-executor I don't know what that mean? I know file permissions like 777 etc. in a mode rwx for owner group others. ...
2
votes
1answer
2k views

Allow all users can write files/folders of user “apache”?

I run Apache 2.2.15 on CentOS 6.4 When a web local run a function and it created files/folders owned by user "apache". I can read these files/folders via samba but i can't write/delete them. I've ...
0
votes
3answers
44 views

Is it possible to create a file with the privileges of other users?

I am a user of the root account on the server named A. And I also own the accounts of user1 and user2. When I create a file or directory in the account of user1, I want the owner of the file to be ...
0
votes
2answers
59 views

How can I give a permssion to all users for a path using the octal notation?

I'd like to give execute permissions on a path recursively so I can read a file in the directory. The chmod binary that I'm using on Android only supports the octal/numeric notation though. Normally ...
2
votes
2answers
70 views

Should my /usr/local/bin be 700 permissions?

I just installed npm and node.js, and I couldn't access npm. And I'm like "why?" and my OS is like "because /usr/local/bin is at 700 permissions" and I'm like "should it really be that way?" ...
2
votes
0answers
822 views

CentOS 6.5 sound permissions

I am trying to configure ALSA for a CentOS 6.5 minimal install, my problem is non-root users do not have permission to access the sound devices in /dev/snd because the files are missing access control ...
2
votes
2answers
69 views

Why can users delete each others files in this case

I have two users : bob and sally, who resepctively own two files : bob100 and sally100: > ls -altrh /path/to/dir : -rw-r--r--. 1 bob test 0 Jan 7 12:59 bob100 -rw-r--r--. 1 sally test 0 ...
0
votes
0answers
44 views

Unable to write to hdd formatted in anything other ext2,3,4

I am unable to write to my HDD mounted on Ubuntu server 12.04 that are formatted to NTFS or FAT32. However when I format to EXT and Mount as auto its able to write. I tried chmod and chown but the ...
2
votes
1answer
140 views

Allow file manipulation but block folder/subfolder manipulation?

I have an Ubuntu file server (samba) sharing a folder structure with a Windows 7 computer classroom. All users use the same user/pass to access the folders and have read/write permissions. I would ...
2
votes
1answer
780 views

permission denied on scripts in ~/bin

I set some additional locations to the PATH environment variable in my ~/.bashrc so that these are included/sourced in logins and non-interactive scripts that are scheduled with cron. I've noticed ...
1
vote
3answers
235 views

How can I move a file to another user's directory?

I'm using CentOS 6 and I'm trying to move a file from USER A to USER B but I keep getting permission denied. What do I need to edit to allow to me to put files from one user's directory into ...
0
votes
1answer
54 views

Permissions not extended to user in minecraft group [duplicate]

I have a directory, under /srv: drwxrwxr-x 3 minecraft minecraft 4096 Dec 30 06:23 minecraft Owned by user minecraft, group minecraft. Group has read/write/search permissions. I have a user, ...
2
votes
2answers
87 views

Configure external HDD for use with multiple linux PCs

I've got an external drive, and I'd like to have a linux partition on it. I formatted everything correctly on one machine with Fedora20 (I have one ntfs and one ext4 partition), but when I plug it in ...
3
votes
1answer
727 views

permission denied for ptrace under GDB

I initially posted this question on StackOverflow, as a GDB problem. I didn't find a solution there, but they did help me find that it's a permissions problem, so I'm posting it here. I have set a ...
1
vote
1answer
716 views

Linux empty buffer cache command permission denied

I'm using the following commands to flush cache: # sync; echo 3 > /proc/sys/vm/drop_caches # sync; echo 2 > /proc/sys/vm/drop_caches # sync; echo 1 > /proc/sys/vm/drop_caches When I use ...
0
votes
1answer
149 views

Why can my gentoo systemd installation only execute files as root?

If I try to login as any other user, via su it says 'permission denied'. If I use su -l it says 'canot cd to /home/<user>'. Logging in via the tty just kicks anyone without a message out except ...
3
votes
1answer
258 views

How to properly setup user/groups/permissions for a web server?

I spent all day figuring this out, but without success, so hopefully I can get some help here: I have Ubuntu 13.10 VPS server with nginx, PHP 5 and MariaDB installed. I created custom system user ...
0
votes
1answer
107 views

SFTP Modification time Permission denied when touching/updating files

The file is apache:apache 660 and username is jdoe and he belongs to groups jdoe and apache. He SFTPs into the server with WinSCP but when he goes to perform an edit which includes a set modtime ...
2
votes
2answers
329 views

Is a -rw-rw-rw- file really inaccessible inside a drwxrwx— directory?

Say I have a directory with these permissions: drwxrwx--- Inside this directory, a file with these permissions: -rw-rw-rw- Is the file readable/writable by everyone or not ? If not, how secure ...
1
vote
1answer
98 views

udev GROUP and MODE assignments on symbolic link have no effect

I'm trying to connect my velleman k8055 board per usb to my pc. For this I have the udev rule SUBSYSTEM !="usb_device", ACTION !="add", GOTO="velleman_rules_end" ATTRS{idVendor}=="10cf", ...
6
votes
1answer
2k views

What does the “@” (at) symbol mean on OSX ls? [duplicate]

When I check permission of less files from the command line on my Snow Leopard OSX system using Bash I see -rw-r--r--@ for certain files and for others I just see -rw-r--r-- What does the @ mean here? ...
0
votes
1answer
2k views

Granting all users access to mounted CIFS shares

I'm trying to set up a debian server that will run several network-based services. These services need access to an external network drive to store their data. For security reasons, I have set up each ...
2
votes
1answer
72 views

How to mv and adopt target directory permissions

How do I move a file such that the file adopts the target directory permissions? Surely this is an incredibly common scenario.... any help appreciated.
2
votes
0answers
62 views

NFS mount edits on local NFS-exported filesystem change permissions on the remote NFS mount

I believe there is a noperm or something to that effect option in NFS, but how do I make sure that if server A is exporting /opt/nfs and it is mounted as an NFS mount on server b /export/serverA that ...
1
vote
1answer
229 views

Granting permission for all users in a group to write to a directory and all its subdirectories

Trying out Linode for the first time, running an Arch Linux image, I successfully installed nginx as root. This, however, made /usr/share/nginx/html inaccessible to non-root users. Intuitively, I ...
0
votes
3answers
44 views

How do I allow rwx access to a specific group with ACLs?

How do I grant read, write and execute to specific group? What I did: adduser test addgroup developer setfacl -m g:developer:rwx /opt/spago41/ When I login as test I can't run: startup.sh in ...
1
vote
2answers
166 views

How to modify the permission of jar file exactly same as other machine jar file? [duplicate]

I have two machines, In my machineA I have a jar file with these permissions - -rwxr-xr-x 1 cronus app 16758150 2013-03-19 13:35 exhibitor-1.5.1-jar-with-dependencies.jar In my another machineB, I ...
0
votes
3answers
265 views

noexec on /tmp and /var/tmp directory

Our client servers are running old version of jboss (Jboss 4.0) which has lots of known vulnerabilities. Result is that the server is hacked and we are seeing some unknown executables running from ...