Welcome to the most active Linux Forum on the web.
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 12-06-2004, 01:47 AM   #1
Registered: Aug 2004
Location: USofA
Distribution: fedora core < SUSE
Posts: 70

Rep: Reputation: 15
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.


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.
Old 12-06-2004, 04:49 AM   #2
LQ Guru
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu
Posts: 12,612

Rep: Reputation: 68
How about a chroot jail? Check out an application called jail:



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
group permissions nanjil SUSE / openSUSE 4 10-20-2005 02:51 PM
regarding group permissions zameer_india Linux - Networking 1 02-11-2005 05:07 AM
Group Permissions (m9.2) PaladinCowboy75 Mandriva 4 05-06-2004 09:20 AM
Group Permissions mallikarjun Linux - Security 4 07-03-2002 05:37 PM
group permissions once Linux - Newbie 5 06-02-2002 04:09 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 03:46 AM.

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