Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I have a dedicated CentOS 5.6 Server for our webhost. I've setup FTP account in PLESK to access our website. Once I migrated joomla over I can not change/modify or upload new files via: FTP. I've chmod'ed all necessary directory to 777 and 755 but still can't change or modify files.

I then noticed that the directory owner is displays nothing or 48 48. How do I change the directory's ownership so I can upload and modify files to the FTP users account or did I do something wrong something completely.

share|improve this question
1  
Better work on your accept rate, DevNULL. –  EEAA Oct 21 '11 at 17:46
    
chown. Research also reveals that you might need to contact support if you're using a hosting company. –  mbrownnyc Oct 21 '11 at 17:46
add comment

1 Answer

up vote 2 down vote accepted
$ chown -R <username>:<group> /path/to/directory
share|improve this answer
1  
Note that using a dot as delimiter is deprecated to allow for usernames to have a dot. You should instead use a colon (chown -R user:group /path/to/dir - the dot still works on e.g. RHEL, but it does not on SLES. –  Frands Hansen Oct 22 '11 at 17:09
    
Good point. Fixed. –  EEAA Oct 23 '11 at 4:01
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.