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
1answer
35 views

Centos, uploaded files from application have different owner and group [duplicate]

I have an application that uploads a file via SFTP using sftpuser. Once the file is uploaded the owner and group is user1:user1. The owner of the parent directory is apache:apache. I can not figure ...
0
votes
2answers
45 views

Booted from NFS Linux has no permission for su command

I've booted Linux from NFS with Android system. And now I have to execute command as super use in minicom. But system doesn't allow me to switch to super user mode. Every time when I type: shell@...
0
votes
2answers
55 views

Linux Debian Jessie sudo command keeps asking for password

I have recently configured a Symfony 3 site which involved me to set up some permissions on the /var folder. I had to do the following: $ HTTPDUSER=`ps axo user,comm | grep -E '[a]pache|[h]ttpd|[_]...
0
votes
0answers
22 views

How to store dconf from VirtualBox in a host Windows folder?

I'm running Win10 as the host system, & Ubuntu inside a VirtaulBox. I'm trying to migrate my ~/.config folder from inside the VM, to sit on the host system (I mapped my Dropbox folder as a ...
0
votes
1answer
44 views

Gain back permissions to run commands on DigitalOcean Ubuntu

I accidentally ran "sudo chmod o-x /" on a remote Ubuntu system (with DigitalOcean). Now, no commands can be run on the server at all (so login doesn't work). How do you fix this?
1
vote
0answers
19 views

Dbus: Terminate not working on other user

I'm new with dbus(Using Ubuntu 14.04, Unity). So I'm logged with user A, create process as user B and that process creates session for user B, now I want to use dbus messages to shut down session from ...
0
votes
2answers
22 views

Can I change the permissions of files that root has read only access to?

A few days ago I made the switch from Debian to Arch. When I did that, I backed up my files to an external harddrive. I've moved the contents of that backup to my normal harddrive. Now I'd like to ...
0
votes
0answers
27 views

Another El Capitan permissions issue

Been to the depths of the web trying to repair my Mac HD and Home folder permissions. I would like to get back to default setup without losing user data. Any and all help is appreciated. Can't run ...
1
vote
2answers
25 views

When gitlab says make a file executable what exactly do they mean?

Gitlab says "Make the hook file executable and make sure it's owned by git" , but I read here that a file can be executable by owner, group, world. So which one do they mean? Right now I am ...
0
votes
1answer
32 views

Cannot override default group permissions with ACL

I've set this ACL on a directory: root@<server_ip>:/srv/www# getfacl example.com/ # file: example.com/ # owner: web # group: www-data user::rwx group::r-x other::r-x default:user::rwx default:...
0
votes
1answer
100 views

Difference between sudo user and root user [closed]

The /etc/sudoers file lists which users can do what with the sudo command The root user creates and modifies the /etc/sudoers file. This concept is difficult for me to understand. If all users ...
44
votes
8answers
4k views

Why does Bash's source not need the execution bit?

with Bash's source it is possible to execute a script without execution bit set. This is documented and expected behavoir, but isn't this against the use of an execution bit? I know, that source ...
3
votes
1answer
500 views

Changed owner of /etc folder, can't use sudo anymore

I changed owner of /etc folder by accident when I was doing work on web server and now owner of /etc folder and all of its subdirectories is www-data. I can't use sudo anymore for anything and in ...
3
votes
1answer
71 views

Read only permission to sftp user in specific directory

I want to create specific SFTP user which will have permissions to only read all folders and subfolders in /var/www/vhosts. Any help on this ?
0
votes
1answer
36 views

Cannot change directory at /home as root user (Permission denied) [closed]

I am using GNUroot debian ( an android app ) and after many attempts to connect with ssh to my server I now have no access with cd at my /home folder as a root user. I can run ls /home but I cannot ...
1
vote
3answers
85 views

What does the argument “ +x ” means in Unix? (Regarding permissions)? [duplicate]

I use Ubuntu and someone advised me to change permissions to a file with sudo chmod " +x ". It is not clear to me if +x means to change permissions to something very general as 777 or 775, or ...
1
vote
1answer
50 views

Executables in /usr/bin not showing for permissioned users [closed]

I installed xvfb-run using yum under root, and I can see the executable in /usr/bin with the permissions -rwxr-xr-x. When I login under a different usr which falls into the 'other' permissions, the ...
4
votes
2answers
495 views

Why does 'cat useradd' succeed in this case?

I have a fresh installation of CentOS. I created a user and added it to wheel group (to add it to sudoers list). I logged in with the credentials of new user. I then run the command cat useradd. ...
1
vote
1answer
27 views

Folder Permissions Issue

I am currently having a strange issue and it doesn't really match anything I have found here so I am hoping someone can shed some light on my issue for me. I am currently running an Ubuntu 14 linux ...
1
vote
1answer
25 views

Use SELinux to restrict a directory to a particular user

I have a couple of questions: (Sysadmins tasks) Here is what I asked to do Create user Tim and add him to the supplementary group Webdev (Create the group if it doesn't exist), also Set Tim's ...
2
votes
1answer
32 views

ACL and plain old permissions

I have read a bunch of articles, but still cannot get an idea of ACL, so I have following questions. What are benefits of using ACL over old permissions (0777 for example) and changing file owner,...
0
votes
0answers
27 views

Make mounting a disk ask (udisks2) for current users password instead of superuser. [Debian 8 XFCE]

I plugged in a 1TB external drive and created a partition on it which covers the whole disk. When mounting this partition with Thunar, it asks me for the user I made during the installs password (not ...
0
votes
1answer
69 views

Failed to start PostgreSQL 9.5 with systemctl - SELinux

I've installed PG 9.5 (/usr/pgsql-9.5/) and when I start it manually with postgres -D it has no problems, but if I try to use systemctl I get an error. By looking to journalctl -xen output, I see: /...
3
votes
0answers
45 views

fstab doens't read mode value

Following this guide: I set my /etc/fstab file in this way: proc /proc proc defaults 0 0 /dev/mmcblk0p1 /boot vfat defaults,ro 0 ...
1
vote
0answers
23 views

How do I run a supervisor command in a Eclipse PyDev project without being asked for a password?

So I've got the following code that should check whether an npm package is installed: def is_installed(name, as_global=True): # Returns whether NPM package is installed. s = shell(...
1
vote
0answers
37 views

How to set folder permission with + at the end?

I'm trying to mount a network shared device in a linux box. I get permission issue but it was mounted properly in another linux server. The only difference on the server it works has a + permission at ...
3
votes
1answer
130 views

set umask for sshfs-mounted filesystem

I have a remote sshfs filesystem mounted on /mnt/data. Following is the relevant line in /etc/fstab: www-data@192.168.1.10:/var/www/ /mnt/data fuse.sshfs rw,noauto,nodev,nosuid,noexec,_netdev,...
0
votes
0answers
18 views

SAMBA Share Not ReadWrite

I've set up a folder (on srv005) /mnt/local/data owned by msc:msc_group. drwxr-xr-x 4 msc msc_group 4096 Jun 9 22:33 data I've set up SAMBA with the following share options: [srv005_data] comment ...
3
votes
2answers
64 views

setgid sticky bit not working

I have yet another frustrating problem. I have a group of users belonging to the "testing" group. I have a folder located at /var/log/projects with the setgid bit set. This is so any new files or ...
1
vote
0answers
20 views

Is there any way I can track down what is removing the executable flag from a file?

I have a set of git hooks that constantly have their executable flag removed. I'm utterly at a loss for what might be doing it, but so far the only thing I've found that can even mitigate the problem ...
0
votes
1answer
35 views

pppd: using the noauth option requires root privilege

I have a user username who is member of group dip. I'm trying to run /usr/sbin/pppd, which is mode -rwsr-xr--, owner root, group dip, as user username. However, I get the error message: /usr/sbin/pppd:...
2
votes
2answers
43 views

Can't create a file through symbolic link

I have a directory that goes like this: drwxrwxrwx 6 www-data www-data 4096 Jun 8 10:21 ./ drwxr-xr-x 31 user1 user1 4096 Jun 8 10:40 ../ lrwxrwxrwx 1 www-data www-data ...
1
vote
1answer
32 views

Can I replace a directory with a symlink without write permissions in parent?

I would like to replace a directory with a symlink. For the directory itself I have full permissions (rwx), but for the parent directory I don't have write permissions (r-x). Is this possible? The ...
1
vote
1answer
41 views

Using 606 file permissions in /etc/cron.d. (root) BAD FILE MODE)

I have a file in /etc/cron.d with 606 permissions to be run by root. The intention is to provide read & write access to 'others' via 606 to allow a script to modify the file. Cron does not ...
1
vote
3answers
82 views

How to delete unknown file that doesn't have proper permissions

My co-worker sent me a theme in a tar.gz file and I tried unzipping it using the archive manager GUI as I usually do for any kind of zipped file. However, it produced a corrupt file/directory that I ...
0
votes
0answers
41 views

scp file to remote server prevent delete

A team want to implement a crude file dump backup solution to be used by multiple hosts. They have a remote user on the backup server backupusr that they can SSH/SCP with, with SSH keys setup. The ...
0
votes
1answer
32 views

How to I allow direct write access to a directory under /home/username?

For some reason after reinstalling Debian 8 (LVM encrypted) I need to sudo for any writing command in certain directories of /home/manuel/ directory (not even all of them!). I tried chmod a=awx [-R] ...
2
votes
1answer
42 views

Can directories and file inherit same permissions as parent directory?

I want all directories and files to inherit same permissions as parent directory.
2
votes
1answer
54 views

Unprivileged ping6 not working

I am trying to get my CentOS v7 server to run IPv6. Root works, it can ping using "ping6 ipv6.google.com", and ifconfig looks great; I see the lines: eth0: flags=4163<UP,BROADCAST,RUNNING,...
1
vote
2answers
27 views

Adding others rw permission to file

I have list of file with permission -rw-r-----. I want modify this permission and give access to other. i.e -rw-r--rw- Without modifying current permission setting, just add permission to 'other' ...
4
votes
3answers
366 views

Why doesn't umask change execute permissions on files? [duplicate]

If I change the umask to 0000, I'd expect a text file to be created with rwxrwxrwx permissions (based on my understanding of the umask, as described in the "possible duplicate" question) However, when ...
2
votes
5answers
75 views

Move directory (with contents) to another user's home directory (without sudo)?

I have a directory that I want to move (with its contents, recursively) to another's user home directory. I don't have permissions to write to that user's home directory, but I know his password. I ...
1
vote
1answer
52 views

Root cannot remove file on ext4

I have on ext4 disc the following file: -r--r--r-- 1 root root 61440 20. pro 15.30 ldlinux.sys But rm, chmod and mv says permission denied even for root. Any ideas what could be the problem? FYI, ...
1
vote
1answer
16 views

Permissions to allow files to be written, but not read, overwritten or modified

I'm setting up a file share for a small group (CIFS/samba on FreeNAS, so the base system is FreeBSD/ZFS using ACLs). I want to allow users to put stuff into a folder on the share - but not to be ...
4
votes
1answer
48 views

How can I tweak unix settings for 360 Spatial Workstation (specifically the vst and aax audio plugins) to make it run as a non-administrator?

There are free vst and aax (Pro Tools) plugins installed as part of 360 Spatial Workstation. These are greyed-out (as if requiring a license), or invisible (VSTs e.g. in Ableton Live). If you login ...
0
votes
1answer
51 views

Finding out a directory's previous permissions

I have root access in my Linux environment. I have a directory 'officestaff'; this directory permissions were changed to 775 and the modification date changed. How can I know the previous permissions ...
0
votes
1answer
39 views

How do I edit sudoers file in fedora? [duplicate]

I have just started a new fedora build. I just got things going, and was about to install tmux, and was hit with the message... Error: This command has to be run under the root user Ok. I attempt ...
0
votes
1answer
43 views

To wget as New User without sudo in Raspbian

I have a new user masi in Raspbian Jessie. I want that it has access to /usr/bin/ etc wget. I did sudo adduser masi sudo visudo root ALL=(ALL:ALL) ALL masi ALL= NOPASSWD: ALL % ...
4
votes
1answer
83 views

Permission problem with cp/mv and nfs

I have a drive with ntfs mounted on one computer and made available to a second computer using NFS. On the second computer I'm able to read and write to this drive but with a catch; cp will create a ...
2
votes
1answer
60 views

Stop user from deleting file in directory

This is the scenario There is one directory /test which is owned by oracle.dba I created new user TEST who will have permission to create NEW files but it should not be able to delete the files he/...