Re: Tomcat 5.5.15 running as a service or manually started... and trying to read a File




I just checked to see if I have it read from a local drive's folder,
and change the security on this folder what will happen. Here is the
results (only tested on the problem scenario of running as a service):

When service is running as local system, canRead() returns true when it
has system account with read privileges. When system account does not
have read privileges, canRead() returns false.

When service is running as my network account, canRead() returns true
when my network account has read privileges. When it does not have read
privileges, canRead() returns false.

End result: it worked as I expected. But apparently this issue only
appears when dealing with mapped drives???

If this is the case, what is the recommended procedure for reading
Files from remote file servers? Assuming there is no per-se server
(like an FTP server or WWW server) on this remote file server....

Chris Harmon

.



Relevant Pages

  • Re: UAC problem
    ... Wayne Yue wrote: ... MSI custom action and this works in Win2003 Server and earlier. ... doing this under the System account as noted. ... The fine MSDN page tells you exactly which privileges are required: ...
    (microsoft.public.vc.language)
  • UAC problem
    ... MSI custom action and this works in Win2003 Server and earlier. ... Server however it fails with error code 1314 ... privileges may be at play here assuming this is really the error (I suspect ... doing this under the System account as noted. ...
    (microsoft.public.vc.language)
  • Re: CGI apps break after DCPROMO an IIS6 server
    ... This is one of those things different on a DC vs a member server in regards ... The "built in" accounts have the minimum and necessary privileges to run ... >privileges listed in F1-help of IIS Manager UI required ...
    (microsoft.public.inetserver.iis.security)
  • Re: Win2000 Impersonation weirdness? (or is it a conundrum?)
    ... But why does the XP box work (allowing LogonUser calls from a process ... running without SE_TCB_NAME) while the Win2K does not? ... And what specifically do you mean by "system privileges"? ... > Is the server joined to a domain? ...
    (microsoft.public.security)
  • Re: Win2000 Impersonation weirdness? (or is it a conundrum?)
    ... But why does the XP box work (allowing LogonUser calls from a process ... running without SE_TCB_NAME) while the Win2K does not? ... And what specifically do you mean by "system privileges"? ... > Is the server joined to a domain? ...
    (microsoft.public.win2000.security)