Questions tagged [setfacl]
The setfacl tag has no summary.
44 questions
1
vote
0
answers
50
views
setfacl on Cygwin always returns "permission denied"
I apologize in advance if this isn't the right forum to post this, but since it's a Linux tool on an (emulated) Linux platform (and since I saw some other Cygwin-related questions on here) this is the ...
0
votes
1
answer
216
views
use setfacl to remove a users access to a directory?
So here is something I could not find any reference to, I have this user, user_A, I want to remove its access to this directory entirely /log/dirA
As far as I understand, chmod is used to modify the ...
0
votes
1
answer
119
views
FTP unable to write to a mounted drive
I'm using Mint Linux 22.1 and vsftpd on the destination computer and Windows 11 (latest version) as the source computer.
I have the following permissions. In my home directory I have a symlink to a ...
1
vote
0
answers
597
views
ACL always sets group execute permissions on files (Samba)
I have some users in the "sambashare" group and some in the "sambashareAdmin" group.
Only users from the "sambashareAdmin" group are alowed to change/create stuff.
All ...
0
votes
1
answer
92
views
linux ls -l ACL +, . , gap How to make gap
drwxr-xr-x+ 4 root root 4096 Sep 21 04:00 test << +
drwxrwxrwt. 10 root root 250 Sep 21 04:03 tmp
drwxr-xr-x. 12 root root 144 Sep 19 03:42 usr << .
drwxr-xr-x. 20 root ...
0
votes
0
answers
86
views
Misunderstanding about linux permisions, groups
Recently i have desided to create autobackups from my host to a little backup server by using ssh + rsync.
I have created separate user for this task "backuppc", have created "shared ...
0
votes
1
answer
773
views
How can I give another user read/write access to a specific sub folder and the ability to ls the tree but only for the folder they have access to?
I have a user user1 that has a bunch of folders in their home directory, including /home/user1/data/special/files.
I have another user user2.
I want:
user2 to be able to read/write files/folders in /...
1
vote
1
answer
2k
views
How to setfacl on a directory and all its parents?
Let's say we have the following directory structure
a
b1
c1
c2
b2
c3
c4
And I want to use setfacl to give a user frank access to c1, I can do something like
setfacl -m u:frank:rX ...
0
votes
0
answers
249
views
Setfacl in folders working but in files don't work correctly
I have a file server running Samba 4.9 in Debian 11 the share folders is working.
I used setfacl for subgroups, so i had conclusion was confused and not working.
So i used setfacl for each user, in ...
1
vote
1
answer
221
views
Reverse setfacl without sudo or root
I have used command sudo setfacl -R -m u:ubuntu:rwx ..
Unfortunately, by mistake on root directory, stopped it in a middle, but to late.
I hoped to revere it by using sudo setfacl -bR / however now ...
0
votes
0
answers
125
views
Restrict access to web directory using acl
The requirement is to allow a specific user (e.g. someuser) full access to a directory (e.g. /var/www/html/someproject) via SSH/SFTP, but not allow browsing anywhere else.
Is it possible using only ...
0
votes
1
answer
554
views
Accessing a file in another users home directory using setfacl
I was trying to access a file on another users home directory using acl. I have tried to do it the following way.
User k9 made a file test.file and ran
setfacl -m u:sai:rwx test.file.
Following is ...
1
vote
0
answers
58
views
Permission Error
I have installed bash shell in windows 10 to run linux commands. I am trying to execute a script which gives error "You do not have permission to edit". I have executed command "chmod ...
0
votes
1
answer
693
views
How to restrict read access to directory for specific user in centos?
So here is the deal, I create directory /home/accounting, I have users donna and mike and I want to restrict read privileges for them to this directory.
After going to Google I was able to find how to ...
3
votes
1
answer
99
views
ls throws errors when trying to access directory guarded with ACL
I have setup a directory and some files with setfacl.
jobq@workstation:~/Pool$ getfacl /etc/jobq
getfacl: Removing leading '/' from absolute path names
# file: etc/jobq
# owner: root
# group: jobq
...