Questions tagged [acl]

An access control list (ACL) is a list attached to a file or other resource, specifying what may be done with it and who may do it.

An ACL specifies which users or system processes are granted access to objects, as well as what operations are allowed on given objects. Each entry in a typical ACL specifies a subject and an operation.

Source: Wikipedia, Access control list

86 questions
14
votes
8 answers

Can't mount any partitions - ACL error

I've install Ubuntu 12.10 and now I can't mount any partitions. I get the same error with drives: Adding read ACL for uid 1000 to /media/proach failed: Operation not supported
9
votes
2 answers

Activate ACL for zfs pool ubuntu 13.04

i have tested ACL on local folders and i works perfect. But on my zfs pool called "tank" root@datacenter:/mnt# ls datatank test webmin_1.650_all.deb root@datacenter:/mnt# setfacl -m u:casper:rwx datatank setfacl: datatank: Operation not…
8
votes
1 answer

Preserve ACLs with rsync

Sorry, but I can find no solution to this apparent simple problem searching online and this forum. I have a simple need: copy a directory and its contents to another local location, preserving ACLs and xAttr. This should be quite straight forward…
8
votes
2 answers

Any way to force files to inherit owner permissions from parent directory?

Is there any way to force a file, created within a directory, to inherit ownership from the parent directory? I tried the sticky bit, but that doesn't seem to work. Example of what I'm looking for: drwxrwxr-x www-data somegroup parentdir When…
7
votes
1 answer

Allow a LXC container user to write as an external user to a mounted directory

Apologies for the title, the setup is actually quite simple. I have a host with a user called oli and a directory called /media/steve/incoming that oli can read-write-execute in. Within that I have a privileged LXC container running under root.…
Oli
  • 299,380
7
votes
1 answer

Grant permission for new created files inside folder automatically

I have a folder which permission is set to 777 but when I add any files or folder unziping in that folder. Extracted files or folder permission never change. Destination folder permission is 777 and I want what I will add in that folder will…
Ibrahim
  • 135
6
votes
1 answer

Why can't I delete or move these files without sudo?

I had used file-roller to extract an ISO image to my Desktop earlier, but now I can not delete or move/rename those files any more "as myself", only with sudo. Changing permissions (chmod) or content is possible…
Byte Commander
  • 110,243
5
votes
2 answers

Package "acl" on Ubuntu 16.04

I am reading this Digital Ocean tutorial. In step 1, it says: We'll need [...] acl to set the right directory permissions when installing the application I wanted to check if acl is already installed: $ dpkg -s acl dpkg-query: package 'acl' is…
nyluje
  • 339
  • 1
  • 5
  • 12
5
votes
1 answer

Does enabling ACLs have an effect on performance?

I'm looking at a web application that needs ACLs enabled. Are there any benchmarks or other documents to show what potential impact ACL does{n't} have when the file system is under heavy load? Also, does it matter what filesystem you use with ACLs?
Bryan Agee
  • 3,376
5
votes
2 answers

How to grant non-root user access only to /var/log directory

I have newly created non-root(normal) user and want to grant access only to /var/log directory so that the user can view and monitor the logs. The user should not be able to cd/ls or access the /etc directory and do anything else apart from viewing…
most2
  • 51
4
votes
1 answer

How to allow users to create and delete file(s) / folder(s), but not modify them?

I have created a group name "app-data" and a folder /db-data/archived-data/ I want members of app-data to have all rights on /db-data/ folder but I want the same group users have only create and delete access on /db-data/archived-data/ folder (users…
Hrish
  • 2,399
4
votes
1 answer

acl can't be installed on ubuntu server

setfacl/getfacl commands not running on my server, it says: The program 'setfacl' is currently not installed. You can install it by typing: sudo apt-get install acl when i tried to install it, it says: sudo apt-get install acl Reading package…
4
votes
4 answers

Set umask, set permissions, and set ACL, but SAMBA isn't using those?

I'm running on Ubuntu Server 12.04. I have a folder called Music and I want the default folder permissions to be 775 and the default file to then be 664. I set the default permissions on the Music folder to be 775. I configured ACL to use these…
Kris Anderson
  • 321
  • 2
  • 3
  • 9
4
votes
1 answer

How to use setfacl for adding the same permission

I found the setfacl from this link: https://stackoverflow.com/questions/39397548/how-to-give-non-root-user-in-docker-container-access-to-a-volume-mounted-on-the sudo setfacl -m u:$(id -u):rwx -R /some/folder But it will set all file permissions…
stackbiz
  • 495
4
votes
1 answer

Discrepancy with the output of `ls -al` and `getfacl`

I have run the following script to set permissions into /etc/nginx #!/usr/bin/env bash sudo chown -R root:root /etc/nginx sudo chmod -R 0750 /etc/nginx sudo setfacl -Rbk -m g:baa:rwx /etc/nginx sudo setfacl -R --mask -m g:www-data:rx…
Baa
  • 3,750
1
2 3 4 5 6