LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 03-12-2012, 01:41 PM   #1
losvre
LQ Newbie
 
Registered: Feb 2012
Posts: 5

Rep: Reputation: Disabled
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
 
Old 03-12-2012, 06:20 PM   #2
bathory
LQ Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 13,165
Blog Entries: 1

Rep: Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032
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
 
Old 03-13-2012, 06:33 AM   #3
losvre
LQ Newbie
 
Registered: Feb 2012
Posts: 5

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by bathory View Post
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
 
Old 03-13-2012, 07:24 AM   #4
bathory
LQ Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 13,165
Blog Entries: 1

Rep: Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032
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.

Last edited by bathory; 03-13-2012 at 07:46 AM.
 
Old 03-13-2012, 09:11 AM   #5
losvre
LQ Newbie
 
Registered: Feb 2012
Posts: 5

Original Poster
Rep: Reputation: Disabled
Thanks a lot , again!

Best
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
vsftp after upload script sir-lancealot Linux - Server 2 05-18-2010 07:37 PM
vsftp not allowing upload Fredstar Linux - Newbie 2 11-28-2004 03:50 PM
Vsftp upload/download permission acbenny Linux - General 0 07-28-2004 10:17 AM
Upload with VSFTP Rage79 Linux - Security 5 01-21-2003 08:45 AM
anonymous upload with vsftp rachuba Linux - Software 0 12-29-2002 06:39 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 08:47 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration