X-Recipient: archive-cygwin AT delorie DOT com X-Spam-Check-By: sourceware.org Date: Fri, 29 Jan 2010 12:56:42 +0100 From: Corinna Vinschen To: cygwin AT cygwin DOT com Subject: Re: setup.exe messing with file permissions on downloads folder Message-ID: <20100129115642.GO9479@calimero.vinschen.de> Reply-To: cygwin AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com References: <901552681 DOT 20100127174250 AT freemail DOT ru> <20100129094641 DOT GL9479 AT calimero DOT vinschen DOT de> <1891660744 DOT 20100129143402 AT mtu-net DOT ru> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1891660744.20100129143402@mtu-net.ru> User-Agent: Mutt/1.5.20 (2009-06-14) Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: 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 On Jan 29 14:34, Andrey Repin wrote: > CV> That's basically correct. > > That's basically NOT correct. It setting permissions on ARCHIVES, that are NOT > CYGWIN INSTALLATION? Can it just write files, please? I have sane enough No reason to shout. I was talking about the permission settings. They are correct from a POSIX perspective. I'm aware what you mean, that should have been clear from my reply. > For said reason. My local SID does not exist on remote machine, where archives > stored. Which shouldn't matter. The local machine fetches the SID from the ACL and evaluates it locally. Since it's your local account anyway it's not clear why it doesn't resolve it. > CV> Output of the Windows cacls command would have been more informative. > [...] > CV> Usually you don't have to. Your user account is known to your > CV> own machine, so I don't understand why it doesn't show the correct > CV> user name. > > Account, by name and password hash, yes. But local SID on my workstation and > SID for same named account on server is different. See above. > CV> Maybe, what setup should do is either to leave permissions alone when > CV> downloading the package files, or the permissions for the package files > CV> and the package directories should always be set to 664, so that the > CV> group (usually Administrators) has always write permissions. > > Leaving them alone. No two choices. I wasn't talking about two choices for the user, I was talking about two choices to implement it. However, setup.exe is not a simple beast and personally I have other things on my plate right now. But feel free to send a patch. Corinna -- Corinna Vinschen Please, send mails regarding Cygwin to Cygwin Project Co-Leader cygwin AT cygwin DOT com Red Hat -- 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