Re: set default permission to deployuser:deployuser for nfs common mount point /mnt/test

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



Am 09.11.22 um 10:41 schrieb Kaushal Shriyan:
On Mon, Nov 7, 2022 at 8:50 AM Kaushal Shriyan <kaushalshriyan@xxxxxxxxx>
wrote:



#setfacl -Rdm u:deployuser:rwx,g:deployuser:rwx,o::rwx files
#setfacl -Rm u:deployuser:rwx,g:deployuser:rwx,o::rwx files

#ls -l  image15.png
-rw-rw-r--+ 1 nginx nginx  387071 Nov  9 08:27 image15.png



Try:

setfacl -R -m g:deployuser:rwX,d:g:deployuser:rwX,u:nginx:rwX,d:u:nginx:rwX /data/

--
Leon


_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
https://lists.centos.org/mailman/listinfo/centos



[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]


  Powered by Linux