My Community Dashboard

  • Nick Howitt wrote:

    Ouch. If it is a single share, you could possibly investigate the SetUID or SetGID bit. Or can you put a recursive "chown" or "chuser"/"chgrp" at the end of your cron job? Otherwise you'll need to investigate giving "flexshare" some of root's permissions in /etc/sudoers or under /etc/sudoers.d/. The second option is probably the easiest. You wouldn't even need your flexshare user as you could use a proper user and/or group.

    After more investigation and tests, I decided to plan a chown on that particular directory at the end of every day ;-) . Thanks for helping again !