X-Recipient: archive-cygwin@delorie.com
X-SWARE-Spam-Status: No, hits=-1.0 required=5.0	tests=AWL,BAYES_40,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,T_TO_NO_BRKTS_FREEMAIL
X-Spam-Check-By: sourceware.org
MIME-Version: 1.0
Date: Fri, 13 Aug 2010 14:28:57 -0400
Message-ID: <AANLkTikXfmzGvDtuEQcqp4Sd89k1soGt5ExFLhrPNsn3@mail.gmail.com>
Subject: copying from desktop to server changes group and permissions
From: Mirko Vukovic <mirko.vukovic@gmail.com>
To: cygwin@cygwin.com
Content-Type: text/plain; charset=ISO-8859-1
X-IsSubscribed: yes
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com

Hello,

when I copy a file from my desktop to the location on our server, it
changes permissions and group from root to Domain Users

> ls -l tree.eps
-rw------- 1 977315 root 69488 2010-06-06 21:02 tree.eps
/home/The-Works/invention-disclosures+patents/1590--networked-shh-channels
> ls -l /z/tmp/tree.eps
-rwxrwxrwx+ 1 977315 Domain Users 69488 2010-08-13 14:12 /z/tmp/tree.eps*
/home/The-Works/invention-disclosures+patents/1590--networked-shh-channels
>


I cannot use chmod or chown to modify either the group or the
permissions.  I think that affects the behavior of tar and cpio as
well.

I tried reading the security part of the manual
(http://cygwin.com/cygwin-ug-net/ntsec.html), but my eyes soon lost
focus.  Is that where the answer lies?

Thanks,

Mirko

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

