Register a domain and help support LQ
Go Back > Forums > Linux Forums > Linux - Networking
User Name
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.


  Search this Thread
Old 11-13-2003, 03:55 AM   #1
LQ Newbie
Registered: Oct 2003
Location: Atlanta, GA and Dallas, TX
Posts: 23

Rep: Reputation: 15
vsftpd single upload folder

Alright, I have vsftpd set up just the way I want it, but with one thing lacking. an upload folder.

I have a user, say, ftpuser, who can log in, view the files (he's chroot'ed into /var/ftp), download, whatever.
What I want to do is allow upload permissions to ONE folder, /var/ftp/upload
I don't think this matters, but this is a mounted folder as per:
mount --bind /mnt/nfsz/upload /var/ftp/upload
it should just work as a normal folder in that directory. I see how to give access to upload everywhere, but I haven't found how to allow upload access to just one folder.
Any help is appreciated.
Old 11-13-2003, 06:26 AM   #2
LQ Newbie
Registered: Apr 2003
Posts: 17

Rep: Reputation: 0
Hi Ringz,

do you tried to change permissions of the directories ?

Read the documentation of chmod (man chmod).
Deny the creating and deleting of files and directories in /var/ftp and all subdirectories (chmod -w -R /var/ftp).
Allow the creating and deleting of files and directories in the upload-directory (chmod +w /var/ftp/upload).
In the configfile of vsftp enable the upload ...

Old 11-13-2003, 01:59 PM   #3
LQ Newbie
Registered: Oct 2003
Location: Atlanta, GA and Dallas, TX
Posts: 23

Original Poster
Rep: Reputation: 15
awesome. thought it had to be something (else) in the vsftpd config file. now comes enabling write permissions when my nfs server disallows it. that's a whole different problem, but I bet I can figure it out pretty easily.


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

Similar Threads
Thread Thread Starter Forum Replies Last Post
vsftpd problems: cannot upload ricky_ds Linux - Software 1 08-22-2005 03:37 AM
Can't se folder after ftp upload steffa Linux - Networking 1 06-08-2005 08:40 PM
IglooFTP-PRO refuses to upload files in folder when I upload folder eBopBob Linux - Software 0 08-27-2004 05:52 AM
what folder do i upload my webpages too? pcdctr Linux - Newbie 1 07-24-2004 09:13 PM
Anonymous upload with vsftpd 1.1.0 Jesus0190 Linux - Software 0 01-04-2003 05:40 PM

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

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