Ro オプションを持つ Mounted.cifs、ユーザーは引き続きタッチできます。

Ro オプションを持つ Mounted.cifs、ユーザーは引き続きタッチできます。

Debian 7.7では、次のように設定しました。

me@PiWi$ sudo mount.cifs -o user=me,ro //192.168.1.101/media/Data/Games ./Games
me@PiWi$ ls ./Games/ 
Afdrukbaar  Console  Dos ScummVm  Windows
me@PiWi$ touch ./Games/Ishouldnbeable
touch: cannot touch `./Games/Ishouldnbeable': Read-only file system
me@PiWi$ ls ./Games/ 
Afdrukbaar  Console  Dos  Ishouldnbeable  ScummVm  Windows
me@PiWi$ stat ./Games/Ishouldnbeable
  File: `./Games/Ishouldnbeable'
  Size: 0               Blocks: 0          IO Block: 16384  regular empty file
Device: 12h/18d Inode: 8869134991369  Links: 1
Access: (0644/-rw-r--r--)  Uid: ( 1000/ me)   Gid: ( 1000/ me)
Access: 2014-12-26 04:44:44.968626700 -0600
Modify: 2014-12-26 04:44:44.968626700 -0600
Change: 2014-12-26 04:44:44.968626700 -0600
 Birth: -

ご覧のとおり、CIFSをroにマウントして、まだ書くことができます。 nopermオプションを試しましたが、問題は解決されませんでした。何が起こっているのか、どうすれば解決できますか?

mount | grep Games

次の出力を提供します

//192.168.1.101/media/Data/Games on /opt/share/Shared/Games type cifs (ro,relatime,sec=ntlm,unc=\\192.168.1.101\media,username=me,uid=0,noforceuid,gid=0,noforcegid,addr=192.168.1.101,unix,posixpaths,serverino,acl,rsize=1048576,wsize=65536,actimeo=1)

ベストアンサー1

おすすめ記事