Unix permissions

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Matthew Augier \(dps\)

    #1

    Unix permissions

    I have a folder which I store php generated images in. The app only seems to
    function when I have the rights set to 0777, but I don't understand why I
    need "execute" to read/write a PNG file. What am I missing?

    Mat


  • Malcolm Dew-Jones

    #2
    Re: Unix permissions

    Matthew Augier \(dps\) (Matthew@dps.uk .com) wrote:
    : I have a folder which I store php generated images in. The app only seems to
    : function when I have the rights set to 0777, but I don't understand why I
    : need "execute" to read/write a PNG file. What am I missing?

    execute on a unix folder allows you to do wild card searches.

    I assume the script is doing a wild card search on the png file name.

    Perhaps, for example, it looks for any one of a gif, png, or jpeg, and
    displays which ever one it finds. Perhaps (again for example) when it
    creates a file then it deletes any existing copy with the same name no
    matter what type it is, i.e. hello.png would replace hello.gif.

    $0.10

    Comment

    Working...