fjmduran Posted June 5, 2019 Posted June 5, 2019 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 Please, any idea? Thanks,
wolstech Posted June 5, 2019 Posted June 5, 2019 Krydos is the one to answer this...lets have him take a look. 1
fjmduran Posted June 7, 2019 Author Posted June 7, 2019 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,
Krydos Posted June 9, 2019 Posted June 9, 2019 Rather than letting tomcat create the file you could try creating an empty file yourself that tomcat has permissions to write to.
fjmduran Posted June 9, 2019 Author Posted June 9, 2019 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
Recommended Posts