[Desktop-packages] [Bug 1942542] Re: gedit causes loss of extended attributes (xattrs)

2022-05-20 Thread Bug Watch Updater
** Changed in: gedit
   Status: Unknown => New

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to gedit in Ubuntu.
https://bugs.launchpad.net/bugs/1942542

Title:
  gedit causes loss of extended attributes (xattrs)

Status in gedit:
  New
Status in gedit package in Ubuntu:
  Confirmed

Bug description:
  Ubuntu 21.04 hirsute
  gedit 3.38.1-1

  If a file with extended attributes (xattrs) is edited and saved with
  gedit, the xattrs are lost. This problem - as well as the loss of
  birth time, reported in
  https://bugs.launchpad.net/ubuntu/+source/gedit/+bug/1940758 - seems
  to be caused by gedit creating a new file when saving. Compare this
  with nano, which does not destroy xattrs.

  Steps to reproduce:
  1 echo testing > testfile.txt
  2 setfattr -n user.test -v "this is my test xattr" testfile.txt
  3 getfattr -d testfile.txt
  # file: testfile.txt
  user.test="this is my test xattr"
  4 gedit testfile.txt
  make edit and save
  5 getfattr -d testfile.txt
  no output

  This bug also causes a loss of ACLs for the edited file, as they are
  stored as extended attributes. Because of this I am marking this bug
  as a security vulnerability.

  This bug is not limited to gedit; it applies to a number of other text
  editors.

To manage notifications about this bug go to:
https://bugs.launchpad.net/gedit/+bug/1942542/+subscriptions


-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to : desktop-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp


[Desktop-packages] [Bug 1942542] Re: gedit causes loss of extended attributes (xattrs)

2021-09-23 Thread Marc Deslauriers
** Also affects: gedit via
   https://gitlab.gnome.org/GNOME/gedit/-/issues/464
   Importance: Unknown
   Status: Unknown

** Changed in: gedit (Ubuntu)
   Status: New => Confirmed

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to gedit in Ubuntu.
https://bugs.launchpad.net/bugs/1942542

Title:
  gedit causes loss of extended attributes (xattrs)

Status in gedit:
  Unknown
Status in gedit package in Ubuntu:
  Confirmed

Bug description:
  Ubuntu 21.04 hirsute
  gedit 3.38.1-1

  If a file with extended attributes (xattrs) is edited and saved with
  gedit, the xattrs are lost. This problem - as well as the loss of
  birth time, reported in
  https://bugs.launchpad.net/ubuntu/+source/gedit/+bug/1940758 - seems
  to be caused by gedit creating a new file when saving. Compare this
  with nano, which does not destroy xattrs.

  Steps to reproduce:
  1 echo testing > testfile.txt
  2 setfattr -n user.test -v "this is my test xattr" testfile.txt
  3 getfattr -d testfile.txt
  # file: testfile.txt
  user.test="this is my test xattr"
  4 gedit testfile.txt
  make edit and save
  5 getfattr -d testfile.txt
  no output

  This bug also causes a loss of ACLs for the edited file, as they are
  stored as extended attributes. Because of this I am marking this bug
  as a security vulnerability.

  This bug is not limited to gedit; it applies to a number of other text
  editors.

To manage notifications about this bug go to:
https://bugs.launchpad.net/gedit/+bug/1942542/+subscriptions


-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to : desktop-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp


[Desktop-packages] [Bug 1942542] Re: gedit causes loss of extended attributes (xattrs)

2021-09-14 Thread Alex
https://gitlab.gnome.org/GNOME/gedit/-/issues/464

** Bug watch added: gitlab.gnome.org/GNOME/gedit/-/issues #464
   https://gitlab.gnome.org/GNOME/gedit/-/issues/464

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to gedit in Ubuntu.
https://bugs.launchpad.net/bugs/1942542

Title:
  gedit causes loss of extended attributes (xattrs)

Status in gedit package in Ubuntu:
  New

Bug description:
  Ubuntu 21.04 hirsute
  gedit 3.38.1-1

  If a file with extended attributes (xattrs) is edited and saved with
  gedit, the xattrs are lost. This problem - as well as the loss of
  birth time, reported in
  https://bugs.launchpad.net/ubuntu/+source/gedit/+bug/1940758 - seems
  to be caused by gedit creating a new file when saving. Compare this
  with nano, which does not destroy xattrs.

  Steps to reproduce:
  1 echo testing > testfile.txt
  2 setfattr -n user.test -v "this is my test xattr" testfile.txt
  3 getfattr -d testfile.txt
  # file: testfile.txt
  user.test="this is my test xattr"
  4 gedit testfile.txt
  make edit and save
  5 getfattr -d testfile.txt
  no output

  This bug also causes a loss of ACLs for the edited file, as they are
  stored as extended attributes. Because of this I am marking this bug
  as a security vulnerability.

  This bug is not limited to gedit; it applies to a number of other text
  editors.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/gedit/+bug/1942542/+subscriptions


-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to : desktop-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp


[Desktop-packages] [Bug 1942542] Re: gedit causes loss of extended attributes (xattrs)

2021-09-03 Thread Seth Arnold
Nice find Alex; can you please report this to upstream gedit, and report
back the bug url here so we can link them together?

Thanks

** Information type changed from Private Security to Public Security

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to gedit in Ubuntu.
https://bugs.launchpad.net/bugs/1942542

Title:
  gedit causes loss of extended attributes (xattrs)

Status in gedit package in Ubuntu:
  New

Bug description:
  Ubuntu 21.04 hirsute
  gedit 3.38.1-1

  If a file with extended attributes (xattrs) is edited and saved with
  gedit, the xattrs are lost. This problem - as well as the loss of
  birth time, reported in
  https://bugs.launchpad.net/ubuntu/+source/gedit/+bug/1940758 - seems
  to be caused by gedit creating a new file when saving. Compare this
  with nano, which does not destroy xattrs.

  Steps to reproduce:
  1 echo testing > testfile.txt
  2 setfattr -n user.test -v "this is my test xattr" testfile.txt
  3 getfattr -d testfile.txt
  # file: testfile.txt
  user.test="this is my test xattr"
  4 gedit testfile.txt
  make edit and save
  5 getfattr -d testfile.txt
  no output

  This bug also causes a loss of ACLs for the edited file, as they are
  stored as extended attributes. Because of this I am marking this bug
  as a security vulnerability.

  This bug is not limited to gedit; it applies to a number of other text
  editors.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/gedit/+bug/1942542/+subscriptions


-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to : desktop-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp