LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   FTP Server fun (https://www.linuxquestions.org/questions/linux-general-1/ftp-server-fun-17236/)

bobthebat 03-28-2002 07:03 PM

FTP Server fun
 
I want to set up an ftp server on my linux box, but all of the files I want to host are on a fat32 partition for windows. Normally this is no problem, but I am running into some difficulty because I want to be able to have different file permissions for different users, but fat32 does not support file permissions. Is there any kind of ftp server that will let me create permissions, for instance saying 'only users in group X can download from this folder' or 'users in group Y can't download anything', without specifying these permissions on the filesystem level?
Thanks very much,
bobthebat

Manish 03-28-2002 11:42 PM

Can't you create soft-links to those directories instead and set permissions on these links ??

bobthebat 03-29-2002 12:03 AM

wow, why is everyone so much smarter than me? :) thanks for your help.

bobthebat 03-31-2002 12:29 AM

OK, this is great in theory, but the problem is how do I maintain it? I have set up all of my links, and its fine for now, but later on, when I have more files and users, I will manually have to change stuff each time I add or remove a file. Is there some way I can automate this, or even some other solution?
thanks, bobthebat

blank 03-31-2002 01:16 AM

heh, i'd be happy figuring out HOW to setup my own ftp server...

Mik 03-31-2002 11:19 AM

You could do the links at a directory level instead of for each file. I assume the directories wouldn't change as often as the files.
But alternatively you could run a script from a cron job that creates any symbolic links which aren't there yet.

Sixpax 03-31-2002 12:21 PM

Do a "man ftpaccess" and look at the sections for restricted access.


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