ACL stands for access control list. ACLs extend permissions on files beyond the traditional user-group-others triple.

learn more… | top users | synonyms (1)

0
votes
1answer
30 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:...
2
votes
0answers
190 views

How do I recursively apply default ACLs of a directory to its descendants?

If I have a directory with default ACL entries assigned to it, but some or all of its descendant files and sub-directories have access or default ACLs that do not agree with those defaults, how do I ...
2
votes
2answers
2k views

Why do files created via Samba get different ACL (mask) permissions depending on the client OS?

I tested this on a clean install of Debian Jessie, but I also have this problem on other machines (ex: Ubuntu 12.04). In addition to the base install, I installed sudo, samba, and cifs-utils. Shared ...
1
vote
1answer
25 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
0answers
6 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 ...
2
votes
1answer
24 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,...
1
vote
0answers
67 views

Copying files to a directory shared via ACL doesn't get default mask

I'm trying to setup a simple shared directory on an ext4 filesystem for a group of users to work on. Let's say I just need to give all permissions to all users belonging to the group "workgroup" to ...
3
votes
2answers
45 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 ...
0
votes
0answers
31 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 ...
2
votes
1answer
38 views

Can directories and file inherit same permissions as parent directory?

I want all directories and files to inherit same permissions as parent directory.
5
votes
0answers
48 views

Why group-writable file works “unidirectionally”?

Users vi and rust share group rust and want to use some file in shared manner. rust$ ls -l myfile -rw-rw-r-- 1 vi rust 0 May 30 03:48 myfile rust$ stat myfile | grep Gid Access: (0664/-rw-rw-r--) ...
1
vote
1answer
28 views

rsync fails/hangs when copying from a Linux ext4 to a FreeBSD ZFS (via SSH)

When I try to copy directories from an ext4 on Linux to a ZFS on FreeBSD (via SSH), rsync immediately fails without copying anything: # rsync -haxHAX /mnt/source/ root@lethe:/mnt/dest/ -vvv opening ...
4
votes
0answers
35 views

Git with multiple users on other systems using setfacl?

I'm setting up a git environment where multiple developers will work with per project. We have 1 server running git, and 2 seperate servers, 1 live and 1 dev. on dev I created a group and added the ...
-1
votes
1answer
31 views

Extended permissions - after set acl, group cannot write [closed]

I want to use setfacl to set permissions to dir for the users group. I do something like this: mkdir /Employee chgrp employeers /Employee setfacl -m d:g::rwx /Employee And now, when I try to create ...
4
votes
2answers
49 views

Is it possible to create a “negative” ACL?

Is it possible to create an ACL to deny access to a specific user (say jdoe) to a specific file? I'm not interested in the trivial solution of an ACL that gives access to the file to all users except ...
3
votes
1answer
1k views

How to find files/directories with specific ACL

How to do something like find . -acl u:jim:rx find . -acl u:*:r find . -noacl u:jim:r etc. I know that the find command does not support this but, you have the idea. Are there any scripts, even ...
1
vote
0answers
41 views

setfacl fails on files created by Apache

I have a directory owned by my user vagrant. The webserver (and web application) run as www-data. Both users need to create and modify directories and files in this directory, regardless of who ...
3
votes
1answer
46 views

ACL not working on directories

For some reason when I create new file from Windows I can change the permissions just fine but when I create a folder it won't let me change the permissions, I get this error: A device attached to ...
1
vote
3answers
76 views

Predefined group ids across Linux distros?

In order to successfully implement w/r access via ACL for external storage with ext4 fs I need to assign default group id for files on storage. LSB_5.0.0 say: This specification makes no attempt to ...
0
votes
0answers
43 views

SOLVED - OpenVZ acl support for Samba

Setting up Samba-4.3.5 as AD domain fileserver in OpenVZ container, running in ProxMox (pve-manager/3.4-6/102d4547 running kernel: 2.6.32-39-pve). Hardware node has enabled acl support for /var/lib/vz....
1
vote
1answer
48 views

How to give write / create right to not yet existing files w/o write access of the parent directory?

I don't know if this is even possible so I need to ask. I'd like to allow a single file to be created by a user (a flag-file) but only that file should be able to be created. As I have the parent ...
1
vote
0answers
19 views

Inheriting permissions with ACLS

I've trying to set up a CVS repository using ACL's (setfacl) and having trouble getting permissions to inherit properly. Namely, when a user commits to the repository, I want the file to inherit the ...
0
votes
0answers
39 views

Samba4 AD privilege problem

I mounted NFS share to debian. Below following fstab record: //192.168.14.24/estimating /srv/samba/WDEstimating cifs credentials=/root/.oakservercredentials,iocharset=utf8,file_mode=0777,dir_mode=...
1
vote
0answers
11 views

Example of situation where ACL unaware tools would grant unintended permssions

This document about File ACLs makes mention that the masking mechanism was put in place to solve the problem of ... POSIX.1 applications that are unaware of ACLs will not suddenly and ...
6
votes
1answer
2k views

What relationships do tie ACL mask and standard group permission on a file?

At first I create a file and check it's standard permissions and ACL entries: $ touch file; ls -l file; getfacl file -rw-r--r-- 1 user user 0 Jul 30 16:26 file # file: file # owner: user # group: ...
1
vote
0answers
50 views

make ACL to work perfectly

I know there are plenty of questions and answers about ACL and permissions, but to be honest they are so weak to make any coherent understanding! it's just like a mix of unorganized information. Hope ...
2
votes
0answers
52 views

Permissions (ACL) to allow creation of new files only - are extended attributes also needed?

