problems chmoding
Posted: Sat Jan 31, 2004 6:27 am
Hi, maybe someone here can help me with this.
I am trying to chmod a file to 755 from a PHP file:
chmod('myfile.txt', 755);
I get the following error message:
Warning: chmod(): Operation not permitted
in /usr/home/macer/public_html/2/install.php on line 25
I tried this too:
chown('myfile.txt', 755);
chmod('myfile.txt', 755);
and I got:
Warning: chown(): Operation not permitted
in /usr/home/macer/public_html/2/install.php on line 24
Warning: chmod(): Operation not permitted
in /usr/home/macer/public_html/2/install.php on line 25
Can anybody help me with this?
Thanks
I am trying to chmod a file to 755 from a PHP file:
chmod('myfile.txt', 755);
I get the following error message:
Warning: chmod(): Operation not permitted
in /usr/home/macer/public_html/2/install.php on line 25
I tried this too:
chown('myfile.txt', 755);
chmod('myfile.txt', 755);
and I got:
Warning: chown(): Operation not permitted
in /usr/home/macer/public_html/2/install.php on line 24
Warning: chmod(): Operation not permitted
in /usr/home/macer/public_html/2/install.php on line 25
Can anybody help me with this?
Thanks