glave Posted January 5, 2017 Share Posted January 5, 2017 My syslog is getting filled with entries like: Jan 5 14:01:01 arcade emhttp: shcmd (64291): chmod 0777 '/mnt/user/downloads' Jan 5 14:01:01 arcade emhttp: shcmd (64292): chown 'htpc':'unraid users' '/mnt/user/downloads' This seems to coincide with a cronjob that I have running, which does execute a chmod/chown, which looks like this: chown -R nobody:users /mnt/user/downloads/.tmp chmod -R 0755 /mnt/user/downloads/.tmp What exactly would be triggering the chown / chmod from unraid? It's not even changing the directory that my cron script is changing. Am I doing something in a poor manner that I should change, or could I at least mute that shcmd from appearing in syslog? Quote Link to comment
Squid Posted January 5, 2017 Share Posted January 5, 2017 Every minute unRaid's share system looks for changes to root folders, and adjusts the permissions of the root folder as necessary.. Why it's doing a chown to htpc:unraid users I'm not sure as mine does it to nobody:users Quote Link to comment
glave Posted January 5, 2017 Author Share Posted January 5, 2017 I understand the htpc:unraid users, as I have Active Directory enabled, and that's the AD initial owner/group. What I can't understand is why that's getting logged to syslog. My cron script isn't touching the permissions of the root of the share, it's hitting the .tmp subfolder of it. Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.