GNOME Bugzilla – Bug 592651
Files opened on samba shares get default permissions on each save
Last modified: 2018-09-21 16:52:59 UTC
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;user@host.name/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.
The problem here is that there's no reliable support for POSIX mode in libsmbclient as long as it maps some DOS attributes instead. Suggestions welcome.
-- GitLab Migration Automatic Message -- This bug has been migrated to GNOME's GitLab instance and has been closed from further activity. You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.gnome.org/GNOME/gvfs/issues/113.