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! |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
12-21-2007, 06:46 PM
|
#1
|
Member
Registered: Aug 2004
Location: Philadelphia,PA
Posts: 185
Rep:
|
Hide files users do not have access to
I have a directory on my ftp server which is private. I have allowed only a certain group rights to it. The problem is when normal users log in to ftp they can see it, but when then enter it, it looks empty. Is there a way I can hide it all together from people without any rights to it?
using vsftp on fedora 8
|
|
|
12-21-2007, 07:02 PM
|
#2
|
LQ Guru
Registered: Feb 2003
Location: Virginia, USA
Distribution: Debian 12
Posts: 8,360
|
Quote:
Originally Posted by vonedaddy
I have a directory on my ftp server which is private. I have allowed only a certain group rights to it. The problem is when normal users log in to ftp they can see it, but when then enter it, it looks empty. Is there a way I can hide it all together from people without any rights to it?
using vsftp on fedora 8
|
Set the permissions to the parent directory of the one you do not want displayed to 770.
--------------------------
Steve Stites
|
|
|
12-21-2007, 07:29 PM
|
#3
|
Member
Registered: Aug 2004
Location: Philadelphia,PA
Posts: 185
Original Poster
Rep:
|
The parent directory is already 750.
|
|
|
12-21-2007, 11:26 PM
|
#4
|
LQ Guru
Registered: Feb 2003
Location: Virginia, USA
Distribution: Debian 12
Posts: 8,360
|
Quote:
Originally Posted by vonedaddy
The parent directory is already 750.
|
Does the parent directory have the same owner and group as the child directory?
---------------------------
Steve Stites
|
|
|
12-22-2007, 12:02 PM
|
#5
|
Member
Registered: Aug 2004
Location: Philadelphia,PA
Posts: 185
Original Poster
Rep:
|
Quote:
Originally Posted by jailbait
Does the parent directory have the same owner and group as the child directory?
---------------------------
Steve Stites
|
Yes it does
|
|
|
01-05-2008, 03:29 AM
|
#6
|
Member
Registered: Sep 2004
Posts: 30
Rep:
|
Bump
I have basically the same question -- if it's possible to make restricted files "unbrowseable", i.e. only show certain files in a directory to members of that directory's group.
|
|
|
All times are GMT -5. The time now is 11:09 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|