linux – How to automatically mount a network-shared folder with full modification rights?


Now /etc/fstab says:

// /mnt/exampleFolder cifs  auto,user,iocharset=utf8,uid=1000,umask=000,username=john,password=pa$s 0 0

The result is:

root@ubuntusrv:/mnt# ls -la
drwxr-xr-x  1 root root 12599296 2012-12-06 13:35 exampleFolder

But it needs to be drwxrwxrwx . How to change?


If I understand everything correctly, then it is enough to do on the remote and on the local machine:

chmod 777 exampleFolder
Scroll to Top