Solved

Proftpd configuration question

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

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

http://www.experts-exchange.com/Manager/Operating_Systems/Linux/Q_20643880.html

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!!

Thanks,
Kang
0
Comment
Question by:kangsoh
[X]
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
3 Comments
 
LVL 8

Accepted Solution

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

<Limit CWD STOR RETR MKD RNFR RNTO>
 AllowAll
</Limit>
<Limit  DELE RMD>
  DenyAll
</Limit>

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

http://www.xdata.org/doc/proftpd.html#Limit

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>
 AllowAll
</Limit>
<Limit STOR  MKD DELE RMD>
   AllowUser User1
   DenyAll
</Limit>
<Limit RNFR RNTO>
  DenyAll
</Limit>

more here

http://www.proftpd.org/localsite/Userguide/linked/userguide.html
0

Featured Post

Microsoft Certification Exam 74-409

Veeam® is happy to provide the Microsoft community with a study guide prepared by MVP and MCT, Orin Thomas. This guide will take you through each of the exam objectives, helping you to prepare for and pass the examination.

Question has a verified solution.

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

If you have a server on collocation with the super-fast CPU, that doesn't mean that you get it running at full power. Here is a preamble. When doing inventory of Linux servers, that I'm administering, I've found that some of them are running on l…
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 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…
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
Suggested Courses

752 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