LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Permission question (https://www.linuxquestions.org/questions/linux-newbie-8/permission-question-4175579167/)

RichM824 05-06-2016 02:54 PM

Permission question
 
This is probably very elementary but what does the -m mean in
sudo setfacl -R -m u:username:rwx /var/www/html.
Also is there a reference list available somewhere?
Thank you, Rich

erik2282 05-06-2016 03:17 PM

edit: deleted content as I lookup up the wrong info

jailbait 05-06-2016 03:19 PM

The reference list is the man page for setfacl which you can display by opening a terminal and typing in the command:

man setfacl

In the man pages there is this description of the -m option:

The -m (--modify) and -M (--modify-file) options modify the ACL of a file or directory. ACL entries for this operation must include permissions.


-------------------------
Steve Stites

Shadow_7 05-07-2016 09:55 AM

$ man setfacl
$ setfacl --help

But -m == modify. Although I didn't see that in debians man page for it. But it was listed via --help. Turns out it is listed in the manpage, but not under the OPTIONS header. At least not the definition, just a lot of usage examples.


All times are GMT -5. The time now is 12:02 AM.