Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: should a cp copied file retain original permissions?



cp -a
cp --archive

same as: cp -dR --preserve=all
same as: cp -dR --preserve=mode,ownership,timestamps,context,links,xattr

On Donnerstag 11 MÃrz 2010 16:08:42 zzapper wrote:
> Hi
> zsh on cygwin on windows7
> 
> 
> I frequently find that a file created by a copy (cp) has lost its
>  permissions such that I need to chmod it to be able to edit it etc;
>  sometimes requiring opening cygwin as windows administrator.
> 
> Is this normal?
> 

Attachment: signature.asc
Description: This is a digitally signed message part.



Messages sorted by: Reverse Date, Date, Thread, Author