delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2010/08/13/14:29:14

X-Recipient: archive-cygwin AT delorie DOT 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 DOT vukovic AT gmail DOT com>
To: cygwin AT cygwin DOT com
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT 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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019