Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Yesterday I installed vsftpd in my centos server. But I am not able to upload files permission denied error. So I set owner and 775 file permission, and also i set 777 permission and then also I cant able to upload the file.

Here I am sending the link which i have followed.

Please anyone help me to solve the problem.

share|improve this question

migrated from May 21 '13 at 10:46

This question came from our site for professional and enthusiast programmers.

Lets see the ownership and permissions of the file you uploaded while having 777 on your directory – mogul May 21 '13 at 5:44
please see this drwxrwxrwx. 2 temp1 tempftp 4096 May 20 17:33 temp user : temp1 group: tempftp – user170773 May 21 '13 at 6:25

Make sure user has write permission to the directory where file is going to be saved.

We have seen that user create files as the temp1 user, so one solution could be to make temp1 own the destination directory.

If that is impractical, an other solution could be to use group membership, either by chgrp'ing destination to tempftp or by adding user temp1 to the group that actually owns the destination.

share|improve this answer

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .