Help answer threads with 0 replies.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 05-23-2002, 09:43 PM   #1
Registered: Aug 2001
Location: Brandon, FL
Distribution: Slackware All The Way Baby!
Posts: 31

Rep: Reputation: 15
Exclamation making a restricted group

i dont know if this is a newbie question....but here is goes....i run an ftp server with game updates for my friends and such, but when you log in via ftp you can always go up a level or 2 to root....i was wondering if there was a way to make an ftp group and make some directories and add those dirs to the ftp this possible? cause i just dont want people being able to see my apache configs and stuff like that and other config files i have on there....i run slack 8.0 with kernel 2.4.something......i thought there was a way to make is so they can still go into the dirs not in the group but they would show up empty if they tried to view the contents......the "jail" dir wont work cause the dirs i need them to access are all branches off root....actually HD's mounted in dirs...for example /60gig/files/..../80gig/files/...../40gig/files/....etc...the files dirs are the ones i want the ftp group to be able to access but nothing outside of those dirs.....any suggestions? im stumped.....

Old 05-24-2002, 04:16 AM   #2
Senior Member
Registered: Dec 2001
Location: The Netherlands
Distribution: Ubuntu
Posts: 1,316

Rep: Reputation: 47
How about mounting all those harddrives into something like /hds and then create a chroot jail in /hds for that group of users.
If you still use the /80gig and /60gig etc for other things you can just make those symbolic links to /hds/80gig and /hds/60gig etc.
If you want the users only to access the files directory on each of those drives then you'll have to set the permissions so they can't view the contents of any of the other files or directories.
Old 05-24-2002, 01:08 PM   #3
Registered: Aug 2001
Location: Brandon, FL
Distribution: Slackware All The Way Baby!
Posts: 31

Original Poster
Rep: Reputation: 15
what permissions do i take off so that they cant view the contents? another problem im having...cause i tried just using symbolic links to the places i wanted them to go....but when you ftp in...the links dont show up....but they do when you ssh in....i dont know if its proftpd or what....but every ftp client i have used does it....cute...wsftp...smartftp etc....


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
well, there's info written inside /etc/group. accidentally del /etc/group in RedHat9 karmakid Red Hat 1 07-27-2005 10:27 PM
making a user to run file (group) Paxmaster Linux - General 2 02-11-2005 06:14 PM
Group Admin, Group Root, or God over Group crickett Linux - General 5 07-12-2004 04:01 PM
Making A Linux Domain Or Work Group skhurram77 Linux - Networking 2 02-21-2002 04:31 AM
[alert] (22) Invalid argument : setgid : unable to set group id to Group 4294967295 Niraj Linux - Networking 1 12-13-2001 06:58 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 12:44 PM.

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