Comment 8 for bug 312396

Revision history for this message
Richard Wales (richard-wales) wrote :

Ubuntu 9.04 (x64) / Nautilus 2.26.2

Hi there, I don't think this is a gedit issue; Nautilus seems to ignore group permissions when browsing sftp.

To recreate; create a new file in your home dir and chmod 0070 (group has full access, owner & other have no access).

rwales@ophelia:~$ touch ~/test.txt
rwales@ophelia:~$ chmod 0070 ~/test.txt
rwales@ophelia:~$ ls -l ~/test.txt
----rwx--- 1 rwales rwales 0 2009-04-24 14:54 /home/rwales/test.txt
rwales@ophelia:~$

Now use Nautilus to browse sftp://localhost/home/rwales, you will see the test.txt file displays 'no read' and 'no write' emblems and gedit will refuse to open the file, citing insufficient permissions.

Strangely though, group read and write privileges are acknowledged in the properties dialog > permissions tab and I *can* rename the file in Nautilus.

Hope this helps.