check unix permissions

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Jackson

    #1

    check unix permissions

    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.
  • Janwillem Borleffs

    #2
    Re: check unix permissions

    Jackson wrote:[color=blue]
    > 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.
    >[/color]

    Have a look at is_readable and comparable functions.


    JW

    Comment

    Working...