kohanm schrieb:
The problem is when they click on the link to open the files that they
uploaded before they get a "forbidden" screen.

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.

The uploaded files could be accessible right away. How can I solve
this problem?

Maybe your Tomcat's umask is too restrictive? At the Bash command
prompt, see:

  help umask
  su -c umask www-data      # or whatever user your Tomcat runs as

If this happens to be the problem, try adding a more permissive umask to
$Tomcat/bin/catalina.sh :

  umask 022;

Michael Ludwig

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org
  "   from the digest: users-digest-unsubscr...@httpd.apache.org
For additional commands, e-mail: users-h...@httpd.apache.org

Reply via email to