[Bug 1303757] Re: Gedit violates security of backup file on NTFS

UlfZibis 1303757 at bugs.launchpad.net
Mon Apr 7 22:02:16 UTC 2014


The only thing special is that gedit provides a backup of the original file.
I came to the issue when trying a patch to ntfs-3g were the behaviour to the permissions was contrary, see: http://tuxera.com/forum/viewtopic.php?p=38209&sid=a9914342b2b56a46a33fa94b68d72d15#p38209
In that case the permissions of the backup file remained in correct inherited state, but the regular file got changed permissions, not inherited from the parent folder. So it's unclear, if gedit renames the old file and writes the changes in a new file with original name or if it copies the original to the backup file and changes the content of the original file.
This triggered me to check the behaviour without the patch with an empty file, created from Windows.

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to ntfs-3g in Ubuntu.
https://bugs.launchpad.net/bugs/1303757

Title:
  Gedit violates security of backup file on NTFS

Status in “ntfs-3g” package in Ubuntu:
  New

Bug description:
  Using NTFS-3G 2014.2.15
  - Create new empty text file with Windows 7.
  - Reboot PC with Ubuntu, fstab mounts NTFS partition with UserMapping and inherit option.
  - With Gedit enter some text in text file and save.
  - Reboot PC with Windows 7
  --> Resulting backup file has changed permissions with full access to anybody.
  --> See screen shot.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ntfs-3g/+bug/1303757/+subscriptions



More information about the foundations-bugs mailing list