Files opened on samba shares get default permissions on each save
Submitted by Andreas Moog
Assigned to gvf..@..e.bugs
Forwarded from http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=533433
When using gedit to edit a file on a samba share (like smb://WorkGroup;firstname.lastname@example.org/share/path/to/file.php ) each save of the file replaces the existing permissions with defaults - in my case from 0664 to 0771, resulting in the web server refusing to run the php script.
There might be a way to change the defaults, but since in the same case for example Bluefish can save the file keeping the permissions, one might hope that from gedit, too.
Best, Harri K.