[opencms-dev] file permissions on synchronized files

M Butcher mbutcher at grcomputing.net
Fri Feb 13 18:07:02 CET 2004


Hmmm... good point. I'd never really paid any attention to that. Would 
be nice to be able to change the group and umask. As long as Tomcat's 
user can read and write to it, you should be able to set the permissions 
to something else.

Matt

Thomas Gagné wrote:
> 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.
> 
> _______________________________________________
> This mail is send to you from the opencms-dev mailing list
> To change your list options, or to unsubscribe from the list, please visit
> http://mail.opencms.org/mailman/listinfo/opencms-dev




More information about the opencms-dev mailing list