zsh-users
 help / color / mirror / code / Atom feed
From: Joke de Buhr <joke@seiken.de>
To: zsh-users@zsh.org
Subject: Re: should a cp copied file retain original permissions?
Date: Thu, 11 Mar 2010 19:41:50 +0100	[thread overview]
Message-ID: <201003111941.50902.joke@seiken.de> (raw)
In-Reply-To: <Xns9D389A0BC963Czzappergmailcom@80.91.229.10>

[-- Attachment #1: Type: Text/Plain, Size: 460 bytes --]

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 #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 835 bytes --]

      parent reply	other threads:[~2010-03-11 18:57 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-03-11 15:08 zzapper
2010-03-11 15:26 ` Darryl Zurn
2010-03-11 16:17 ` Sebastian Stark
2010-03-11 18:41 ` Joke de Buhr [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=201003111941.50902.joke@seiken.de \
    --to=joke@seiken.de \
    --cc=zsh-users@zsh.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).