Jeremy
> I'm not sure if this is a bug, or just a well known problem with a
> solution.
This does not sound like a bug but just normal UNIX file permissions.
> When using the "chmod" command on a file or directory that was previously
> copied using the "cp -rp" command, the mode will not change. Instead, I see
> the message, "Operation not permitted." However, if I run the "chmod"
> command on a file or directory that I newly create, the command is
> successful.
When you copy the files using 'cp -rp' the -p option preserves the
previous ownership and permissions. But if you do not own the file
then you cannot change the permissions. Check the owner of those
files after the copy and make sure that you have permission to do the
chmod operation.
When you copy the files with 'cp -r' without the -p option the
timestamps will all be new and you will own them all. Since you own
them you can chmod them.
Bob