Re: cp: cannot access -- Wha?
From: Michael Paoli (michael1cat_at_yahoo.com)
Date: 12/06/04
- Next message: Aryeh M. Friedman: "Inverting regex's"
- Previous message: John DuBois: "Re: PID of subshell forked with ()"
- In reply to: D. Alvarado: "cp: cannot access -- Wha?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: 5 Dec 2004 23:08:08 -0800
laredotornado@zipmail.com (D. Alvarado) wrote in message news:<9fe1f2ad.0412031318.61ff58a5@posting.google.com>...
> Hello, I have a script that is supposed to copy a file to a
> destination directory. Here is the part of the script that does the
> tab delimited file. When I run the script, I get thsi error
> > ./make_dictionary.sh -d /content/my/http/nsmedia/liveink/dictionary/ temp.tsv
> cp: cannot access /export/home/dalvorad/scripts/liveinkmaker/soundfiles/abandoned.mp3
> The permissions on the source file are
> rw-rw-r--
> and on the destination directory they are
> rw-rw-r--
^ ^ ^
You need "execute" (access) permission on a directory to do anything
with the contents of the directory. Without "execute" permission
on the directory, you can't cd into the directory and can't access or
stat anything in the directory (though read permission on the directory
will allow the names of the files (of any type) in the directory
itself to be determined).
- Next message: Aryeh M. Friedman: "Inverting regex's"
- Previous message: John DuBois: "Re: PID of subshell forked with ()"
- In reply to: D. Alvarado: "cp: cannot access -- Wha?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|