X-Recipient: archive-cygwin AT delorie DOT 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 AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT 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 AT cygwin DOT com Subject: Re: cygwin installation on a synology NAS drive References: <20150302145707 DOT GM3213 AT calimero DOT vinschen DOT de> From: "Dr. Volker Zell" 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: 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