<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2800.1106" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#d8d0c8>
<DIV><FONT face=Arial size=2>More about this:</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>It seems that this problem ocurrs when you unset
the read permission for others in a file (rwv rwv --- -). Perhaps the part of
the program that do the publishing is not acting as an Admin, so it needs the
read permission for others on the files.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>I want to hide some files to the guests until a
user log on as a registered user, but if i only unset the view flag, the file
remains visible. So, i have to unset the view AND read flags to hide it... but
when i do it, i get the exception.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Someone had the same problem ?</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Tnx</FONT></DIV>
<DIV><FONT face=Arial size=2>Emiliano</FONT></DIV>
<BLOCKQUOTE dir=ltr
style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
<DIV style="FONT: 10pt arial">----- Original Message ----- </DIV>
<DIV
style="BACKGROUND: #e4e4e4; FONT: 10pt arial; font-color: black"><B>From:</B>
<A title=eviera@sdd.com.ar href="mailto:eviera@sdd.com.ar">Emiliano Viera</A>
</DIV>
<DIV style="FONT: 10pt arial"><B>To:</B> <A title=opencms-dev@opencms.org
href="mailto:opencms-dev@opencms.org">opencms-dev</A> </DIV>
<DIV style="FONT: 10pt arial"><B>Sent:</B> Tuesday, January 20, 2004 4:37
PM</DIV>
<DIV style="FONT: 10pt arial"><B>Subject:</B> [opencms-dev] Exception in
permissions</DIV>
<DIV><BR></DIV>
<DIV><FONT face=Arial size=2>The first time i change the permission of a file,
it works great, but w</FONT><FONT face=Arial size=2>hen i try to restore the
permissions to the file</FONT><FONT face=Arial size=2>, im getting an
exception when i publish the site:</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><SPAN style="COLOR: #990000">Excepcioncom.opencms.core.CmsException: 31
Access denied to resource. Detailed error:
[com.opencms.file.mySql.CmsResourceBroker]
/default/vfs/Kraft/es/institucionales/responsabilidadsocial.html. <BR>at
com.opencms.file.genericSql.CmsResourceBroker.readFile(CmsResourceBroker.java:5213)<BR>at
com.opencms.file.CmsObject.readFile(CmsObject.java:2888)<BR>at
com.opencms.launcher.CmsLinkLauncher.launch(CmsLinkLauncher.java:102)<BR>at
com.opencms.launcher.A_CmsLauncher.initlaunch(A_CmsLauncher.java:274)<BR>at
com.opencms.file.CmsStaticExport.exportLink(CmsStaticExport.java:628)<BR>at
com.opencms.file.CmsStaticExport.<init>(CmsStaticExport.java:259)<BR>at
com.opencms.file.genericSql.CmsResourceBroker.exportStaticResources(CmsResourceBroker.java:4659)<BR>at
com.opencms.file.CmsObject.exportStaticResources(CmsObject.java:1523)<BR>at
com.opencms.file.CmsObject.publishProject(CmsObject.java:2453)<BR>at
com.opencms.workplace.CmsAdminPublishProjectThread.run(CmsAdminPublishProjectThread.java:65)<BR></SPAN><SPAN
style="COLOR: #990000"></SPAN></DIV>
<DIV><SPAN style="COLOR: #990000"><FONT face=Arial color=#000000 size=2>I am
logged as Admin. No matter what i do after this, i keep on getting this
exception in all the files i've changed the permissions.</FONT></SPAN></DIV>
<DIV><SPAN style="COLOR: #990000"><FONT face=Arial color=#000000
size=2></FONT></SPAN> </DIV>
<DIV><SPAN style="COLOR: #990000"><FONT face=Arial color=#000000 size=2>Does
anybody has any clue on how to solve this ?</FONT></SPAN></DIV>
<DIV><SPAN style="COLOR: #990000"><FONT face=Arial color=#000000
size=2></FONT></SPAN> </DIV>
<DIV><SPAN style="COLOR: #990000"><FONT face=Arial color=#000000
size=2>Thankx</FONT></SPAN></DIV>
<DIV><SPAN style="COLOR: #990000"><FONT face=Arial color=#000000
size=2>Emiliano</FONT></DIV></BLOCKQUOTE></SPAN></BODY></HTML>