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)