Proftpd configuration question

Posted on 2006-11-06
Last Modified: 2013-12-16
Hello all,

I have setup Proftpd following the instructions provided in the following thread:

This works great, but being a newbie to Linux, I was wondering how I would accomplish a couple of things using the configuration given:

1. I would like users to be able to create subdirectories in their home folders, but the config given doesn't seem to let them do that. How would I grant permissions to do so?

2. Given that the permissions are not managed within Linux, how would I setup another user so that they could access and existing proftpd user's home folder in read only mode?

If someone could help me out with this, I'd appreciate it!!

Question by:kangsoh

Accepted Solution

PatG042800 earned 350 total points
ID: 17918329
1.  In the .htaccess file for the given folder you should have something along the following

<Limit  DELE RMD>

The details of each of the limit directives can be found here:

Note that the .htaccess file is normally hidden so you will have to do  #> ls -la to see it in a terminal or have "Show Hidden Files" option enabled in an x windows file manager.

Also from the link given be aware of the following:

"While limits can be used to restrict a command on a certain directory, they cannot be used to override the file permissions inherent to the base operating/file system."

2. To allow only certain users access to certain limits you need to use the AllowUser limit directive. For example the following would allow access to the folder for everyone but limit the other directives to "User1".

<Limit CWD RETR>
   AllowUser User1

more here

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

SSH (Secure Shell) - Tips and Tricks As you all know SSH(Secure Shell) is a network protocol, which we use to access/transfer files securely between two networked devices. SSH was actually designed as a replacement for insecure protocols that sen…
I. Introduction There's an interesting discussion going on now in an Experts Exchange Group — Attachments with no extension ( This reminded me of questions tha…
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.

863 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

23 Experts available now in Live!

Get 1:1 Help Now