|
Posted by Roger Abell [MVP] on September 6, 2007, 10:37 pm
Please log in for more thread options In addition to the well place warning about not using the
localsystem context . . .
A file is owned by the account context of the process that
creates the file. If a service running as local system creates
the file, if it is impersonating another account context at the
time (in the thread) the file will be owned by the account of
the creating context. If the localsystem context creates it in
its own context, and Windows is at the defaults of making
Administrators owner of objects created by members of the
Administrators group, then Administrators will be owner as
localsystem is a (hidden) member of Administrators.
Roger
"Pan Tao" <ban dian xing_hotmail_com> wrote in message
> hello,all
> I run a apache server one window 2003 as a service with user
> localsystem. Andit seemed that the file owner create by the
> service sometimes is administrators ,sometime the file owner
> is the owner of that directory. I just would like to know if
> a service run as localsystem,than what the file owner is
> Since localsystem is a special user.
> I hope I run the service, and have some user directories
> belong to different user, and if a file is created by the service ,
> the file owner equals to the file's parent directoy.
>
> many thanks,
>
> PanTao
>
>
>
|