X-Recipient: archive-cygwin@delorie.com
DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id
	:list-unsubscribe:list-subscribe:list-archive:list-post
	:list-help:sender:to:subject:references:from:date:in-reply-to
	:message-id:mime-version:content-type; q=dns; s=default; b=ihQqs
	FVRjHRV3qOhnkC/Rh/GnlSVPr5BUEcI5Zydm4uaUQFo0PdHW/Mzw9P512WIO5rMq
	io373Iizd+3v3NysfT+DuLyT5bndhFrsyjsY45P34IwsINfzDYO0oBU8J2VS5tOc
	gyvAxulGopWDKJNv347fB+2mQcBFmZevkp44rE=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id
	:list-unsubscribe:list-subscribe:list-archive:list-post
	:list-help:sender:to:subject:references:from:date:in-reply-to
	:message-id:mime-version:content-type; s=default; bh=WficeQCB8pP
	FVqr+nnPkBOPvTBk=; b=pap5e3uvj8yNTX2qPu+76zufgbGzv7/vHDZjAauZx+S
	/B/KAxYhrqU3ZwXCToHU9du8+IB4Oe6yYR65O3jXeAqyEa3oXmfa36E2dEyIUaNV
	mYKqgCWM04uA9/nam6+8b+LPrwMaOej0PEsa1oXeQOmNaqaqAJzAtdh7SrAJoxdo
	=
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
Authentication-Results: sourceware.org; auth=none
X-Virus-Found: No
X-Spam-SWARE-Status: No, score=0.9 required=5.0 tests=AWL,BAYES_50,SPF_PASS,T_HK_NAME_DR,T_RP_MATCHES_RCVD,UNPARSEABLE_RELAY,UNSUBSCRIBE_BODY autolearn=no version=3.3.2
X-HELO: userp1040.oracle.com
To: cygwin@cygwin.com
Subject: Re: cygwin installation on a synology NAS drive
References: <vrivh9u3sbml.fsf@leila.volkerzell.de>	<20150302145707.GM3213@calimero.vinschen.de>
From: "Dr. Volker Zell" <dr.volker.zell@oracle.com>
Date: Mon, 02 Mar 2015 17:18:00 +0100
In-Reply-To: <20150302145707.GM3213@calimero.vinschen.de> (Corinna Vinschen's message of "Mon, 2 Mar 2015 15:57:07 +0100")
Message-ID: <vriv7fuzv0ef.fsf@VZELL-LAP.de.oracle.com>
User-Agent: Gnus/5.1008 (Gnus v5.10.8) XEmacs/21.4.23 (cygwin32)
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-IsSubscribed: yes

>>>>> Corinna Vinschen writes:

    > On Mar  2 15:43, U-leila\vzell wrote:
    >> Hi
    >> 
    >> I created a shared folder on a Synology NAS and mapped it to a Windows 7
    >> host system. Both Windows 7 and Synology NAS have the same named user
    >> account (part of admin groups). The named user has full access to the
    >> shared folder on the NAS side.
    >> 
    >> I then tried installing latest cygwin versions (x86/x64) on the mapped
    >> drive (at the root filesystem) but got permissions errors from setup.exe
    >> 
    >> Setup was actually able to create the cygwin directory structure but
    >> could not write to the log file.
    >> 
    >> Creating directories/files and writing to files is no problem with
    >> windows tools on the mapped drive.
    >> 
    >> Anybody else tried this setup or knows what's going on here ? Or is a
    >> cygwin installation on a NAS not supported ? 

    > Does the NAS screw up POSIX-like ACLs?  Problems with FILE_DELETE_CHILD?
    > The /var/log dir is created with 1777 perms, so the FILE_DELETE_CHILD
    > flag is not set in the ACEs.

This is how it looks like with icacls:

Q:\var Everyone:(NP)(RX)
       Everyone:(OI)(CI)(IO)(RX)
       CREATOR OWNER:(OI)(CI)(IO)(F)

Q:\etc Everyone:(NP)(RX)
       Everyone:(OI)(CI)(IO)(RX)
       CREATOR OWNER:(OI)(CI)(IO)(F)

Q:\bin Everyone:(NP)(RX)
       Everyone:(OI)(CI)(IO)(RX)
       CREATOR OWNER:(OI)(CI)(IO)(F)

Q:\dev Everyone:(NP)(RX)
       Everyone:(OI)(CI)(IO)(RX)
       CREATOR OWNER:(OI)(CI)(IO)(F)

Q:\home Everyone:(NP)(RX,W)
        Everyone:(OI)(CI)(IO)(RX)
        CREATOR OWNER:(OI)(CI)(IO)(F)

Q:\lib Everyone:(NP)(RX)
       Everyone:(OI)(CI)(IO)(RX)
       CREATOR OWNER:(OI)(CI)(IO)(F)

Q:\tmp Everyone:(NP)(RX,W)
       Everyone:(OI)(CI)(IO)(RX)
       CREATOR OWNER:(OI)(CI)(IO)(F)

Q:\usr Everyone:(NP)(RX)
       Everyone:(OI)(CI)(IO)(RX)
       CREATOR OWNER:(OI)(CI)(IO)(F)

Q:\var\log Everyone:(NP)(RX,W)
           Everyone:(OI)(CI)(IO)(RX)
           CREATOR OWNER:(OI)(CI)(IO)(F)

Q:\var\run Everyone:(NP)(RX,W)
           Everyone:(OI)(CI)(IO)(RX)
           CREATOR OWNER:(OI)(CI)(IO)(F)

Q:\var\tmp Everyone:(NP)(RX,W)
           Everyone:(OI)(CI)(IO)(RX)
           CREATOR OWNER:(OI)(CI)(IO)(F)

Q:\var\log\setup.log Everyone:(R)

Q:\var\run\utmp Everyone:(R,W)

Q:\etc\setup Everyone:(NP)(RX)
             Everyone:(OI)(CI)(IO)(RX)
             CREATOR OWNER:(OI)(CI)(IO)(F)

Q:\etc\fstab.d Everyone:(NP)(RX,W)
               Everyone:(OI)(CI)(IO)(RX)
               CREATOR OWNER:(OI)(CI)(IO)(F)

Q:\etc\postinstall Everyone:(NP)(RX)
                   Everyone:(OI)(CI)(IO)(RX)
                   CREATOR OWNER:(OI)(CI)(IO)(F)

Q:\etc\setup\timestamp Everyone:(I)(RX)
                       (I)(F)

Q:\etc\setup\_autorebase.lst.gz Everyone:(R)

Q:\etc\setup\setup.rc Everyone:(R)

Q:\etc\postinstall\0p_000_autorebase.dash Everyone:(RX)

Q:\etc\postinstall\0p_000_autorebase.dash.new Everyone:(RX)

Q:\dev\mqueue Everyone:(NP)(RX,W)
              Everyone:(OI)(CI)(IO)(RX)
              CREATOR OWNER:(OI)(CI)(IO)(F)

Q:\dev\shm Everyone:(NP)(RX,W)
           Everyone:(OI)(CI)(IO)(RX)
           CREATOR OWNER:(OI)(CI)(IO)(F)

Q:\usr\local Everyone:(NP)(RX)
             Everyone:(OI)(CI)(IO)(RX)
             CREATOR OWNER:(OI)(CI)(IO)(F)

Q:\usr\src Everyone:(NP)(RX)
           Everyone:(OI)(CI)(IO)(RX)
           CREATOR OWNER:(OI)(CI)(IO)(F)

Q:\usr\tmp Everyone:(NP)(RX,W)
           Everyone:(OI)(CI)(IO)(RX)
           CREATOR OWNER:(OI)(CI)(IO)(F)

Q:\usr\local\bin Everyone:(NP)(RX)
                 Everyone:(OI)(CI)(IO)(RX)
                 CREATOR OWNER:(OI)(CI)(IO)(F)

Q:\usr\local\etc Everyone:(NP)(RX)
                 Everyone:(OI)(CI)(IO)(RX)
                 CREATOR OWNER:(OI)(CI)(IO)(F)

Q:\usr\local\lib Everyone:(NP)(RX)
                 Everyone:(OI)(CI)(IO)(RX)
                 CREATOR OWNER:(OI)(CI)(IO)(F)

Successfully processed 29 files; Failed processing 0 files


--
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

