특정 디렉터리 umask 설정하기

2021. 11. 14. 16:13웹 서버 구축

setfacl -d -R -m m::rwx file/

 

[참고] s --> 'x' is enabled S --> 'x' is disabled.

 

 

https://itectec.com/ubuntu/ubuntu-how-to-set-umask-for-a-specific-folder/

 

Ubuntu – How to set umask for a specific folder – iTecTec

For some obvious reasons I need to set umask value for one specific folder. How can one do that? Thanks beforehand! UPDATE 1 The reason I need to use umask for a specific folder is following. I have a web application and when it creates some file the defau

itectec.com

http://manpages.ubuntu.com/manpages/trusty/man1/setfacl.1.html

 

Ubuntu Manpage: setfacl - set file access control lists

Powered by the Ubuntu Manpage Repository, file bugs in Launchpad © 2019 Canonical Ltd. Ubuntu and Canonical are registered trademarks of Canonical Ltd.

manpages.ubuntu.com

https://www.2daygeek.com/how-to-configure-access-control-lists-acls-setfacl-getfacl-linux/

 

How To Allow/Permit User To Access A Specific File or Folder In Linux Using ACL? | 2DayGeek

Traditional Linux access permissions for files and directories consists of setting a combination of read, write, and execute permissions for the “owner”, “group”, and “others” of the file or directory. These permissions can be set using the ‘

www.2daygeek.com