[opencms-dev] file permissions on synchronized files

Thomas Gagné tgagne at wideopenwest.com
Fri Feb 13 04:31:01 CET 2004


Files created by the synchronization process are created like:

tgagne:/home/tgagne/work/opencms-5.0.1/system/modules/gagne.tgagne ls -l
total 40
   4 drwxr-xr-x    3 tomcat4  tomcat4      4096 Feb 12 10:34 classes
   4 drwxr-xr-x    2 tomcat4  tomcat4      4096 Feb 12 10:34 default_bodies
   4 -rw-r--r--    1 tomcat4  tomcat4       394 Feb 12 22:16 first.html
   4 drwxr-xr-x    2 tomcat4  tomcat4      4096 Feb 12 22:17 jsptemplates
   4 drwxr-xr-x    2 tomcat4  tomcat4      4096 Feb 12 10:34 lib
   4 -rw-r--r--    1 tomcat4  tomcat4       393 Feb 12 22:16 main.html
   4 -rw-r--r--    1 tomcat4  tomcat4       283 Feb 12 22:16 main.jsp
   4 -rw-r--r--    1 tomcat4  tomcat4       801 Feb 12 22:16 nav.html
   4 drwxr-xr-x    2 tomcat4  tomcat4      4096 Feb 12 22:09 resources
   4 drwxr-xr-x    2 tomcat4  tomcat4      4096 Feb 12 22:09 templates

which makes them difficult to edit as a user without first changing the 
file permissions.  Is that deliberate?  Even if the user were a member 
of the tomcat4 group they wouldn't be able to edit the file without 
adding group write permissions.  It's my box so I can be root, but I was 
just wondering.




More information about the opencms-dev mailing list