Re: Copy a door?
From: Barry Margolin (barmar_at_alum.mit.edu)
Date: 07/30/04
- Previous message: Neil W Rickert: "Re: Copy a door?"
- In reply to: dust: "Re: Copy a door?"
- Next in thread: Thomas Schulz: "Re: Copy a door?"
- Reply: Thomas Schulz: "Re: Copy a door?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Thu, 29 Jul 2004 20:18:15 -0400
In article <MPG.1b7349d340a9c28b989928@news.alt.net>,
dust <powdery@dusty.stuff> wrote:
> In article <ceahd5$jtp$1@news.cs.tu-berlin.de>, js@cs.tu-berlin.de
> says...
> > In article <MPG.1b72048e99043ef5989925@news.alt.net>,
> > dust <powdery@dusty.stuff> wrote:
> > >How does one make a copy of a door file? (Solaris 8)
> >
> > It makes no sense.
> >
> > A door file is a file from DOORFS mounted on top of a usually
> > empty file.
> >
> > If you like to make a backup from a FS, you usually first create
> > a snapshot and mount it. This mounted snapshot does not include
> > the DOOR.
> >
> > If you use
> > star -copy ....
> >
> > the DOOR file will be "archived" as DOOR but extracted as plain file.
>
> Alright, then, allow me to be more specific...
>
> There may not be a way to copy a door file (or door represented by the
> empty "door" file) in the general sense, but is there a way to either
> copy or recreate /etc/.name_service_door?
>
> That's really what I was after. You see, I've "jailed" a user in a
> chroot environment, and that user needs to execute some commands that
> access /etc/.name_service_door. (Which means I need to somehow put a
> duplicate of that in the chroot environment.)
If the chroot environment is on the same filesystem as /etc, you should
be able to use a hard link.
-- Barry Margolin, barmar@alum.mit.edu Arlington, MA *** PLEASE post questions in newsgroups, not directly to me ***
- Previous message: Neil W Rickert: "Re: Copy a door?"
- In reply to: dust: "Re: Copy a door?"
- Next in thread: Thomas Schulz: "Re: Copy a door?"
- Reply: Thomas Schulz: "Re: Copy a door?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|