[EMAIL PROTECTED] said:
> I thought the -p option preserved the permissions. How can I preserve
> my files original permissions scheme (in directory B)?

The permissions being preserved are those of the copied file.  Any files that 
get copied over don't matter.

Did you try not preserving permissions in order to preserve them :-)  It looks 
like it works:

~/linux/html 1053: touch a b
~/linux/html 1054: chmod 321 a
~/linux/html 1055: ls -l a b
--wx-w---x   1 jdike    jdike           0 Aug 31 14:34 a
-rw-rw-rw-   1 jdike    jdike           0 Aug 31 14:34 b
~/linux/html 1056: cp b a
~/linux/html 1057: ls -l a b
--wx-w---x   1 jdike    jdike           0 Aug 31 14:34 a
-rw-rw-rw-   1 jdike    jdike           0 Aug 31 14:34 b

                                Jeff




_______________________________________________
techtalk mailing list
[EMAIL PROTECTED]
http://www.linux.org.uk/mailman/listinfo/techtalk

Reply via email to