Latest LQ Deal: Linux Power User Bundle
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 12-10-2003, 08:41 PM   #1
Registered: Jul 2001
Distribution: Slackware 12
Posts: 511

Rep: Reputation: 32
Proftpd - See directory, not files

On my FTP server, I have a folder called "upload". What I want is for people to be able to see that the folder is there, and to be able to upload stuff into it, but not see the files that are inside it. Is there a way to accomplish this? Currently, they can't see the upload folder. This is my proftpd.conf:
ServerName			"ProFTPD Default Installation"
ServerType			inetd
DefaultServer			on
Port				21
Umask				022
MaxInstances			30
User				nobody
Group				nogroup
DefaultRoot ~

<Directory />
  AllowOverwrite		on

<Anonymous ~ftp>
  RequireValidShell		no
  User				ftp
  Group				ftp
  UserAlias			anonymous ftp
  MaxClients			10
  DisplayLogin			welcome.msg
  DisplayFirstChdir		.message

  <Limit WRITE>

  <Directory upload>
    <Limit LIST NLST>
    <Limit STOR>

Old 12-10-2003, 09:11 PM   #2
Senior Member
Registered: Sep 2003
Location: Sweden
Distribution: Debian
Posts: 3,032

Rep: Reputation: 58
Did you try removing execute permissions on the upload dir for everyone but root? The executable bit, when set on dirs, controls whether you can list the dir or not.

Just an idea...



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
ProFTPD directory link fail blither Linux - Software 0 09-22-2005 04:57 PM
Automatically Copying files from the ftp directory into the html directory swatward Linux - General 3 04-17-2005 11:55 PM
Directory Access in proftpd kruserm Linux - Software 4 01-04-2005 09:09 AM
RW access to a directory via FTP using ProFTPD borbzz Linux - Software 4 05-11-2004 11:23 PM
Proftpd, Anonymous Access, Directory Authentication bskouby Linux - Newbie 0 03-23-2004 04:08 PM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 04: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