trying to run a script in Ubuntu 14.04.
$ bash MirroirHome
works great
but
$ ./MirroirHome
bash: ./MirroirHome: Permission denied
$ ls -l
total 32
-rwxr-xr-x 1 gerald gerald 214 nov 14 15:44 MirroirHome
I own the file and the enable bit is enabled, what happens?
In this case, the script matters.
#!/bin/bash
rsync \
--archive \
--verbose \
--compress \
--update \
--delete \
/home/ /media/Data/MirroirHome
source
share