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

OK, I give!!! Still can't overwrite 1

Status
Not open for further replies.

Cadwalader

IS-IT--Management
Feb 12, 2002
297
US
hello....I give up. For the past 2 days, I have been trying to find out how to upload and overwrite in the directory that stores the web pages.

I tried

#chmod 777 /var/
I get the bash prompt back, and still can't over write.

Then I found out that I had to change the owner of the files to my ftp username. Ok, fine....but I can't figure out how to do it.

Please help! [bugeyed]

RedHat 7.3 text only server install (only 'cuz I like the punishment, and I am limited by CPU speed)
CuteFTP
Private LAN Hope I was of some help...
--OR--
Thanks for the help...
--Rich
 
You have to chmod the files to be overwriteable too.
Code:
chmod -R 0777 /var/www/html
That would chmod all files to be overwriteable and you would be able to upload new files. //Daniel
 
I don't know about Wu-FTP, but in ProFTPd you have to specify the "AllowOverwrite On" directive in its configuration file, or else you can't overwrite files regardless of Unix permissions.


ChrisP
 
You can combine the the group and owner on one line similar to above byusing chown <owner>:<group> /var/ Saves some typing and as w1nn3r stated above, you should be fine.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top