Score:0

setfacl operation not permited if I set rwx

in flag

I have a deploy pipeline which runs under the deployment user. Pipeline need to set up permissions for some directories for www-data group. So I wrote this command:

setfacl -R -dm g:www-data:rwx /var/www/portaldev-api.lurity.com/temp

This throws me an error:

setfacl: /var/www/portaldev-api.lurity.com/temp/cache: Operation not permitted

If I remove the X from rwx it works. But to delete files I also need x. Can somebody explain me what is the problem with x?

Thanks.

Marco avatar
br flag
Filesystem of the cache directory?
in flag
Yes temp/cache/... setfacl should set permissions for all new created files.
Marco avatar
br flag
Which FILESYSTEM is used in the cache directory (ext3, xfs, fat, ntfs, btrfs, ...)?
in flag
df -PTh . | awk '{print $2}' returns ext4 and stat -f -c %T . returns ext2/ext3
Marco avatar
br flag
is it mounted with the option "noacl" ? see `man 5 ext4`
I sit in a Tesla and translated this thread with Ai:

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.