日期:2014-05-17  浏览次数:20862 次

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

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.