Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I add a new subdomain with plesk , and with command line I've copied a directory from the root to the directory of the subdomain , when I connect with an ftp account I don't have the right permission for this folder , and I can't change them from the ftp

share|improve this question
    
Did you copy the directory as root? –  heartsmagic Nov 16 '11 at 18:09

1 Answer 1

up vote 0 down vote accepted

Open the following file with this command : nano /etc/passwd Then search for the user name : ctl+w username in my case anass

then copy the two numbers in right of the user name anass:x:1000:1000 , in this case 1000:1000

Connect with root and type this command : chown -R 1000:1000 yourdirectory chow mean change owner

share|improve this answer

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.