I would like to set up a cron job that recusively does a chmod/chown on a directory (the dropbox directory).
This works when I execute the commands manually like:
sudo chown -R $USER ~/Dropbox sudo chmod -R u+rw ~/Dropbox
I tried to convert it into a cron job like this:
10 * * * * sudo chown -R $USER ~/Dropbox
But it doesn't seem to do the job.
How to do this?