Public bug reported:

Binary package hint: gedit

gEdit alters permissions when saving a file over sshfs.

Kate and Quanta both do not do this.

1. sshfs -o uid=1000,gid=1000 myhost.com /media/mymount

2. $ls -l /media/mymount/ | grep myfile
-rwxrwx--- 1 me me  7912 2007-10-11 13:37 myfile

3. gedit /media/mymount/myfile

4. Edit the file.

5. Save

6. $ls -l /media/mymount/ | grep myfile
-rw-------  1 me me   44275 2007-10-11 13:40 myfile

Notes:

I tried mounting the sshfs folder with umask=007, and the same thing happened.
I tried making a brand new file after mounting the folder, and that file's 
permissions stayed ug+rw.

It's only when opening a previously existing file on the mount that the
permissions somehow are modified with ga-rw.

This was reported on GUTSY, with the package gedit_2.20.1-0ubuntu3_i386

** Affects: gedit (Ubuntu)
     Importance: Undecided
         Status: New

-- 
permissions altered while saving over sshfs mount
https://bugs.launchpad.net/bugs/151701
You received this bug notification because you are a member of Ubuntu
Bugs, which is the bug contact for Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to