Welcome to Soft32 Linux Forums!
FAQFAQ    SearchSearch      ProfileProfile    Private MessagesPrivate Messages   Log inLog in

how to make a directory invisible

 
   Soft32 Home -> Linux -> System Development RSS
Next:  [PATCH] add SBC-FITPC2 watchdog driver  
Author Message
zix

External


Since: Dec 10, 2008
Posts: 15



(Msg. 1) Posted: Mon Jul 20, 2009 9:04 am
Post subject: how to make a directory invisible
Archived from groups: comp>os>linux>development>system (more info?)

Hi,
I want to write a module which will make a directory invisible till
the gid is 140. I want to do this as I want to make it inaccessibe for
the root even(else i can use newgrp). Can anybody give any idea/
reference?

Thanks n Regards,
zix
Back to top
Login to vote
John Reiser

External


Since: Mar 08, 2009
Posts: 12



(Msg. 2) Posted: Mon Jul 20, 2009 9:10 am
Post subject: Re: how to make a directory invisible [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

> I want to ... make a directory invisible.

Mount a filesystem on top of the directory.

--
Back to top
Login to vote
Bill Marcum

External


Since: Dec 17, 2006
Posts: 154



(Msg. 3) Posted: Mon Jul 20, 2009 1:20 pm
Post subject: Re: how to make a directory invisible [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

On 2009-07-20, zix <zixenus.RemoveThis@gmail.com> wrote:
> Hi,
> I want to write a module which will make a directory invisible till
> the gid is 140. I want to do this as I want to make it inaccessibe for
> the root even(else i can use newgrp). Can anybody give any idea/
> reference?
>
> Thanks n Regards,
> zix

I'm not sure if even ACLs can make a file inaccessible to root. I think
selinux can. To make a directory invisible to other users, place it inside
a directory without read or execute permission.
Back to top
Login to vote
Display posts from previous:   
Related Topics:
RFC3971 - Does anyone know if RFC3971 support is being developed for Linux? It does not seem to be implemented in the mainline..

Size 8 bit, 16 bit, 32 bit and 64 bit systems. - I need to find out what is the size of following data structures in 8 bit, 16 bit, 32 bit, and 64 bit systems. struct....

Size 8 bit, 16 bit, 32 bit and 64 bit systems. - I need to find out what is the size of following data structures in 8 bit, 16 bit, 32 bit, and 64 bit systems. struct....

Access shared memory from kernel module - Hi All, I wanted to know if shared memory created in user space can be accessed from a loadable kernel module. Have no...

Controlling UART transmission of bytes - I'm programming an ARM's UART that comes with a library implementing the standard unix termios interface. Regarding..

[PATCH 2/3] make kernel threads invisible to /sbin/init - 1. rename reparent_to_init() to reparent_kthread() and export it 2. use init_pid_ns.child_reaper instead of..
       Soft32 Home -> Linux -> System Development All times are: Pacific Time (US & Canada) (change)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum

Categories:
 Windows
  Linux
 Mac
 PDA


[ Contact us | Terms of Service/Privacy Policy ]