[Konsole-devel] [Bug 64211] New: drag and drop overrides directory permissions

Alexandros Papadopoulos sms_temp at yahoo.com
Sat Sep 13 17:16:33 UTC 2003


------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
     
http://bugs.kde.org/show_bug.cgi?id=64211     
           Summary: drag and drop overrides directory permissions
           Product: konsole
           Version: 1.2.3
          Platform: unspecified
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: NOR
         Component: general
        AssignedTo: konsole-devel at kde.org
        ReportedBy: sms_temp at yahoo.com


Version:           1.2.3 (using KDE 3.1.3)
Installed from:     (testing/unstable)
Compiler:          gcc version 3.3.1 20030722 (Debian prerelease)
OS:          Linux (i686) release 2.4.22

I'm running X and KDE as a regular mortal user. If I have a root shell active in konsole, and I drag'n'drop something from my Dekstop or file manager (Konqueror) into the konsole window, it *overrides* the root directory permissions, and happily writes the file!

How to reproduce:
=================

+ Start normal KDE session as regular user
+ Open Konsole, and use su - to become root. You're now in root's directory.
+ Drag'n'drop a file from your desktop to the konsole.
+ Do a directory listing of the /root directory - the file is there!

Expected behavior:
==================

The operation should return a "Permission Denied" or similar message, WITHOUT writing the file.

I don't even understand how this is done in the first place, since from both the shell and Konqueror I (naturally) cannot write stuff to /root ...


More information about the konsole-devel mailing list