Episode #125 of the Stack Overflow podcast is here. We talk Tilde Club and mechanical keyboards. Listen now

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.

Filter by
Sorted by
Tagged with
0
votes
0answers
22 views

Problem with file permissions (+ at the end of permissions)

I have changed Samba mask permissions on my Raspberry and now the files have a "+" at the end of the permissions list. The problem is that now the permissions system does not work as usual, I have ...
-1
votes
0answers
42 views

CMD Prompt Windows 10 File Directory Permissions [on hold]

im wondering if anybody could help me with a command im wanting to run. i currently have several "archive" folders under multiple client parent companies. The structure is as follows - Current Client ...
2
votes
0answers
59 views

How to unify two sets of permissions/ownership on a folder?

I have a VirtualBox VM running Ubuntu 16.04 LTS. VirtualBox is able to share a folder with my host. It configures its permissions as follows: $ stat /home/tiqvah/cam File: /home/tiqvah/cam Size:...
1
vote
0answers
59 views

SETFACL to not go out of /home

So I've been testing ACL's in Linux and they work as intended. I have, for example, this folder where I've stablished permissions for users belonging to the gruop share. So far, so good... lucas@...
1
vote
0answers
58 views

Can't set acl recursively in Ubuntu 18.04

I'm trying to use acl to be able to modify files without changing ownership of the files, but acl is throwing an error (I'm guessing it's my syntax). This is on a new server running Ubuntu 18.04. I'...
3
votes
2answers
90 views

Default folder/file created ACL permissions not correct

I have applied the following settings to my core html folder: chown :ftpaccess html -R chmod 0775 html -R setfacl -R -d -m group:ftpaccess:rwx html However whenever anyone creates a new file or ...
0
votes
2answers
859 views

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 ...
0
votes
0answers
44 views

Trying to set up Samba with ACL's

I am currently trying to follow the official samba docs on how to set up a samba server with windows acl's. It always fails at the point where I need to grant the disk privileges to a group thanks to ...
1
vote
1answer
19 views

Execute Bit For Folders But Not Files

I have a folder called Movies with sub-folders called Movie1, Movie2 etc, and then the movie inside of that sub-directory. Example below: Movies: Movie1 film.whatever1 Movie2 film....
1
vote
0answers
36 views

ACLs Permission denied

Assume this is the permission I set to file.sh $ getfacl file.sh # file: file.sh # owner: ubuntu # group: ubuntu user::rwx user:test:r-x #effective:--x group::r-x #effective:--x ...
0
votes
1answer
572 views

How can I disable ACL on ext4 filesystem? [duplicate]

I'd like to disable ACL in /etc/fstab when mount. How can I do that?
0
votes
0answers
91 views

getfacl returns rwx, but I have a “permission denied” when trying to access the said folder

I'm trying to execute a script from Server A with user "vbackup" to copy some files from server B to server A. On server A, I did setfacl -Rdm user:vbackup:rwx /var/atlassian/ On server B, I run ...
1
vote
0answers
59 views

How to make folders invisible to certain users

I use a Samba share pointing to a directory with all my files. As several users access the same share and I don't want every user accessing every folder, I use ACL to restrict them. Is there any way ...
1
vote
0answers
46 views

Setting default permissions for all new dirs/files in a dir and its subdirs, no matter who creates them

I have a directory, and I want all directories created in this directory, or its sub dirs, to be 777 and all files created in it or any of its subdirectories to be 666. It doesn't matter which user ...
0
votes
1answer
107 views

Trouble creating an accessible Samba share on a separate data partition

I am attempting to create a standalone Samba file server with user-level security for shared directories residing on a separate data partition. The problem is that some users cannot access shares on ...
2
votes
1answer
145 views

Is it possible to keep setgid bit when unzipping files as non-root user?

I have a folder with the following permissions: drwxrws--x+ 13 myuser www-data 4096 Mar 20 09:57 project-folder In this folder I have an archive archive.zip with the following permissions: -...
2
votes
1answer
302 views

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:hugo:rwx /etc/nginx ...
0
votes
1answer
386 views

How to make new directories inherit their parent's ACL?

I have set default permissions for new files and groups in my directory like this sudo setfacl -d -m g::rwX /<directory> It works great. The problem is, that if I create any new files or ...
0
votes
1answer
325 views

Website blocking issue in squid3 on ubuntu 12.04 [closed]

I am trying to block some websites on my ubuntu 12.04 with Squid 3.1.19. Following is a view of my ACL's.` Denying domains based on defind access list acl ym dstdomain .yahoo.com microsoft.com ...
0
votes
1answer
1k views

Set default ACL for new files and directories?

I have two users usera and userb and a folder Both to which I am trying to set the ACL so that both users can create, update, delete any file or folder within that folder Both. The problem is that if ...
1
vote
0answers
207 views

Give File Permission for modify in samba sharing but only owner can delete file

I need help regarding file permission in samba sharing, Is it possible to set an excel file in samba sharing (windows clients) can be modified by group but only can be deleted by owner? I did follow ...
2
votes
0answers
145 views

Access Control List when running script from crontab

hoping someone has come across this before, I am using ACLs to allow one user (user1) to write files into a location in another user's home directory (user2). For manual usage, this is working as ...
2
votes
1answer
567 views

Why does ls show wrong permissions for the group when using ACL?

I have the following script for setting permissions for the Joomla CMS directory: #!/bin/bash if [ ! -d "$1" ]; then echo "Error: Folder does not exist or no folder given." echo "" exit 1 fi # ...
0
votes
0answers
69 views

Safest file permissions for samba access

