how do I mount a CIFS share so I can fully control the mounted volume on the client

It is a straightforward inquiry: yet I remain in much discomfort over this scenario, so below is the question:

How can I "mount" a share to make sure that a) the share is worked on boot b) that I can regulate points like chown/chmod from the customer.

# mount -t cifs -o username=root,password=******** //192.168.0.110/backup/ /var/backup/
# chown -R wwwroot:www /var/backup/

this 2nd line will certainly fall short as a million "Permission Denied", exists anyhow I can position the system setups such that a) this self very same command in /etc/fstab/ vehicle - places and also b) set points up so I can take care of the share as if it were to act specifically like a neighborhood quantity

8
2022-07-25 20:39:58
Source Share
Answers: 0