[Tutor] uid
Hans Gubitz
gubitz@netcologne.de
Sun, 16 Sep 2001 12:45:41 +0200
On Sat, Sep 15, 2001 at 07:21:14PM +0200, Joerg Woelke wrote:
> On Sat, Sep 15, 2001 at 10:58:41AM -0400, Rick Pasotto wrote:
> > On Sat, Sep 15, 2001 at 02:09:15PM +0200, Joerg Woelke wrote:
> > > On Sat, Sep 15, 2001 at 12:17:56PM +0200, Hans Gubitz wrote:
> > > > I want to cp a file and extract it to different users. I can do this
> > > > as root, but I want extract to be done with the uid of the user.
> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
> > > >
> > > os.suid()
> >
> > Did you *try* that? It doesn't exist on my system.
>
> Aeh sorry - os.setuid() *duck*
I will try it.
> > os.chown(user)
This way I would have to chown each file in the tar-File.
>
> Then I misunderstood the marked sentence.
I think you understood it the right way.
Hans Gubitz
--
Hans Gubitz <gubitz@netcologne.de>