Re: Tomcat 5.5.15 running as a service or manually started... and trying to read a File
- From: ccjjharmon@xxxxxxxxx
- Date: 24 Mar 2006 12:28:56 -0800
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
.
- References:
- Prev by Date: Re: Are you a Rockstar in Java Programming ?
- Next by Date: Re: Correct use of State Pattern
- Previous by thread: Tomcat 5.5.15 running as a service or manually started... and trying to read a File
- Next by thread: Re: Tomcat 5.5.15 running as a service or manually started... and trying to read a File
- Index(es):
Relevant Pages
|