Skip to main content

How to set permissions on cifs mounted disks

How to set permissions on linux system when mounting samba or windows share disk using cifs protocol?

in the /etc/fstab set mount options dir_mode and file_mode

An example:
//<server>/<share>   /<folder>   cifs    uid=<userid>,gid=<groupid>,dir_mode=0755,file_mode=0644   0   0

Comments

Popular posts from this blog