bug-coreutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: cp command


From: Bob Proulx
Subject: Re: cp command
Date: Tue, 19 Jul 2005 22:32:38 -0600
User-agent: Mutt/1.5.9i

Jim Meyering wrote:
> Please tell us what version you're using (cp --version),
> as well as the precise command you ran and the output
> and exit status it produced.

And also say what operating system this is (uname -a) and if possible
what type of filesystem (df -T will say the filesystem type).  I am
wondering if a networked filesystem is involved.

Patrick J Clas wrote:
> The script I'm running copies many files and some of them have
> permissions that prevent the preserve from working.

Can you show us an example of the permissions that prevent the
preserve from working?

Example of a small test case: (this one is normal behavior)

  mkdir /tmp/mytrial
  cd /tmp/mytrial
  touch foo
  chmod a-rwx foo
  ls -ldog foo
  ----------  1 0 2005-07-19 22:30 foo
  cp -p foo bar
  cp: cannot open `foo' for reading: Permission denied

Thanks
Bob




reply via email to

[Prev in Thread] Current Thread [Next in Thread]