tirenweb
tirenweb

Reputation: 31749

setfacl: about the options

what is the difference between this two commands?

sudo setfacl -R -m u:www-data:rwx -m u:yourname:rwx app/cache app/logs
sudo setfacl -dR -dm u:www-data:rwx -m u:yourname:rwx app/cache app/logs

Javi

Upvotes: 2

Views: 5357

Answers (1)

Alex
Alex

Reputation: 35158

With the -d option the ACLs are applied to the default entry of a folder. These ACLs are applied to newly created files in that folder.

Upvotes: 2

Related Questions