[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [gcmd-dev] Entering forbidden folders - the final frontier
From: |
Piotr Eljasiak |
Subject: |
Re: [gcmd-dev] Entering forbidden folders - the final frontier |
Date: |
Thu, 07 Feb 2008 00:00:44 +0100 |
> 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' ?
>
Michael, you do push gcmd to the limits, don't you? ;o)
I think I've fixed that (rev #1557 & #1558) - please verify it.
Additionally I've found that gcmd crashed when displaying file
properties for smartctl-hda.txt too - that should be also fixed.
Enjoy,
Piotr