permissions altered while saving over sshfs mount
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
gedit (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
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/
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.
description: | updated |
This has been reported for "regular" files, too - independent from sshfs (bug 152638).
Can you confirm this?