[opencms-dev] Unable to create resource in temporary project

Cyrill Brunschwiler cbrunsch at hsr.ch
Mon May 31 23:23:02 CEST 2004


Hi

I tried to do the following piece of work but opencms denied access,

prj = cms.createProject("Name", "Desc", "Users", "Projectmanager");       
cms.getRequestContext().setCurrentProject(prj.getId());
cms.createResource("/folder/", "newfolder", C_TYPE_FOLDER_NAME);

The users which runs the piece of code belongs indirectly to the
Groups Users and Projectmanager.
The folder "/folder/" exists and has public read/write access.

Did i miss anything?

regards,
Cyrill




More information about the opencms-dev mailing list