[SAK-18427] PermissionExceptions on startup of demo Created: 26-Apr-2010  Updated: 13-Jul-2010  Resolved: 13-Jul-2010

Status: CLOSED
Project: Sakai
Component/s: Metaobj
Affects Version/s: 2.7.x
Fix Version/s: 2.7.1

Type: Bug Priority: Major
Reporter: Alan Berg Assignee: Beth Kirschner
Resolution: Cannot Reproduce Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

Demo version of 2.7.x



 Description   

On startup the following permissions issues are generated

Added Security flag as not sure what the implications of incorrect permissions are:

2010-04-26 13:28:42,556 WARN main org.sakaiproject.metaobj.shared.mgt.impl.StructuredArtifactDefinitionManagerImpl - org.sakaiproject.exception.PermissionException user=admin lock=content.delete.any resource=/content/group/PortfolioAdmin/system/formCreate.xslt
2010-04-26 13:28:42,614 WARN main org.sakaiproject.content.impl.BaseContentService - SiteService could not find the site type
2010-04-26 13:28:42,793 WARN main org.sakaiproject.metaobj.shared.mgt.impl.StructuredArtifactDefinitionManagerImpl - org.sakaiproject.exception.PermissionException user=admin lock=content.delete.any resource=/content/group/PortfolioAdmin/system/formFieldTemplate.xslt
2010-04-26 13:28:42,803 WARN main org.sakaiproject.content.impl.BaseContentService - SiteService could not find the site type
2010-04-26 13:28:42,852 WARN main org.sakaiproject.metaobj.shared.mgt.impl.StructuredArtifactDefinitionManagerImpl - org.sakaiproject.exception.PermissionException user=admin lock=content.delete.any resource=/content/group/PortfolioAdmin/system/formView.xslt



 Comments   
Comment by Beth Kirschner [ 06-May-2010 ]

I would suggest this is not a security issue: at startup the osp/metaobj code deletes/re-adds several system files into the Portfolio Admin worksite (under the premise that the latest release of code may have updated them). There appears to be a permissions problem doing this with the demo build, where the defacto-user (admin) is not allowed to replace these files.

Comment by Beth Kirschner [ 09-Jul-2010 ]

The warnings may indicate that some internal configuration is incorrect, or it may indicate that someone has simply removed the delete.any permission for the admin user in the PortfolioAdmin worksite. It's hard to know which without being able to reproduce this problem, which I've been unable to do.

Is there a server where this occurs? If not, I'd suggest closing this as "unable to reproduce".

Comment by Alan Berg [ 09-Jul-2010 ]

Will test Tuesday against 2.7.x demo and then close if unable to reproduce

Comment by Alan Berg [ 13-Jul-2010 ]

Starting up the demo of 2.7.x
The permission error is not seen.

