PCDVD數位科技討論區

PCDVD數位科技討論區 (https://www.pcdvd.com.tw/index.php)
-   七嘴八舌異言堂 (https://www.pcdvd.com.tw/forumdisplay.php?f=12)
-   -   如何變更 mount 網芳資料夾的權限 (https://www.pcdvd.com.tw/showthread.php?t=1067680)

789w 2015-01-08 10:04 PM

好懷念
以前玩過,但指令只記得IS :jolin:

隨風浮雲 2015-01-09 07:47 PM

引用:
作者darkangel
mount -t cifs -o password='' //10.10.10.10/share1 /mnt/share -o uid=user,gid=user

sorry 忘了 -o

man mount

http://linux.die.net/man/8/mount

群組會變更到 user ,但是使用者還是root
:confused:

darkangel 2015-01-10 04:33 AM

引用:
作者隨風浮雲
群組會變更到 user ,但是使用者還是root
:confused:


RTFM...

uid=value and gid=value
Set the owner and group of the root of the filesystem
setuid=value and setgid=value
Set the owner and group of all files.


所有的時間均為GMT +8。 現在的時間是02:40 PM.

vBulletin Version 3.0.1
powered_by_vbulletin 2025。