I want to use a directory as a sort of drop-off point, similar to the Public folder in each Mac OS X home directory, that is: certain users (or everyone) should be able to create new files inside this ...
7
votes
3answers
24k views

How do I set permissions recursively on a dir (with ACL enabled)?

For example, I want to give my colleagues write access to certain directory. Let's assume that subdirectories in it had access rights 775, files 664, and also there were some executable files in the ...
11
votes
3answers
4k views

What roles do DAC (file permissions), ACL and MAC (SELinux) play in Linux file security?

I need some clarification/confirmation/elaboration on the different roles DAC, ACL and MAC play in Linux file security. After some research from the documentation, this is my understanding of the ...
0
votes
1answer
66 views

Access from multiple users to same directory but can't change directory group to a common one

I need to give full access to user1 and user2 to this directory: drwxr-xr-- 3 oracle dba 4096 feb 9 23:16 scripts I can't change directoy group because probably that group is needed for other ...
2
votes
0answers
24 views

How do I specify a relative change to ACL of current user/group?

I have a directory that already might have some subdirectory configured rwx for www-data, but I want to make a final pass and ensure www-data has a full read access on the full directory. All these ...
3
votes
2answers
126 views

facl ignoring the “x” permission but only on files

When I use setfacl to manage on what permissions should the children files / directories have, for some reason the files have all the permissions except the execute ("x") one. someuser@someuser-MS-...
1
vote
1answer
75 views

Does “defaults” option include “acl” option in /etc/fstab?

I'm working with ACLs on CentOS 7 and noticed that the partition (/) where ACLs are applied is mounted with defaults options. As far as I know ACLs need that the acl option is enabled in the mount, ...
2
votes
2answers
46 views

how to restrict a user to access the file

I have created a file which resides inside my directory on a unix server. People have sudo privileges. How can I restrict them to read that file (even when they have sudo previleges) ?
5
votes
3answers
2k views

Precedence of user and group owner in file permissions

I just ran into something unexpected (for me) regarding file permissions on Linux (Arch Linux). Basically I have: userX in groupX fileX userX:groupX ---rwx---- What puzzles me: I cannot perform ...
1
vote
2answers
87 views

How to Backup and Compare File Permissions?

Is there a way you can setup a list of receipts of folders and directories of their correct default permissions that can be used as a backup to compare the correct permissions and be used to fix ...
5
votes
1answer
126 views

Why does default setfacl fail for nested directories?

I am using sftp with the internal-sftp for debian. What I'm trying to acomplish is to jail all users to a specific folder which is working fine. I also need to have a single user that has "admin" ...
3
votes
1answer
122 views

Are there more advanced filesystem ACLs beyond traditional 'rwx' and POSIX ACL?

Are there any simple and integrated (i.e. embedded into filesystem) ACL patches for Linux kernel exist at all? The problem is simple: I need something more flexible and advanced beyond classic 'rwx' ...
1
vote
0answers
58 views

When using linux acl mkdir and mkdir -p do different things

I have a directory bar: # file: bar/ # owner: root # group: root user::rwx user:little-jonny:rwx group::r-x mask::rwx other::r-x default:user::rwx default:user:little-jonny:rwx default:group::r-x ...
-1
votes
1answer
63 views

Allowed group can't access a folder [closed]

I've a weird problem on my linux machine, I've multiple users, we can say u1, u2, u3... who all belong to a group G. I have a group folder in /home who belong to one of these user (we'll say u1), and ...
0
votes
1answer
41 views

apache httpd ACLs not working

What is the issue with the rule below <Directory /data/share/web/marketing/jacaranda> #AllowOverride All <Files "wp-login.php"> Order Deny,Allow Deny from all ...
2
votes
1answer
50 views

ACL group permission still not allowing write permissions

There's a file called '/etc/file.conf' on my filesystem. $ getfacl /etc/file.conf getfacl: Removing leading '/' from absolute path names # file: etc/file.conf # owner: root # group: root user::rw- ...
16
votes
4answers
41k views

How to determine if NFS mount is mounted as v3 or v4?

Red Hat 5/6 when I do mount it says type nfs, I would like to know how to determine version if it isn't listed in mount options or fstab. Please don't say remount it with the version option, I want ...
3
votes
3answers
874 views

How do I know ACLs are supported on my file system?

Is it enough to see getfacl giving no error, or do I have to check some other place to see whether or not ACLs are supported by the file systems?
3
votes
2answers
207 views

SFTP clients uploading files with too restrictive rights

I have the following setup: Ubuntu 14.4 server offering SFTP service in a front-end area. External clients have the ability to upload files. A back-end process (on another server) tracks uploaded ...
4
votes
1answer
126 views

OSX/Darwin ACL Format

In OS X, if you want to view the ACL information on a file, you can do so with the -e option of `ls. $ ls -lde app/cache drwxrwxr-x+ 7 alanstorm staff 238 Apr 1 10:02 app/cache 0: user:alanstorm ...
3
votes
2answers
227 views

ACLs and classic permissions

I'm trying to set up a git server on my FreeNAS server. The problem I have is with setting up the permissions for different users/groups just as I want. Basically I have two different groups: git-...
2
votes
0answers
71 views

What is the effect of ACLs/umask on the permissions of the executable file generated by gcc?

I have been wondering how gcc determines the resulting file permissions of the executable file being generated. To gain some insight, I considered a minimalistic program test.c #include <fcntl.h&...
1
vote
0answers
82 views

How to set ACL on a USB-device

I'm new to acl's so this is blackmagic to me. But what I have is a camera that I want to talk to. So I got a netbooted debian machine: ulf@term13:~(0)$ lsb_release -a No LSB modules are available. ...
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 ...