[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[gcmd-dev] Entering forbidden folders

From: Michael
Subject: [gcmd-dev] Entering forbidden folders
Date: Mon, 4 Feb 2008 04:25:51 +0100
User-agent: claws-mail.org

And here's to King's health ! 

** (gnome-commander:22830): WARNING **: Cannot open 
"/root/gandalf/debug/smartctl-hda.txt"  Permission denied (13)

I tried to 'Open' that file (usually calls gedit), but, although the file 
itself was readable, i forgot to set the directory permissions of 740 to 
something more userfriendly. 

-rw-rw---- 1 root staff 8.2K 2008-02-03 23:58 smartctl-hda.txt
drwxr-----  2 root staff 4.0K 2008-02-04 04:08 debug/

So, according to the body-and-ass logic of ext3 permissions, the user (being in 
group 'staff') could read the directory list (r), but not jump into it (x) to 
do anything. So far, that's ok. But gcmd is a bit hysterical here: The window 
disappeares immediately (not even a shy 'so long' in the logs). 

This is only with 'Open' from context menu, not 'Open with' or renaming actions 
or any custom plugin. Internal viewer shows background void but that's not 
wrong somehow. So, what's happening in 'Open' ?


Can i hear 'Why should a user do anything in /root at all !' ? well let's say 
it's by tradition or better, don't ask.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]