2010-07-13 12:01:07,734 WARN main org.springframework.beans.factory.config.PropertiesFactoryBean - Could not load properties from URL file:/home/aberg/Desktop/defect_density/sakai-2.7.x/pack-demo/sakai-demo-2.7-SNAPSHOT/sakai/placeholder.properties: /home/aberg/Desktop/defect_density/sakai-2.7.x/pack-demo/sakai-demo-2.7-SNAPSHOT/sakai/placeholder.properties (No such file or directory)
2010-07-13 12:01:07,736 WARN main org.springframework.beans.factory.config.PropertiesFactoryBean - Could not load properties from URL file:/home/aberg/Desktop/defect_density/sakai-2.7.x/pack-demo/sakai-demo-2.7-SNAPSHOT/sakai/local.properties: /home/aberg/Desktop/defect_density/sakai-2.7.x/pack-demo/sakai-demo-2.7-SNAPSHOT/sakai/local.properties (No such file or directory)
2010-07-13 12:01:07,736 WARN main org.springframework.beans.factory.config.PropertiesFactoryBean - Could not load properties from URL file:${sakai.security}security.properties: ${sakai.security}security.properties (No such file or directory)
2010-07-13 12:01:07,793 WARN main org.springframework.beans.factory.config.PropertyPlaceholderConfigurer - Could not load properties from URL file:/home/aberg/Desktop/defect_density/sakai-2.7.x/pack-demo/sakai-demo-2.7-SNAPSHOT/sakai//local.properties: /home/aberg/Desktop/defect_density/sakai-2.7.x/pack-demo/sakai-demo-2.7-SNAPSHOT/sakai/local.properties (No such file or directory)
2010-07-13 12:01:34,158 WARN main org.sakaiproject.content.impl.BaseContentService - SiteService could not find the site type
2010-07-13 12:01:34,249 WARN main org.sakaiproject.content.impl.BaseContentService - SiteService could not find the site type
2010-07-13 12:01:34,278 WARN main org.sakaiproject.content.impl.BaseContentService - SiteService could not find the site type
2010-07-13 12:01:35,434 WARN main org.sakaiproject.db.impl.BasicSqlService - Sql.ddl: missing resource: hsqldb/sakai_search_parallel.sql
2010-07-13 12:01:35,435 WARN main org.sakaiproject.search.transaction.impl.TransactionSequenceImpl - Failed to check transaction table, ignore for HSQLDB pre-1.9+ versions. Table not found in statement [select txid from search_transaction]
2010-07-13 12:01:35,435 WARN main org.sakaiproject.search.transaction.impl.TransactionSequenceImpl - Failed to get a transaction id, ignore for HSQLDB pre-1.9+ versions. Table not found in statement [select txid from search_transaction where txname = 'itemQueueLock']
2010-07-13 12:01:35,509 WARN main org.sakaiproject.search.journal.impl.JournaledFSIndexStorage - Recover Indexes not implemented, yet
2010-07-13 12:01:35,537 WARN main org.sakaiproject.db.impl.BasicSqlService - Sql.ddl: missing resource: hsqldb/sakai_search_parallel.sql
2010-07-13 12:01:35,768 WARN main org.sakaiproject.content.impl.BaseContentService - SiteService could not find the site type
2010-07-13 12:01:35,788 WARN main org.sakaiproject.content.impl.BaseContentService - SiteService could not find the site type
2010-07-13 12:01:35,798 WARN main org.sakaiproject.content.impl.BaseContentService - SiteService could not find the site type
2010-07-13 12:01:35,810 WARN main org.sakaiproject.content.impl.BaseContentService - SiteService could not find the site type
2010-07-13 12:01:35,819 WARN main org.sakaiproject.content.impl.BaseContentService - SiteService could not find the site type
2010-07-13 12:01:35,829 WARN main org.sakaiproject.content.impl.BaseContentService - SiteService could not find the site type
2010-07-13 12:01:35,836 WARN main org.sakaiproject.content.impl.BaseContentService - SiteService could not find the site type
2010-07-13 12:01:37,289 WARN main org.sakaiproject.emailtemplateservice.service.impl.EmailTemplateServiceImpl - no template found for: polls.notifyDeletedOption in locale
2010-07-13 12:01:37,678 WARN main org.springframework.jmx.support.JmxUtils - Found more than one MBeanServer instance. Returning first from list.
2010-07-13 12:01:37,861 WARN main org.apache.pluto.core.PortletContextManager - Servlet 2.4 or below detected. Unable to find getContextPath on ServletContext.
2010-07-13 12:01:38,540 WARN main org.sakaiproject.emailtemplateservice.service.impl.EmailTemplateServiceImpl - no template found for: sitemange.notifyAddedParticipant in locale
2010-07-13 12:01:38,551 WARN main org.sakaiproject.emailtemplateservice.service.impl.EmailTemplateServiceImpl - no template found for: sitemanage.notifyNewUserEmail in locale
2010-07-13 12:01:53,028 WARN main org.sakaiproject.tool.impl.ActiveToolComponent - missing dispatcher for tool: sakai-gradebook-helper

Generated at Sun Sep 22 08:33:10 CDT 2019 using Jira 8.0.3#800011-sha1:073e8b433c2c0e389c609c14a045ffa7abaca10d.