Your MyDocs directory is probably on a FAT partition, thus doesn't support full file permissions. Also you should use user account when inside your /home/user. Devel-su "root" has not full permissions there. For convenience (although not necessary)I'd suggest you to save your scripts to /home/user/bin and/or /root/bin, add those directories to your $PATH and run those scripts as respective user they belong to.