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
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions

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

Get MongoDB database support online, now!

At Percona’s web store you can order your MongoDB database support needs in minutes. No hassles, no fuss, just pick and click. Pay online with a credit card. Handle your MongoDB database support now!

Question has a verified solution.

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

I am a long time windows user and for me it is normal to have spaces in directory and file names. Changing to Linux I found myself frustrated when I moved my windows data over to my new Linux computer. The problem occurs when at the command line.…
Google Drive is extremely cheap offsite storage, and it's even possible to get extra storage for free for two years.  You can use the free account 15GB, and if you have an Android device..when you install Google Drive for the first time it will give…
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…
Connecting to an Amazon Linux EC2 Instance from Windows Using PuTTY.
Suggested Courses

630 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