LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 10-12-2004, 10:17 PM   #1
Jimbab
LQ Newbie
 
Registered: Aug 2004
Location: Tennessee
Distribution: Mandrake 10.0, Slackware 10.0
Posts: 9

Rep: Reputation: 0
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.
 
Old 10-12-2004, 10:54 PM   #2
darthtux
Senior Member
 
Registered: Dec 2001
Location: 35.7480° N, 95.3690° W
Distribution: Debian, Gentoo, Red Hat, Solaris
Posts: 2,070

Rep: Reputation: 47
Directories are supposed to be executable to be read
 
Old 10-12-2004, 11:01 PM   #3
Jimbab
LQ Newbie
 
Registered: Aug 2004
Location: Tennessee
Distribution: Mandrake 10.0, Slackware 10.0
Posts: 9

Original Poster
Rep: Reputation: 0
... -ahem- ... I knew that... -ahem-... -starts up SSH-

thanks.
 
Old 10-12-2004, 11:12 PM   #4
Jimbab
LQ Newbie
 
Registered: Aug 2004
Location: Tennessee
Distribution: Mandrake 10.0, Slackware 10.0
Posts: 9

Original Poster
Rep: Reputation: 0
It works! Yet another tidbit of knowledge I'll probably need later. Thanks again
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
proftpd User Upload Location Chryzmo Slackware 1 05-05-2004 09:34 PM
proftpd upload problem help help automicro Linux - Software 0 08-20-2003 08:32 PM
Proftpd upload problem kelper Linux - General 0 06-25-2003 08:40 PM
ProFTPd, all works except upload. vexer Linux - Software 0 06-17-2003 11:05 PM
Resuming upload with Proftpd JimKyle Linux - Networking 2 03-07-2002 10:30 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

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

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration