sara2005 has asked for the wisdom of the Perl Monks concerning the following question:
Hi Monks
I have to write files in certain directories and I need to return an error, if there is no write access.
I am not able to use opendir and readdir functions as they work perfectly if there is read access.
Is there a way to check the directory permissions?
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Checking for directory write permissions
by ikegami (Patriarch) on Jun 26, 2006 at 18:06 UTC | |
|
Re: Checking for directory write permissions
by shmem (Chancellor) on Jun 26, 2006 at 18:21 UTC | |
by sara2005 (Scribe) on Jun 26, 2006 at 18:30 UTC | |
by Tanktalus (Canon) on Jun 27, 2006 at 03:34 UTC | |
|
Re: Checking for directory write permissions
by Fletch (Bishop) on Jun 26, 2006 at 18:15 UTC | |
by ptum (Priest) on Jun 26, 2006 at 20:10 UTC |