Just to confirm if the bug has fixed on latest MBL firmwire.
My MBL is WD My Book Live 3TB Personal Cloud Storage - NAS - WDBACG0030HCH-NESN
I am still with version MyBookLive 02.41.05-034 but considering a firmware upgrade.
The following steps can confirm the bug and will reproduce error message on my MBL,
-
create a non-root user, for example: tom
-
ssh MBL with user tom
tom@mybook:~$ cd /DataVolume/shares/
tom@mybook:/DataVolume/shares$ sudo mkdir yy
tom@mybook:/DataVolume/shares$ sudo chown -R tom:tom yy/
tom@mybook:/DataVolume/shares$ cd yy/
tom@mybook:/DataVolume/shares/yy$ ls -la
total 128
drwxr-xr-- 2 tom tom 65536 2013-11-11 13:19 .
drwxrwxr-x 13 root share 65536 2013-11-11 13:19 …
tom@mybook:/DataVolume/shares/yy$ echo ‘aaa’ > testfile
tom@mybook:/DataVolume/shares/yy$ ls -la
total 192
drwxr-xr-- 2 tom tom 65536 2013-11-11 13:20 .
drwxrwxr-x 13 root share 65536 2013-11-11 13:19 …
-rw-rw-rw- 1 tom tom 4 2013-11-11 13:20 testfile
tom@mybook:/DataVolume/shares/yy$ more testfile
aaa
tom@mybook:/DataVolume/shares/yy$ echo ‘bbb’ >> testfile <<----you get permission error on file appending
-bash: testfile: Permission denied
It occurs under /DataVolume/shares and all sub folders, the bug seems residing in trustee module.