把windows一个目录mount到Ubuntu下,非root用户没有写权限

来源:互联网 发布:文思海辉金信软件 编辑:程序博客网 时间:2024/05/17 09:31

http://bbs.chinaunix.net/thread-1929832-1-1.html

 

# mount.cifs //192.168.10.213/mount /home/gamester88/桌面/test -o guest,dir_mode=0777

 

 

  1.     #mount.cifs //192.168.10.213/mount /home/gamester88/桌面/test -o username=root,passwd=123456,dir_mode=0777
复制代码
file_mode=arg
           If the server does not support 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 directories.

阅读全文
0 0
原创粉丝点击