LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   vsftp upload how to?? (https://www.linuxquestions.org/questions/linux-newbie-8/vsftp-upload-how-to-934088/)

losvre 03-12-2012 01:41 PM

vsftp upload how to??
 
Hello to everyone,

I have made a user with "useradd username -d /www".

I can upload via filezilla normally in the www directory which is 755 permission. However, I cannot upload to any sub-directory without changing the permission to 777.

If I login as root then I can aldo upload to any DIR/SubDir.

Any idea why this happening?

Many thanks

bathory 03-12-2012 06:20 PM

It's a permissions issue. With a 755 permissions, only the owner has write permissions, so I guess subdirs are not owned by your user.
You can do a
Code:

chown -R username /www
Regards

losvre 03-13-2012 06:33 AM

Quote:

Originally Posted by bathory (Post 4625197)
It's a permissions issue. With a 755 permissions, only the owner has write permissions, so I guess subdirs are not owned by your user.
You can do a
Code:

chown -R username /www
Regards

It worked, many many thanks!

I have read that is no good to have multiple users owning the same folder due to disk/resources usage, is that true?

Have a good day

bathory 03-13-2012 07:24 AM

Quote:

I have read that is no good to have multiple users owning the same folder due to disk/resources usage, is that true?
Nah. Besides you cannot have multiple users owning a directory or file. There is always one that owns it and then a group and the world that may or may not have rwx rights on it.

losvre 03-13-2012 09:11 AM

Thanks a lot , again!

Best


All times are GMT -5. The time now is 07:07 AM.