Re: script permissions - error while comparing DVD file



Dave M <DaveM@xxxxxxxx> wrote:

Ubuntu v6.06

I am trying to use a bash script to compare a file on a DVD to a file on
my hard disk.

The command:
cmp /media/cdrom0/file1.junk /home/user/file1.junk

The permissions for /media/cdrom0/file1.junk are:
Permissions -r--r--r--

The permissions for /home/user/file1.junk are:
Permissions -rw-r--r--

The error:
TestScript.sh: line 86: /media/cdrom0/file1.junk: Permission denied

This looks like you try to execute /media/cdrom0/file1.junk.
If cmp can't open the file the msg would look like
cmp: /media/cdrom0/file1.junk: Permission denied


How exactly does line 86 of TestScript.sh look?





Florian
--
<http://www.florian-diesch.de/>

--
ubuntu-users mailing list
ubuntu-users@xxxxxxxxxxxxxxxx
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users



Relevant Pages

  • Re: Upgrading to an IntelMac- a surprise.
    ... Interesting - the i5 takes about 15 minutes to rip a commercial DVD to ... an old computer could compare with newer. ... A lot of older computers can compare very well with newer computers when ... They could do that because the Mac hardware and software were designed ...
    (uk.comp.sys.mac)
  • Re: Panasonic DVX100A
    ... Compare them after squishing the pictures into MPEG2 for DVD? ... I'd be happier to up convert to higher spec format and compare there if you ... But if you want to make them look very similar then go the DVD route. ... >> alone cost almost double the price of the entire DVX-100A camera. ...
    (rec.video.production)
  • RE: God Im fed up!
    ... (CD/DVD, hard disk, Lacie external hard disk) ... DVD reliably without CRC errors - even in safe mode at the lowest write ... Should my machine be capable of writing clean CD/DVDs (why do laptop ... least I can rebuild the machine myself. ...
    (microsoft.public.windowsxp.newusers)
  • Re: Rachel in Silent Witness
    ... >> Had I witnessed it I would have remained silent but I was too busy ... which includes an 80GB hard disk drive to which one can record ... > first and then - after editing as required - copy to DVD. ... programme guide to pick programmes rather than set times. ...
    (rec.arts.tv.uk.eastenders)
  • IO performance problems when writing to DVD-RAM/ZIP/MO
    ... I did some searching to see if I can get the count of dirty buffers on a ... Hard disk and DVD together. ... when I run dd on both DVD and HDD together even the HDD ...
    (Linux-Kernel)