Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the 'CpMac a bad choice' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
CpMac a bad choice
Authored by: coyote on Apr 22, '03 04:47:15PM
Additionally, CpMac does not preserve permissions

It does if you use the '-p' flag:
CpMac -r source target

[ Reply to This | # ]

-p flag
Authored by: gatorparrots on Apr 22, '03 07:49:08PM
The -p flag on CpMac does not mean the same thing as the -p flag on cp. Note the fine difference (from man CpMac):
CpMac - copy files preserving metadata and forks

     -p    Causes CpMac to preserve in the copy as many of the modification
           time, access time, file flags, file mode, user ID, and group ID as
           allowed by permissions.


[ Reply to This | # ]