• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Liutauras Vilda
  • Jeanne Boyarsky
  • Devaka Cooray
  • Paul Clapham
Sheriffs:
  • Tim Cooke
  • Knute Snortum
  • Bear Bibeault
Saloon Keepers:
  • Ron McLeod
  • Tim Moores
  • Stephan van Hulst
  • Piet Souris
  • Ganesh Patekar
Bartenders:
  • Frits Walraven
  • Carey Brown
  • Tim Holloway

the group can not write to file

 
Ranch Hand
Posts: 54
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi .
i used tomcat+cpanel in linux os . i set the tomcat group of a file but tomcat can not write to my file . the permission my file is 664 .
the os setting is :


root@panther [/home/domain/public_html]# ls -la
total 36
drwxr-x--- 4 domain nobody 4096 Oct 9 15:18 ./
drwx--x--x 11 domain domain 4096 Oct 9 15:17 ../
drwxr-xr-x 5 tomcat nobody 4096 Oct 8 19:26 ROOT/
drwxr-xr-x 5 jbeanir jbeanir 4096 Oct 17 2011 TEST/

the url of page is http://domain/TEST/newjsp2.jsp

please help me !
 
Saloon Keeper
Posts: 5593
144
Android Mac OS X Firefox Browser VI Editor Tomcat Server Safari
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
It doesn't look like the "tomcat" group would have access to the "TEST" directory - have you tried to give that 664 permissions? Is user "jbeanir" part of the "tomcat" group?
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!