Jump to content

Recommended Posts

Posted
Hello
 
I want read bitacora.txt file that my java application generates for log. File is generated with permission 640 in javaLog folder. javaLog folder has 777 permission. I change bitacora.txt permission to 777, but when I reload page, permission change to 640 so I can not read file, I get a error http 401: could not read file “/home1/fjmduran/javaLog/bitacora.txt” as uid 4165

 

post-166228-0-30502100-1559738794_thumb.png

 

Please, any idea?

 

Thanks,

 

Posted

Thanks Krydos, now, file has 644 permission. Could you tell me which was the problem? So, if problem repets again, I being able to solve for myself.

 

Regards,

Posted

Rather than letting tomcat create the file you could try creating an empty file yourself that tomcat has permissions to write to.

Posted

I did it (to create empty file) before to write in helionet and open this topic, but when Tomcat wrote, permissions file changed to 640.

Thanks for your time

Guest
This topic is now closed to further replies.
×
×
  • Create New...