You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Pete L <pe...@gmail.com> on 2008/03/27 23:47:05 UTC

Vista SP1 -- file.io always writes files as BUILTIN\Administrators

Hi, yes I know the greater question is, why am I running a webserver on
Vista... the reason is that I built a powerful Media center PC which doubles
as a webserver.

Anyway, I upgraded to SP1 at the same time I upgraded to Tomat 6.0.16 --
which fixed some problems I was having configuring Liferay.

But now my deployments of Jurgen Weber's wonderful jFM and jGallery are not
behaving.

The idea is that my users can upload zip files full of photos via jFM, then
hit the directory with jGallery to generate thumbnails and view the album.

Since my last update, jGallery keeps getting a "permission denied" when
manipulating images that were uploaded with jFM.

I made sure there were no handles still on any files.

The odd thing is that all uploaded files are owned by
BUILTIN\Administrators, even though I have the Tomcat service running under
my login ("Pete" -- which is an administrator).

Before my "upgrade", all files uploaded via jFM or manipulated/written by
jGallery were owned by my login "Pete".

UAC is turned off.  Running tomcat from startup.bat does not fix the
problem.

Windows permissions are so lame!

Any ideas?  Thanks!
pete
-- 
View this message in context: http://www.nabble.com/Vista-SP1----file.io-always-writes-files-as-BUILTIN%5CAdministrators-tp16340045p16340045.html
Sent from the Tomcat - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


RE: Vista SP1 -- file.io always writes files as BUILTIN\Administrators

Posted by Peter Crowther <Pe...@melandra.com>.
> From: Pete L [mailto:pete.lamborne@gmail.com]
> Windows permissions are so lame!

Personally, I prefer NTFS permissions to old-school UNIX ;-).  More flexibility.  And I'm no Windows fan!

> Any ideas?  Thanks!

Process Monitor (http://technet.microsoft.com/en-gb/sysinternals/bb896645.aspx) is your friend - you can at least work out what Tomcat's *actually* running as, and what it's doing as it saves the files.  This may help.

I assume the service pack didn't hack at any of your DACLs further up the directory structure, in a helpful attempt to make the system more secure?

                - Peter

---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Re: Vista SP1 -- file.io always writes files as BUILTIN\Administrators

Posted by Hassan Schroeder <ha...@gmail.com>.
On Thu, Mar 27, 2008 at 3:47 PM, Pete L <pe...@gmail.com> wrote:
>
>  Hi, yes I know the greater question is, why am I running a webserver on
>  Vista... the reason is that I built a powerful Media center PC which doubles
>  as a webserver.

>  Any ideas?

In the absence of any experience with Vista, I'll suggest getting a
copy of VMware and running your web server in a VM under your
choice of BSD/Linux/Unix.   :-)

Seriously. Lif'e's too short.

FWIW,
-- 
Hassan Schroeder ------------------------ hassan.schroeder@gmail.com

---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org