For CentOS 6.5 systems.
The Linux Mount command mounts the shared directory under Windows, the directory permission is 755 after mount, and the normal user does not have permission to write.
Permissions can be set through File_mode and Dir_mode, overriding the default 755 permissions.
Through the Linux man mount.cifs a simple understanding.
File_mode=arg If The server does is not a support for the CIFS Unix extensions this overrides the default file mode. Dir_mode=arg If The server does not support the CIFS Unix extensions this overrides the default mode for dire Ctories.
Example:
Mount-t Cifs-o username=ftp,password=3dmedcom,rw,dir_mode=0777,file_mode=0777//10.10.172.91/genebackup/genebacku P #这样看到的文件目录权限都为777mount-T cifs-o username=ftp,password=3dmedcom//10.10.172.91/genebackup/genebackup #经测试, can be read Write. This allows you to see the file directory permissions are 755
Mount.cifs Windows shared directory permissions 755 issue