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 Westi on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Chmod Problem 1

Status
Not open for further replies.

PhilipZ

Technical User
Feb 1, 2002
3
BG
Hello,

I was working on a new script. First it mkdir as directory (chmod 777) and puts uploading files into that directory (also chmoded these files 777). The problem that I am getting is that after I ftp to that directory I can't delete the files which I uploaded for some reason [The server error says 533: Permission Denied]. The only way I was able to delete them is using unlink. Any help would be appreciated.
 
Philip,

What are the actual permissions of the directory you created? Mike
michael.j.lacey@ntlworld.com
Email welcome if you're in a hurry or something -- but post in tek-tips as well please, and I will post my reply here as well.
 

As stated before the directory was given 0777 using mkdir.
 
On unix systems, the 'mkdir' function is effected by the current umask. The permissions you are asking for may not be the permissions you are getting do to the effect the umask has. There are several posts in this forum on that topic. Try doing a keyword search on 'umask'.

HTH


keep the rudder amid ship and beware the odd typo
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top