Link to home
Create AccountLog in
Avatar of ittechlab
ittechlabFlag for Canada

asked on

ACL - Redhat

I am trying to set ACL for the following directory.  for directory and file do i use the same command?

setfacl -m u:userid:wx /web

or

setfacl -m d:u:userid:wx /web  

do we d for directory? Can someone clarify?
SOLUTION
Avatar of farzanj
farzanj
Flag of Canada image

Link to home
membership
Create a free account to see this answer
Signing up is free and takes 30 seconds. No credit card required.
See answer
If you have already seen the link, I have modified it so look again.
Avatar of ittechlab

ASKER

in otherwords , this is correct for applying ACL for /web directory. Please confirm.

setfacl -m u:userid:wx /web
ASKER CERTIFIED SOLUTION
Link to home
membership
Create a free account to see this answer
Signing up is free and takes 30 seconds. No credit card required.