dr—–r-t privileges – drrty chmod

Rate this post

This took me 15 minutes to work out. So hopefully this little tip will save someone else 15 minutes of their life so they can do something more interesting like watch Jeremy Kyle.

In my php script was the call to create a directory on the fly

but the blinkin privs were showing up as dr—–r-t
After abit of frantic googling to see where these drrt privs came from i found out it was because my chmod options were declared as a string :D

So to get to work correctly.

Now hurry those lie detector results are back in…..

Related posts: