[Bug 264749] New: KDE should execute scripts in .kde/env only if they have the executable permission set

Alvaro Manuel Recio Perez amrecio at gmail.com
Sat Jan 29 14:22:40 GMT 2011


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

           Summary: KDE should execute scripts in .kde/env only if they
                    have the executable permission set
           Product: kde
           Version: 4.6
          Platform: Ubuntu Packages
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: NOR
         Component: general
        AssignedTo: unassigned-bugs at kde.org
        ReportedBy: amrecio at gmail.com


Version:           4.6 (using KDE 4.6.0) 
OS:                Linux

Right now, KDE executes every script in .kde/env regardless of its executable
permission. For coherency with the rest of the system and for security reasons,
I think KDE should execute these scripts only if they have the executable
permission set for them.

Reproducible: Always

Steps to Reproduce:
1. Create a script in .kde/env but don't make it executable.
2. Start KDE.

Actual Results:  
3. The script is executed.

Expected Results:  
The script should only be executed if it has executable permission.

Scripts in .kde/env are not restricted to setting environment variables. If a
bug in another program can force it to drop a file there, the script will bi
executed without being noticed the next time KDE is started.

-- 
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