check unix permissions

Do you have a question? Post it now! No Registration Necessary.  Now with pictures!

Threaded View
How can I check to see if a particular file is accessible?  I'd like my  
links to be displayed in red if they are available and to be displayed  
in green if they are unavailable.  At the command line, I'll chmod the  
files when I want to make them available.

Re: check unix permissions

Jackson wrote:
Quoted text here. Click to load it

Have a look at is_readable and comparable functions.


Site Timeline