leonardorame
Contributor
- Joined
- Jun 30, 2018
- Messages
- 106
Hi again!, I have a new issue with ACLs.
I want files to be read by @Everyone, but only created or written by @owner, so, I configured this:
And
When I create a new file, the acl attributes are:
With this, I can
Example with
Now
Does anyone know how can I configure the ACL to let @Everyone access the new files?
I want files to be read by @Everyone, but only created or written by @owner, so, I configured this:
And
When I create a new file, the acl attributes are:
Code:
# owner: informemedico
# group: informemedico
group@:r-x-----------:------I:allow
owner@:rwxp--aARWc-o-:------I:allow
everyone@:r-x-----------:------I:allow
user:1003:r-x---a-R-c---:------I:allow
everyone@:--------------:------I:allowWith this, I can
cat but not ls.Example with
cat (as user www), a new file without content, can be accessed.Code:
sudo su -m www -c "cat /mnt/imagenes/VIVID_S5-008357/2022-10-06/test.txt" Password:
Now
ls to the same file:Code:
sudo su -m www -c "ls -lah /mnt/imagenes/VIVID_S5-008357/2022-10-06/test.txt" ls: /mnt/imagenes/VIVID_S5-008357/2022-10-06/test.txt: Permission denied
Does anyone know how can I configure the ACL to let @Everyone access the new files?