I am in the middle of create a local FTP server and I need this script to run when the machine boots up:
#!/bin/bash while [ 1 ]; do chmod 2777 /home/ftp/folder; chmod -R 777 /home/ftp/folder; sleep 60; done
Which is the best way to go about this?
I have tried to put it in the rc.local file but this doesn't allow the server to boot properly at all, also this script needs to be ran as sudo, if that will make a difference within the the script is ran.
Any help or ideas would be appreciated, Thanks.