www.delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2010/01/27/09:45:24

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: Yes, hits=5.4 required=5.0 tests=AWL,BAYES_50,KAM_THEBAT
X-Spam-Check-By: sourceware.org
Date: Wed, 27 Jan 2010 17:42:50 +0300
From: Andrey Repin <anrdaemon AT freemail DOT ru>
Reply-To: Andrey Repin <anrdaemon AT freemail DOT ru>
Message-ID: <901552681.20100127174250@freemail.ru>
To: cygwin AT cygwin DOT com
Subject: setup.exe messing with file permissions on downloads folder
MIME-Version: 1.0
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

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.
How it is supposed to work, anyway? I don't have Windows domain at home...
There's an example screenshot, drive perms at left, one of cygwin dirs at
right.
http://img515.imageshack.us/img515/4735/cygwininsaneperms.gif
Worst case is that i'm a member of Administrators group, and I'm unable to
deny it (in fact - myself) messing with permissions...


-- 
WBR, Andrey Repin mailto:anrdaemon AT freemail DOT ru 27.01.2010 17:30

Sorry for my terrible english...


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