On Mar 12, 2014 11:31 PM, "André Warnier" <a...@ice-sa.com> wrote: > > Lmhelp1 wrote: >> >> Hello and thank you for your answer. >> >> On 2014-03-12 11:54 AM, André Warnier wrote: >>> >>> If all you need to do, is to >>> 1) read those files, to look at them >>> 2) if they are ok, move them somewhere else >>> 3) if they are not ok, delete them >> >> >> That's it. >> >>> then (under Linux) you do not need write permissions to the files >>> themselves. >>> To be able to read a file, you need : >>> - read and "browse" (x) access to the directory where these files are, >>> and any directory above that one, up to "/". >>> To be able to move a file from one directory to another, you need write >>> permission to the source directory and the target directory (and not >>> necessarily to the file). >> >> >> Ok. >> > But there are probably a dozen ways to do this anyway (and I don't know enough to think of all of them). > 3) there are probably a couple more ways to do essentially the same, which I do not know and will leave it to someone else more qualified to suggest. >
How about setting up umask 002 on tomcat6 user? All newly created files would be have 775 permission. Who is placing these files into the webapp folder?