Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

chmod

Status
Not open for further replies.

handle12323578

Programmer
Feb 7, 2005
3
US
I am trying to delete files on the server. Before I delete the file, I set the file's chmod to 0777, but I get

"Warning: chmod(): Operation not permitted" error message.
How can I solve this?

 
Why would you chmod the file first?

If you have permission to change the permissions of the file, chances are you already have permission to delete the file.



Want the best answers? Ask the best questions! TANSTAAFL!
 
Try chmod as a different user. There are different ways to handle the file as different users via PHP, telnet, shell, FTP, etc...
 
Status
Not open for further replies.

Similar threads

  • Locked
  • Question
chmod 1
Replies
4
Views
27
Replies
4
Views
35
Replies
1
Views
27
Replies
5
Views
22

Part and Inventory Search

Sponsor

Back
Top