After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 592651 - Files opened on samba shares get default permissions on each save
Files opened on samba shares get default permissions on each save
Status: RESOLVED OBSOLETE
Product: gvfs
Classification: Core
Component: smb backend
1.2.x
Other Linux
: Normal normal
: ---
Assigned To: gvfs-maint
gvfs-maint
Depends on:
Blocks:
 
 
Reported: 2009-08-22 00:57 UTC by Andreas Moog
Modified: 2018-09-21 16:52 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Andreas Moog 2009-08-22 00:57:02 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.
Comment 1 Tomas Bzatek 2009-12-14 16:17:13 UTC
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.
Comment 2 GNOME Infrastructure Team 2018-09-21 16:52:59 UTC
-- 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.