hey thanks! Your post gave me some insight in figuring it out. I did what you said but i did not see the message scroll by. but i figure from your example on how to actually write a bash script. And then i did some more googling based on different errors i still kept getting and then found that sudo commands work on "lukcybackup super" and not the normal luckybackup. So i opened luckybackup super user and added the file that contained the bash script and it worked beautifully.
so far so good. Thanks for your help unSpawn!
For all who has similar issue that I had, I wrote a script in gedit, like:
Code:
#!/bin/bash
sudo chmod -R 755 /your/folder
exit 0
save that file as name.sh (or whatever name you want) and then open luckybackup super user, not the normal luckybackup. you can open luckybackup super user in under applications, system tools.
Go to advance, and in the also execute field just add the name.sh file in there.
Use whatever command is applicable to you (ofcourse) instead of chmod. thats about it and it should run with no problem.