I am the owner of said directory, yet I get a permission error ?
cd /home/andy/bin/
zip -u Ubuntu_Scripts.zip *.sh *.rb *.c
cp -u -f Ubuntu_Scripts.zip /media/andy/MAXTOR_SDB1/Linux_Files/
cp -u -f Ubuntu_Scripts.zip /home/andy/Backup_Files/
I am the owner of said directory, yet I get a permission error ?
cd /home/andy/bin/
zip -u Ubuntu_Scripts.zip *.sh *.rb *.c
cp -u -f Ubuntu_Scripts.zip /media/andy/MAXTOR_SDB1/Linux_Files/
cp -u -f Ubuntu_Scripts.zip /home/andy/Backup_Files/
Does the first cp, which writes to /media, gives you the error? check permissions … (or use sudo). The second cp should not give you errors.
Now it works. ??
Thanks for your help.
Sorry, it does not work without supplying password.
Any way to bypass that ?