Windows | Nginx Mapped Hard Drive | Network Sharing

I also did use the Microsoft fix it that you posted itpp2012 so as of
what
actually fixed it i think it was probably the Microsoft option but i
don’t
need the file cache anyway.

Thanks for all the help much appreciated.

Posted at Nginx Forum:

After doing some more testing there is one way it does not work still.
When
Nginx runs on windows it runs under your user account. For example my
account name is root.

So it says nginx is running under the root user.
But when i restart the server(local machine) it says nginx is running
under
the SYSTEM user and that is when all files other than plain text give of
a
404 not found error.

Its a interesting issue maybe the SYSTEM user group in windows does not
have
access to the mapped hard drives ?

Posted at Nginx Forum:

I have little knowledge about Windows, but I know that the SYSTEM
account
is usually related to processes running as services.

SYSTEM has restricted rights on number of things, despite appearing as a
‘super-account’, an attempt from Windows to mitigate services
‘super-powers’.
It would not surprise me if SYSTEM was not authorized to access mapped
drives.

Try changing the user executing the service or try running nginx as a
normal user process.

B. R.

c0nw0nk Wrote:

I nulled out my open file cache and what do you know i can restart
nginx as much as i like and no issues. :slight_smile:

So it is open_file_cache that is incompatible with the network sharing
feature on windows.

It all depends what kind of host the sharing is done from, for instance
here
we use Debian(vm) as storage concentrator, nginx connects to Debian and
Debian connects and handles unlimited storage units creating a big pool,
and
we use open_file_cache without issues.

Posted at Nginx Forum:

c0nw0nk Wrote:

Its a interesting issue maybe the SYSTEM user group in windows does
not have access to the mapped hard drives ?

This is default behavior, ea:

OTOH, never run any service as SYSTEM if there is no need for it, always
create a user for a service and limits its rights (jail it).

Posted at Nginx Forum:

So does anyone know how to edit the SYSTEM account privileges if not i
have
a way around it anyway.

Posted at Nginx Forum: