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 607675 - gedit complains about unable to save backup even if backups are disabled
gedit complains about unable to save backup even if backups are disabled
Status: RESOLVED FIXED
Product: gedit
Classification: Applications
Component: general
2.29.x
Other Linux
: Normal normal
: ---
Assigned To: Gedit maintainers
Gedit maintainers
Depends on:
Blocks:
 
 
Reported: 2010-01-21 16:32 UTC by Oliver Joos
Modified: 2010-03-14 02:38 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Oliver Joos 2010-01-21 16:32:52 UTC
Typically this occurs if a file shall be writable by multiple users and therefore is -rw-rw-rw- but the directory is -rw-r--r--. A usecase is a ~/mynotes.txt that has to be editable from a Live-CD and your normal account.

To reproduce:
 1 Disable backups in gedit prefs
 2 $ sudo touch /test.txt
 3 $ sudo chmod a+rw /test.txt
 4 $ gedit /test.txt   # no sudo here!
 5 Change and save test.txt

I found this bug in gedit 2.29.4.
Comment 1 Fabio Durán Verdugo 2010-01-21 17:29:03 UTC
Thanks for the report Oliver, i'm getting the same behavior here, confirming.
Comment 2 Oliver Joos 2010-03-14 02:38:26 UTC
Solved in 2.29.92.1.

But now gedit NEVER complains if unable to save backups, even if backups are enabled! I can live with this, particularly since backups are now DISABLED by default. Feel free to open a new bug if you don't agree.