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-b...@kde.org
          Reporter: opensou...@zaghini.it
                CC: sit...@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 watching all bug changes.

Reply via email to