LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 01-06-2003, 01:01 AM   #1
Half_Elf
LQ Guru
 
Registered: Sep 2001
Location: Montreal, Canada
Distribution: Slackware; Debian; Gentoo...
Posts: 2,163

Rep: Reputation: 45
Ftp Daemon


I'm looking for a Ftp Daemon that is not using the Unix files right... I want to put right on a Fat32 FS.

Very hard to find... Anyone know?
 
Old 01-06-2003, 03:15 AM   #2
Mik
Senior Member
 
Registered: Dec 2001
Location: The Netherlands
Distribution: Ubuntu
Posts: 1,316

Rep: Reputation: 47
Why is this a problem? I've never specifically tried it, but as far as I know the filesystem doesn't make a difference to the ftp daemon. At least it shouldn't. You just have to make sure the ftp daemon has the proper permissions to access the fat32 partition.

Or am I reading your question wrong?
 
Old 01-06-2003, 02:26 PM   #3
Half_Elf
LQ Guru
 
Registered: Sep 2001
Location: Montreal, Canada
Distribution: Slackware; Debian; Gentoo...
Posts: 2,163

Original Poster
Rep: Reputation: 45
Well, most ftp daemon use the unix file right and ownership. Fat32 doesn't support right or ownership change, of course. Habitually, I'm mounting my Fat32 partition with read&write for the users group, so MY personnal user (the user I'm personnaly using instead of root...) can modify the partition.
I have a dual boot system (I need windoze sometime to do my university homework) all my "important" (homeworks, music files, movie, archive) files are on the FAT32 partition, so I'm able to use is either in linux or windoze.

But I want my "ftp user" (mostly friend, but also some people I don't know or trust too much) to be able to write in some directory of that partition, but to have read only right in some other directory... Because I can only give a "global" file right and ownership to Fat32 partition at mount, it's very hard to do.
So I'm looking for a ftp daemon able to put right and ownership on Fat. I'm currently using one, but the last update of the software was made by his author 3 long years ago, and he stop working on it then. So I'm not really sure I can trust this software.
 
Old 01-07-2003, 08:45 AM   #4
Mik
Senior Member
 
Registered: Dec 2001
Location: The Netherlands
Distribution: Ubuntu
Posts: 1,316

Rep: Reputation: 47
I've never tried it like this, but according to the documentation on the proftpd site you should be able to do something like this:

Code:
# disable writing to the fat32 drive
<Directory /mnt/fat32>
  <Limit WRITE>
    DenyAll
  </Limit>
</Directory>

# allow storing files in the upload directory
<Directory /mnt/fat32/upload/*>
  <Limit STOR>
    AllowAll
  </Limit>
</Directory>
I haven't tested any of this. But proftpd is pretty flexible in setting up specific permissions for files and directories. You should read the documentation for more information.

You can also create a .ftpaccess file in a specific directory which will contain a Limit directive.
 
Old 01-07-2003, 06:31 PM   #5
Half_Elf
LQ Guru
 
Registered: Sep 2001
Location: Montreal, Canada
Distribution: Slackware; Debian; Gentoo...
Posts: 2,163

Original Poster
Rep: Reputation: 45
Ok Thanx, I will try it
 
  


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
Recommended FTP Daemon kaon Slackware 2 01-14-2005 09:33 PM
Which FTP daemon should I use? neocookie Linux - Software 4 10-22-2004 09:25 AM
Starting FTP Daemon baunemann Linux - Networking 4 03-14-2004 10:07 AM
What ftp daemon? filth Linux - Software 1 05-03-2003 10:52 PM
Need a very to use ftp daemon hydro Linux - Software 1 02-18-2003 12:48 AM

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

All times are GMT -5. The time now is 12:58 AM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration