[Bug 213538] New: KSaveFile loose gid permissions and guid on save (if the user is not owner or root)

stephane stephane.bouthors at gmail.com
Sat Nov 7 12:46:26 GMT 2009


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

           Summary: KSaveFile loose gid permissions and guid on save (if
                    the user is not owner or root)
           Product: kde
           Version: unspecified
          Platform: Ubuntu Packages
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: NOR
         Component: general
        AssignedTo: unassigned-bugs at kde.org
        ReportedBy: stephane.bouthors at gmail.com


Version:            (using KDE 4.3.2)
Compiler:          g++ (Ubuntu 4.4.1-4ubuntu8) 4.4.1  g++ (Ubuntu
4.4.1-4ubuntu8) 4.4.1 
OS:                Linux
Installed from:    Ubuntu Packages

If you use KSaveFile from a different owner you loose guid and group
permissions:

example:
1) I have two user: (both member of group_common)
user1 => group: user1 group_common
user2 => group: user2 group_common

2) user1 create a file with following right:
-rw-rw-r--  1 user1 group_common   myfile.jpg

3) user2 rotate the jpeg with gwenview and save (gwenview use KSaveFile for
saving changes)

4)result: gid is changed and user1 has no more permissions on the file:
-rw-------  1 user2 user2   myfile.jpg

-- 
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the Unassigned-bugs mailing list