shcmd chmod / chown triggered and logged repetitively is syslog


glave

Recommended Posts

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?

 

Link to comment

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.

Link to comment

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.