in reply to Re^8: perl file status and sudo
in thread perl file status and sudo

I cannot think of a situation where you have "read access to anything", but don't have read access to a directory. Anyway, if he needs read access to a directory, ACLs can be used. As I pointed out in my first reply.

Replies are listed 'Best First'.
Re^10: perl file status and sudo
by aaron_baugher (Curate) on Mar 23, 2012 at 01:56 UTC

    Viewing a directory listing requires read permission on the directory, but entering the directory and viewing the files inside it requires execute permission on the directory. He could be talking about something like that, where he has read permission for everything but can't see some files because he doesn't have execute permission on all directories. That's not real security, and it wouldn't make a lot of sense, but not much about this situation seems to.

    Aaron B.
    My Woefully Neglected Blog, where I occasionally mention Perl.

      Let's not try to guess what might be the case. Let's see whether the OP can describe what his actual problem, in a what that he can be helped. (But, if it is the case you're describing, it's again ACLs that will come to the rescue).