X-Recipient: archive-cygwin AT delorie DOT com X-Spam-Check-By: sourceware.org Date: Fri, 29 Jan 2010 10:46:41 +0100 From: Corinna Vinschen To: cygwin AT cygwin DOT com Subject: Re: setup.exe messing with file permissions on downloads folder Message-ID: <20100129094641.GL9479@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> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <901552681.20100127174250@freemail.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 27 17:42, Andrey Repin wrote: > Greetings, cygwin AT cygwin DOT com. > > I have cygwin storage directory on network share, and it was not an issue for > a years. > Today, when I attempted an update, it warned me that next major release is > pushed and I probably want to review changes. I did that, haven't spotted > anything potentially destructive, and ... tried to... proceed with upgrade. > It ended rather quickly, when setup.exe was started creating directories it > was unable to write to. > Default permissions on disk, where network share located) is set to > SYSTEM = full > Administrators = full > Everyone = R&X > Owner = Administrators > All permissions is inherited from the drive root. > When I attempt to write files/create directories at that location by normal > means (Explorer, notepad etc.), it all works without an issue. > But cygwin setup... It trying to add local user SID to remote file > permissions... and add OWNER-related rights to it. That's basically correct. Setup sets the file permissions to POSIX permissions. Since your screenshot doesn't give enough information, I don't see why this fails for you. The entries look basically ok, except for the fact that the user SID isn't known for some reason. Output of the Windows cacls command would have been more informative. > How it is supposed to work, anyway? I don't have Windows domain at home... Usually you don't have to. Your user account is known to your own machine, so I don't understand why it doesn't show the correct user name. Maybe, what setup should do is either to leave permissions alone when downloading the package files, or the permissions for the package files and the package directories should always be set to 664, so that the group (usually Administrators) has always write permissions. 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