Use of chmod

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

Threaded View
Hi all

I have problem with:

chmod("$ff/uus", 777);
chmod("uus", 777);

which can I not change the directories?

I work on a site on a place, where I cannot upload files to the main
dir, therefore I create subdirectories for that... and set them using
At least, that is what they say I should do. Still the code above
complains about missing rights to do so.

Am I doing something wrong here?


Re: Use of chmod

On Wed, 17 Oct 2007 15:36:46 +0200, Sonnich Jensen  =

Quoted text here. Click to load it

0777 !=3D 777

So use an octal. (777 in octals would 1411, hardly wat you want)


Quoted text here. Click to load it

See above, and make sure you have the right to change them in the first =

-- =

Rik Wasmus

Site Timeline