ProFTPD Upload/Write Permissions (Help, Please!)
I'm running an FTP server on my Slack 10.0 box and I'm wanting the directory with everything in it (/cifs/pub) to have read/write permissions for root and read only permissions for all other users (including people who log onto the server).
Here is the ls-l output:
root@Homeportal:/cifs# ls -l
total 4
drw-r--r-- 8 root root 4096 2004-10-12 22:05 pub
And my proftpd.conf:
# To cause every FTP user to be "jailed" (chrooted) into their home
# directory, uncomment this line.
DefaultRoot ~
# Normally, we want files to be overwriteable.
AllowOverwrite off
# Bar use of SITE CHMOD by default
<Limit SITE_CHMOD>
DenyAll
</Limit>
# A basic anonymous configuration, no upload directories. If you do not
# want anonymous users, simply delete this entire <Anonymous> section.
<Global>
LoginPasswordPrompt off
AccessDenyMsg "HAHAHHA! No soup for you!"
AccessGrantMsg "... So, you got in! Well, hi.. "
AllowOverwrite off
AllowRetrieveRestart on
ServerIdent on "HI!"
DefaultChdir /cifs/pub
RootLogin off
DisplayGoAway ""Too many people!! Are you trying to break me??? SHEESH. Give it a rest!""
DisplayLogin ""Welcome! Please, leech, and enjoy!""
UseFtpUsers on
WtmpLog on
DefaultRoot /cifs/pub /cifs/pub
DefaultRoot /cifs/pub /cifs/pub
DefaultRoot /cifs/pub /cifs/pub
AllowForeignAddress off
AllowStoreRestart off
DeleteAbortedStores on
PathAllowFilter ""
DisplayQuit ""Yeah, well, good riddance! See if I ever serve YOU any files any more!""
PathDenyFilter *
<Limit WRITE>
DenyAll
</Limit>
</Global>
TimeoutIdle 99999999999999
TimeoutNoTransfer 0
TimeoutStalled 2
DefaultChdir /cifs/pub
DefaultRoot /cifs/pub
It works just fine on SSH, I can look at the folder, but when I attempt to use CoreFTP to get to /cifs/pub, I get "Permission Denied" (also the some results with the Windows FTP client).
The <Limit WRITE> DenyAll </Limit> under Global was an attempt to see if it would work- It didn't.
Any help would be greatly appreciated, both to by my hair which I'm about to rip out of the brain somewhere under it.
Last edited by Jimbab; 10-12-2004 at 10:49 PM.
|