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 484882 - file ACL are not preserved
file ACL are not preserved
Status: RESOLVED FIXED
Product: gedit
Classification: Applications
Component: general
2.20.x
Other Linux
: Normal major
: ---
Assigned To: Gedit maintainers
Gedit maintainers
Depends on:
Blocks:
 
 
Reported: 2007-10-08 22:26 UTC by Benoît Dejean
Modified: 2009-01-24 22:28 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Benoît Dejean 2007-10-08 22:26:09 UTC
Saving a file actually swap files which drops ACL.

>>> getfacl foo
# file: foo
# owner: benoit
# group: benoit
user::rw-
group::r--
other::---


>>> setfacl -m u:luser:r foo

>>> getfacl foo
# file: foo
# owner: benoit
# group: benoit
user::rw-
user:luser:r--
group::r--
mask::r--
other::---


>>> ls -i foo
242268 foo

>>> gedit foo
# edit and save the file

>>> ls -i foo
1635821 foo

>>> getfacl foo
# file: foo
# owner: benoit
# group: benoit
user::rw-
group::r--
other::---
Comment 1 Stephane Raimbault 2007-10-26 04:51:31 UTC
Certainly for the same reason, when I create a file whith gedit on my Desktop and  move the icon associated to the new file (always on the Desktop folder but to the opposite side for example), each time I edit the file whith gedit, its position is reverted (works fine with Emacs and vim).


Comment 2 Paolo Borelli 2009-01-02 16:47:16 UTC
is the acl problem still existing? did you compile with libattr support enabled?
Comment 3 Stephane Raimbault 2009-01-24 22:28:45 UTC
The two problems are fixed (nice border effect of the switch to gio :).
Thanks.