Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: should a cp copied file retain original permissions?
- X-seq: zsh-users 14924
- From: Joke de Buhr <joke@xxxxxxxxx>
- To: zsh-users@xxxxxxx
- Subject: Re: should a cp copied file retain original permissions?
- Date: Thu, 11 Mar 2010 19:41:50 +0100
- In-reply-to: <Xns9D389A0BC963Czzappergmailcom@xxxxxxxxxxxx>
- List-help: <mailto:zsh-users-help@zsh.org>
- List-id: Zsh Users List <zsh-users.zsh.org>
- List-post: <mailto:zsh-users@zsh.org>
- Mailing-list: contact zsh-users-help@xxxxxxx; run by ezmlm
- Organization: http://www.seiken.de/
- References: <Xns9D389A0BC963Czzappergmailcom@xxxxxxxxxxxx>
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