LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Hide files users do not have access to (https://www.linuxquestions.org/questions/linux-newbie-8/hide-files-users-do-not-have-access-to-608441/)

vonedaddy 12-21-2007 05:46 PM

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

jailbait 12-21-2007 06:02 PM

Quote:

Originally Posted by vonedaddy (Post 2998443)
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

vonedaddy 12-21-2007 06:29 PM

The parent directory is already 750.

jailbait 12-21-2007 10:26 PM

Quote:

Originally Posted by vonedaddy (Post 2998485)
The parent directory is already 750.

Does the parent directory have the same owner and group as the child directory?

---------------------------
Steve Stites

vonedaddy 12-22-2007 11:02 AM

Quote:

Originally Posted by jailbait (Post 2998623)
Does the parent directory have the same owner and group as the child directory?

---------------------------
Steve Stites

Yes it does

kimchee411 01-05-2008 02:29 AM

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:41 PM.