Web Hosting Talk







View Full Version : Changing Anonymous FTP permissions?


Andrew Pakula
07-31-2001, 07:17 PM
How do I change the permissions of Anonymous FTP access?

I want the user to have rights to view the directory, upload(resume upload?), download and be able to delete the files there as well.

What do I need to change to accomplish this?

Chicken
07-31-2001, 10:03 PM
Make them a full FTP user. An anonymous FTP can't do all of that, they aren't supposed to, and they shouldn't be able to.

Andrew Pakula
07-31-2001, 11:07 PM
OK in proftpd.conf I edited it to be like this, will this work?
Do I have to reset the server for it to work?


<VirtualHost 216.40.198.179>
DefaultRoot / admin
DefaultRoot ~/../.. site-adm
DefaultRoot ~ !site-adm
AllowOverwrite on
DisplayLogin .ftphelp
<Anonymous /home/sites/site10/ftp>
User SITE10
Group ftp
UserAlias anonymous SITE10
UserAlias guest SITE10
MaxClients 2
AllowOverwrite on
</Anonymous>
</VirtualHost>

Chicken
08-01-2001, 12:29 AM
I honestly don't know, but give it a day or so and maybe someone else can help you out. Sorry :(

Andrew Pakula
08-01-2001, 12:41 AM
I think I may have figured it out.
Disreguard the above code because its garbage.

I think there is another file I have to edit in addition to proftpd.conf otherwise it keeps getting overwritten.

Andrew Pakula
08-01-2001, 09:13 PM
Why won't this work????
I want anonymous users to be able to view/list and download what is in the incoming directory.



<Anonymous /home/sites/site10/ftp>
User SITE10
Group ftp
UserAlias anonymous SITE10
UserAlias guest SITE10
MaxClients 2
<Directory *>
<Limit WRITE>
DenyAll
</Limit>
</Directory>
<Directory /home/sites/site10/ftp/incoming>
Umask 002
<Limit STOR>
AllowAll
</Limit>
<Limit READ>
AllowAll
</Limit>
</Directory>
</Anonymous>:angry: :angry: