in reply to how to check permissions
$ perl -e 'print "Can read\n" if -r "/home"' $ perl -e 'print "Can write\n" if -w "/home"' $ perl -e 'print "Can execute (or cd into if dir)\n" if -x "/home"'
-derby
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
oen more thing
by Anonymous Monk on May 01, 2003 at 18:16 UTC | |
|
Re: Re: how to check permissions
by Anonymous Monk on May 01, 2003 at 17:55 UTC |