tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Christopher Schultz <ch...@christopherschultz.net>
Subject Re: Permission problems for [Uploaded] files
Date Thu, 15 Jan 2009 16:20:59 GMT
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

MK,

kohanm wrote:
> The Java program save upload files on  the Apache/htdocs directory.
> To solve that I have to run following command for the htdocs directory.
> chmod 755 the_name_document.
> 
> After that the users can access their files.

What permissions and file mode do the files get before you run chmod?

You might have to change the umask of the Tomcat process in order to
write files properly to that directory.

- -chris
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAklvXY8ACgkQ9CaO5/Lv0PArcgCfWnzWcyqKi3E6j0OCOjPEaQvt
bC4AoKgdP98zBqPBT80uh1tLLlyPf9ZD
=3NDH
-----END PGP SIGNATURE-----

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


Mime
View raw message