Yep, I'm inserting as an admin user.  I've found that if I open the original 
document and re-save to a different file, the import will work, so I suspect it 
has something to do with either the source document permissions or the document 
name.

--- Bob

From: Geert Josten [mailto:[email protected]]
Sent: Tuesday, April 14, 2015 4:06 AM
To: MarkLogic Developer Discussion
Subject: Re: [MarkLogic Dev General] mlcp permission error

Hi Bob,

Are you inserting documents as a non-admin user? As non-admin your user will 
need to have permission to insert the document at the given uri, into the given 
collection (potentially protected), and if the document pre-exists to replace 
the existing document (update permission for one of the users roles on the 
existing doc).

Cheers,
Geert

From: Robert De Vivo <[email protected]<mailto:[email protected]>>
Reply-To: MarkLogic Developer Discussion 
<[email protected]<mailto:[email protected]>>
Date: Tuesday, April 14, 2015 at 12:04 AM
To: "[email protected]<mailto:[email protected]>" 
<[email protected]<mailto:[email protected]>>
Subject: [MarkLogic Dev General] mlcp permission error

Hi,

I'm running mlcp.sh to import a group of 788 binary documents (a mix of PDF and 
DOCX), but only about half of the documents are successfully imported.  The 
rest are giving the error:

WARN mapreduce.ContentWriter: SEC-PERMDENIED: Permission denied

The input directory and files have all necessary permissions - could this be an 
issue with the documents themselves?  Is there any workaround?  I have turned 
on debugging as prescribed in the documentation, but I haven't seen any 
messages except the one above.

Thanks.

--- Bob
_______________________________________________
General mailing list
[email protected]
Manage your subscription at: 
http://developer.marklogic.com/mailman/listinfo/general

Reply via email to