Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - General
User Name
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.


  Search this Thread
Old 09-15-2006, 12:35 PM   #1
LQ Newbie
Registered: Feb 2005
Posts: 27

Rep: Reputation: 15
FTP access to another directory


I have a couple of user accounts on my machine and I am looking for a way so that when I FTP into the machine and goto another users directory that I have permission to upload files to it.

I'm running vsftpd and I am able to see whatever folder I want on the machine so chroot doesnt seem to be the issue unless I don't quite understand how chroot works.

I don't want to bind their directory me either. I just want permission to upload.

I've added myself to their group spot:


But that doesn't seem to be it. How do I give myself permission to add files to another users directory via FTP?



Figured it out needed to change the folde rto 775 so that the group had read/write to it

Last edited by SharkBait; 09-15-2006 at 12:46 PM.
Old 09-15-2006, 12:42 PM   #2
Senior Member
Registered: Feb 2001
Location: Atlanta, GA
Distribution: Slackware
Posts: 1,823

Rep: Reputation: 121Reputation: 121
What are the permissions on the other users directory? They'll need to be write group if you are in the same group or worst case write other.

like: chmod 777 /home/someuser

Of course when you do that you open yourself up to secuity risks.
Old 09-15-2006, 03:30 PM   #3
Registered: Sep 2006
Location: Brno, Czech Republic
Distribution: Fedora
Posts: 56

Rep: Reputation: 15
for upload folders are usually used sticky bits I guess, look at man chmod

you can also create one shared directory and link from users directories to it


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 On
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Allow certain users access to a single directory using ssh/ftp, etc. griffey Linux - Security 5 01-10-2006 08:35 AM
ftp permissions access only in the one directory ataucuc Linux - Newbie 1 12-29-2005 10:53 AM
ftp permissions access only in the one directory ataucuc Linux - Newbie 1 12-27-2005 04:29 PM
RW access to a directory via FTP using ProFTPD borbzz Linux - Software 4 05-11-2004 10:23 PM
FTP exclusive directory access allancondino Linux - General 3 05-02-2002 06:15 AM > Forums > Linux Forums > Linux - General

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

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