Interesting, what are the permissions of all of the parent directories?

On Tue, Jul 24, 2012 at 1:24 PM, Brian van den Broek <
[email protected]> wrote:

> Hi all,
>
> I have an unexpected permissions situation:
>
> brian@thoralf:~$ ls -la |grep gvfs && ls -la .gvfs/
> dr-x------  2 brian brian          0 2012-07-24 00:17 .gvfs
> total 12
> dr-x------  2 brian brian     0 2012-07-24 00:17 .
> drwx------ 85 brian brian 12288 2012-07-24 12:50 ..
>
> brian@thoralf:~$ sudo ls -la |grep gvfs
> ls: cannot access .gvfs: Permission denied
> d?????????  ? ?     ?              ?                ? .gvfs
> brian@thoralf:~$ sudo ls -la .gvfs/
> ls: cannot access .gvfs/: Permission denied
>
> brian@thoralf:~$ sudo su
> root@thoralf:/home/brian# ls -la|grep gvfs
> ls: cannot access .gvfs: Permission denied
> d?????????  ? ?     ?              ?                ? .gvfs
> root@thoralf:/home/brian# ls -la .gvfs
> ls: cannot access .gvfs: Permission denied
>
>
> As you can see, I am able to access /home/brian/.gvfs while running my
> normal account (brian), but not when using sudo with that account, nor
> if I switch to the root account.
>
> My first thought is "Unpossible!"
>
> This is on an ubuntu 10.04 system and arises while I am backing up all
> data in preparation to install another distro. So, I'm not interested
> in solving the issue, but in understanding just how it could be
> possible that a user can access files, but neither that user working
> via sudo nor the root account can.
>
> The closest thing I found to an answer is various posts in the thread
> at <
> http://ubuntuforums.org/showthread.php?s=9ebb133f08e3d756c512835be265be3a&t=791693
> >,
> but, unless I misunderstand, all that really is said there is "There's
> a bug." This I knew :-)
>
> So, how for the love of puppies, it is possible that root could have
> more restricted access than a user account? Even granting there's a
> bug, I'm puzzled.
>
> Best,
>
> Brian vdB
> _______________________________________________
> mlug mailing list
> [email protected]
> https://listes.koumbit.net/cgi-bin/mailman/listinfo/mlug-listserv.mlug.ca
>



-- 
___..___........__.......__
...|....|__/....|...|......|...|__|
...|....|.....\...|...|__..|...|....|

"You must be the change you wish to see in the world." Mohandas K Gandhi
_______________________________________________
mlug mailing list
[email protected]
https://listes.koumbit.net/cgi-bin/mailman/listinfo/mlug-listserv.mlug.ca

Reply via email to