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]


I am running two GCP GCE VM instances running CentOS Linux release 7.9.2009
(Core) behind https load balancer. I am using to mount the nfs server
common mount point to both client servers.

#mount /mnt/test

I did chown -Rc deployuser:deployuser (user:group) /mnt/test. When the php
code uploads any file to the /mnt/test folder, the file permission is owned
by php-fpm:php-fpm (user:group)

Please guide and let me know how to set it to the default permissions
of deployuser:deployuser (user:group) for all files and folders created in
nfs server common point /mnt/test.

Thanks in advance.

Best Regards,

CentOS mailing list

[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