Re: Linux SSL Permission for htdocs directory

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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-unsubscribe@xxxxxxxxxxxxxxxx
  "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx


[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux