[kio-admin] [Bug 471539] New: File permissions change after editing txt file

bugzilla_noreply at kde.org bugzilla_noreply at kde.org
Wed Jun 28 16:34:42 BST 2023


https://bugs.kde.org/show_bug.cgi?id=471539

            Bug ID: 471539
           Summary: File permissions change after editing txt file
    Classification: Frameworks and Libraries
           Product: kio-admin
           Version: 23.04.1
          Platform: Archlinux
                OS: Linux
            Status: REPORTED
          Severity: grave
          Priority: NOR
         Component: general
          Assignee: unassigned-bugs at kde.org
          Reporter: opensource at zaghini.it
                CC: sitter at kde.org
  Target Milestone: ---

SUMMARY
***
Editing a txt file using kio-admin slave changes its permissions. 
***


STEPS TO REPRODUCE
1. Create a text file owned by the root user. 
2. Set r/w access permission on the file to the root user only (sudo chmod
og-rwx) (ls -l shows '-rw------- 1 root root')
3. Edit the text file with Kate text editor using admin://...path to file,
write something, save changes. 

OBSERVED RESULT
File permissions have been changed, the file in now readable by other
users/groups (ls -l shows '-rw-r--r-- 1 root root').

EXPECTED RESULT
File permissions should be left unchanged.

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: 
KDE Plasma Version: 5.27.5
KDE Frameworks Version: 5.106.0
Qt Version: 5.15.9

ADDITIONAL INFORMATION

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the Unassigned-bugs mailing list