LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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


Reply
  Search this Thread
Old 12-21-2007, 05:46 PM   #1
vonedaddy
Member
 
Registered: Aug 2004
Location: Philadelphia,PA
Posts: 185

Rep: Reputation: 17
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
 
Old 12-21-2007, 06:02 PM   #2
jailbait
LQ Guru
 
Registered: Feb 2003
Location: Virginia, USA
Distribution: Debian 12
Posts: 8,336

Rep: Reputation: 548Reputation: 548Reputation: 548Reputation: 548Reputation: 548Reputation: 548
Quote:
Originally Posted by vonedaddy View Post
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
 
Old 12-21-2007, 06:29 PM   #3
vonedaddy
Member
 
Registered: Aug 2004
Location: Philadelphia,PA
Posts: 185

Original Poster
Rep: Reputation: 17
The parent directory is already 750.
 
Old 12-21-2007, 10:26 PM   #4
jailbait
LQ Guru
 
Registered: Feb 2003
Location: Virginia, USA
Distribution: Debian 12
Posts: 8,336

Rep: Reputation: 548Reputation: 548Reputation: 548Reputation: 548Reputation: 548Reputation: 548
Quote:
Originally Posted by vonedaddy View Post
The parent directory is already 750.
Does the parent directory have the same owner and group as the child directory?

---------------------------
Steve Stites
 
Old 12-22-2007, 11:02 AM   #5
vonedaddy
Member
 
Registered: Aug 2004
Location: Philadelphia,PA
Posts: 185

Original Poster
Rep: Reputation: 17
Quote:
Originally Posted by jailbait View Post
Does the parent directory have the same owner and group as the child directory?

---------------------------
Steve Stites
Yes it does
 
Old 01-05-2008, 02:29 AM   #6
kimchee411
Member
 
Registered: Sep 2004
Posts: 30

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


Reply


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
Multiple users need to access files stpierrc Debian 2 12-25-2005 05:58 PM
to hide users from 'net' Ygrex Linux - Networking 0 11-24-2005 11:20 AM
all users have access to root owned files sakatola Linux - Security 2 07-22-2005 12:45 AM
Is it possible to hide users from the 'who' and 'w' commands? BxBoy General 8 03-30-2003 01:33 AM
Havin trouble allowing FTP users to access files and directories bripage Linux - Networking 9 04-15-2002 03:54 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 05:36 AM.

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