This sounds like a umask issue.

If the default umask is set to 0027 then it will not allow other permissions.

Switch to root and run the following command to see the default file 
permissions:
umask -S
Sample Output if no other permissions:   u=rwx,g=rx,o=
This is also the same as 0027 umask.

You might be able to change the default for root or the default in the init.d 
MarkLogic script so that default is  0022 (which would be u=rwx,g=rx,o=rx).

This will likely change all files written by MarkLogic including the Forests.   
If you need the forests written without other read permissions and ErrorLog.txt 
written with other read permissions, then this will probably not help your 
issue.

Thanks,

Brad Rix | Technical Lead

[cid:[email protected]]<http://www.flatironssolutions.com/>
O: +1 303 542 2172 | M: +1 303 915 2771
Skype: Brad.Rix | Google Talk: [email protected]
[email protected]<mailto:[email protected]>
Flatirons Solutions, Inc. | Boulder, CO
www.FlatironsSolutions.com<http://www.flatironssolutions.com/>

From: [email protected] 
[mailto:[email protected]] On Behalf Of 
[email protected]
Sent: Monday, October 27, 2014 11:35 AM
To: [email protected]
Subject: [MarkLogic Dev General] Permissions for the Log File

Hi,

I have a query regarding Log file permissions.
By default, the permission is 640 for ErrorLog.txt & AuditLog.txt.
We want default permission to 644.  (let it be for all the log files)

Is there any way, it can be configured at MarkLogic level.

Thanks & Regards,
Abhijeet Singh
XOPS Production IT Services aUBS


_______________________________________________
General mailing list
[email protected]
http://developer.marklogic.com/mailman/listinfo/general

Reply via email to