I have set a samba user (say, remoteuser) who is supposed to manipulate files under some system folders on the samba server (i.e. and not only his home directory's files), such as e.g. /etc/somedir) ...
0
votes
1answer
103 views

unable to write in a directory by ACL users granted with write permission

I have two directories /home/user1/htdocs/ /home/user2/htdocs/ I have provided permission to www-data using: chown -R www-data:www-data /home/user1/htdocs/ chmod -R 755 /home/user1/htdocs/ ...
4
votes
2answers
2k views

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 ...
1
vote
1answer
303 views

(Another!) question about www-data privileges and root - but with a twist

In short : is it safe to grant root (user) access to www-data? Longer statement : as a lot of questions asked on this using chmod g+s, POSIX ACLs and other sites umask as to the appropriate way of ...
0
votes
1answer
60 views

Block a user with acl

How can I block one user and grant access to another user using an ACL? I tried setfacl -Rdm u:maria: /home/elena but I think this is wrong. maria is one user and elena is another user.
1
vote
1answer
97 views

confused with shared folders and ACL

I have 2 ubuntu machines (ubuntu1 and ubuntu2). Ubuntu1 shares folder /opt/share and i've created testuser specifically to rwx: setfacl -Rm u:testuser:rwx . Ubuntu2 mounts it on /mnt/ubuntu1 mount -...
5
votes
1answer
906 views

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 ...
7
votes
1answer
12k views

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 ...
3
votes
1answer
9k views

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 ...
0
votes
1answer
103 views

Using ACL to control read and writes by specific groups

I'm new to ACL so I'm creating some demo folders, unfortunately it's not working as expected. The folder Triangle belongs to user pyramid in group triangle. The user Cube in group square needs ...
0
votes
1answer
569 views

Force permissions on directory for Netatalk

I'm working on Ubuntu Server 14.04 and I'm trying to set up an AFP share with Netatalk. So far so good aside from the privileges to the files inside the shared directories. I want to set up a system ...
6
votes
1answer
3k views

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 ...
1
vote
1answer
760 views

Samba 4 on ubuntu 14.04 broken with Posix ACL (2:4.1.6+dfsg-1ubuntu2.14.04.9)?

I have problems with a newly migrated BDC (2:4.1.6+dfsg-1ubuntu2.14.04.9) with POSIX ACL based permissions. I am unable to get it to work as the PDC, which fortunately still has a slightly older ...
2
votes
0answers
94 views

How do I override ACL permissions for single files or directories?

To share data (audio, video, pictures, documents) between all users on my desktop I created an ACL for a dedicated shared partition on my hard drive according to this answer which I mount at boot via ...
1
vote
0answers
198 views

Unable to install ACL

I am unable to install ACL on my Ubuntu 14.10 server (see output). david@server:/mnt/storagedata$ sudo apt-get install acl Reading package lists... Done Building dependency tree Reading state ...
1
vote
0answers
377 views

Squid3: acl proxy_auth not working in log_access

I'm trying to configure a Squid3 proxy server so that it doesn't log the requests made by authentificated users. I've tried the following config (squid.conf): acl Users proxy_auth REQUIRED log_access ...
2
votes
1answer
9k views

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 ...
0
votes
1answer
599 views

ACL permissions on Ubuntu Server 14.04.2 LTS

Hi as the owner of a file and directory I allowed the user TOM to have read permissions to the file : owner@hostname:~$ getfacl file1 user::rw- user::tom:r-- group::rw- mask::rw- other::r-- and ...
1
vote
0answers
54 views

Sound permissions not persisting after reboot

I just upgraded from Ubuntu 12.04 to 14.04 I am having an issue with sound. It seems to be a permissions problem. When I use the command below sound works with no problems. sudo setfacl -m u:lt:rw /...
1
vote
1answer
4k views

How to set user permissions on ubuntu server

I have a problem. I would like to set permissions on my server. I have following directories structure: /var/www/html/project_1 /var/www/html/project_2 /var/www/html/project_3 I have also users: ...
0
votes
1answer
396 views

Implementing transport delay to exim4

Hi folks (and thanks in advance for reading this), I'm currently trying to implement a delay function into an exim4 mta. It is running in the hand-on-to-smarthost mode. I'd like to add a delay to ...
2
votes
1answer
485 views

Create files in folders created by other users [duplicate]

I would really appreciate any help you guys can give me with the problem im having. First of all, im pretty comfortable with command line but by no means an linux expert so I would appreciate some ...
0
votes
1answer
146 views

ACL - only grant access to reading, *not* to execution

I have a directory called /test it there are two files: info.txt script.sh I want to grant read-only access to user john and did the following: setfacl -m u:john: r test/ With the above command ...
2
votes
1answer
2k views

ACL permission defaults are not applying to new files

I am trying to set up ACL's so that all new sub-directories and files withing a directory automatically inherit it's parents permissions. From what I understand I could achieve this by setting the ...
1
vote
1answer
342 views

ext4 ACL support in Trusty

Having problems with ACL in Trusty desktop version, I want to know if the acl mount option is really mandatory for an ext4 partition? Since with or without this option, setfacl never complains ...
0
votes
1answer
2k views

Hidden Permissions - Zentyal Admins can't access User's Created Folders

I am the co-administrator of a small private school's domain system. I set the system up using Zentyal 3.4 of which Windows and Ubuntu clients both connect. Students have their own personal logins ...
0
votes
1answer
80 views

exercise on ACL from computer security course

You found this file lying on a system: [user@localhost]$ ls -la executable -rwsr-xr-x 1 foo group 41836 2012-10-14 19:19 dangerous.exe Do you notice anything wrong?