script permissions - error while comparing DVD file
DaveM at Mich.Com
Mon Dec 4 20:38:36 UTC 2006
I am trying to use a bash script to compare a file on a DVD to a file on
my hard disk.
cmp /media/cdrom0/file1.junk /home/user/file1.junk
The permissions for /media/cdrom0/file1.junk are:
The permissions for /home/user/file1.junk are:
TestScript.sh: line 86: /media/cdrom0/file1.junk: Permission denied
Is there something special that I need to do in order to read a file
that is on a DVD from within a script?
This works from the command line.
Davem (at) Mich (dot) Com
Ann Arbor, Mich. USA
Inter-networked computers give you freedom.
The "Trusted Computing Platform" could take that freedom away.
More information about the ubuntu-users