LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   ProFTPd Configuration Help (https://www.linuxquestions.org/questions/linux-software-2/proftpd-configuration-help-31254/)

needamiracle 09-26-2002 02:06 PM

ProFTPd Configuration Help
 
Hi,

I did a search so please don't flame me for this one. My goal is to allow 4 users access to a specific directory structure. 2 with R/W on with just R. How do I accomplish this with ProFTP?

Regards,
Ryan

Tinkster 09-26-2002 08:29 PM

Re: ProFTPd Configuration Help
 
Quote:

Originally posted by needamiracle
Hi,

I did a search so please don't flame me for this one. My goal is to allow 4 users access to a specific directory structure. 2 with R/W on with just R. How do I accomplish this with ProFTP?

Regards,
Ryan

Gidday!

Not like I'm an expert on proftpd,
but I tend to think that if you have
real user accounts rather than anonymous
it all comes down to how you handle the file
permissions in general?
So you might want to put your users in different
groups, give one group write permission, and only
read for instance to others ... HIH.

Cheers,
Tink

mindwarp 09-28-2002 11:00 AM

This link may help you

I went to proftpd.net and found in the documents section configuration directives: allowuser and allowgroup. I then went to google and searched for proftpd and allowuser. Looks like the syntax would be similar with allow group

Then I read your post again and realised the above might not be exactly what you were looking for and went back to google again and found:

Code:

<Anonymous /home/ftp>
User ftp
Group ftp
UserAlias anonymous ftp

<Directory *>

<Limit WRITE>
DenyAll
</Limit>

</Directory>

<Directory incoming>

<Limit STOR>
AllowAll
</Limit>
<Limit READ>
DenyAll
</Limit>

</Directory>

</Anonymous>

Basically the important directive is going to be "limit". As you see by specifying which users can STOR (or write) to a directory and which users can READ from a directory that is probably what you want.

Mindwarp


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