Web Hosting Talk







View Full Version : Chmod + Mkdir


slice16
02-18-2005, 07:06 PM
I have a client who has created a script to create a new directory. However, every time he trys to mkdir he gets permission denied error.

the script was working fine until i changed his domain name on his account. now it just doesnt work. can you please help?

slice16
02-18-2005, 07:10 PM
it also wont allow him to chmod any files that are not in the dir of the script

easyserv.co.uk
02-21-2005, 11:02 AM
What type of script isit? Can you also post a short snippet?

<?php
mkdir("/oldfolder/newfile", 0700);
chmod("/oldfolder/newfile", 0755);
?>