LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   group permissions (https://www.linuxquestions.org/questions/linux-newbie-8/group-permissions-263094/)

mikeghet 12-06-2004 12:47 AM

group permissions
 
i'm setting up an ssh server on fedora.

i can connect, read files, etc...


what i'm trying to do is limit access to all the files/folders on my box except one directory.

for instance, i can connect to the server and i setup the home directory to the location i ONLY want someone connecting to see.

/home/sshconnection/share

i have assigned an ID to a group and assigned the ssh../share to that group

but, when i connectect to it i can browse all the way up to root and everything else.

is there anyway I can say xyz group or at least xyz user has access to only a certain path? this can be done on windows, but i can't seem to figure out a way in linux to deny only one group access... i use chmod g+/-whatever and that eleiminate/grants for everyone, not a single group.

also, whatever 'user' or 'group' access i assign doesn't make a difference when connecting to the ssh server...all that matters for seeing folders/files is the 'others' access....strange to me.

i looked at chgrp, chmod, chown and don't see how to fix this.

any help would be nice.

MasterC 12-06-2004 03:49 AM

How about a chroot jail? Check out an application called jail:
http://jail.sf.net

Cool


All times are GMT -5. The time now is 01:14 PM.