delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2007/06/25/00:34:00

X-Spam-Check-By: sourceware.org
To: cygwin AT cygwin DOT com
From: Ross Smith <rosss AT pharos DOT co DOT nz>
Subject: Re: Reloaded Win XP, now need to reload cygwin - sorta
Date: Mon, 25 Jun 2007 16:33:12 +1200
Lines: 24
Message-ID: <f5ngia$dfr$1@sea.gmane.org>
References: <31b7d2790706242016k6823eb6cx61043f25fa3ee32b AT mail DOT gmail DOT com> <200706250402 DOT l5P42Ad12212 AT mrvideo DOT vidiot DOT com>
Mime-Version: 1.0
User-Agent: Thunderbird 2.0.0.4 (Windows/20070604)
In-Reply-To: <200706250402.l5P42Ad12212@mrvideo.vidiot.com>
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT 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

Vidiot wrote:
> Jason reponded:
> 
>> The reason you need to update your permissions is because Windows ties
>> permissions to a unique SSID for each user.  When you reinstall, even
>> if you set up the same user names, the SSIDs associated with them are
>> different.
> 
> Ah, a hidden thing I never have had to deal with.

It's not a Windows specific thing. You get exactly the same effect on 
Unix if you install a new system and end up with a different userid 
number for an old user name.

> I wouldn't know how to change ownership permission of Windoze files, since
> I've never had to do it, nor have I ever seen along the lines of chown.

Well, you can just use Cygwin's chown and chmod. They update Windows 
file ownership and permissions perfectly well. If you need to handle 
aspects of the Windows permission system that don't map well to the 
simpler Unix one, you can look into getfacl/setfacl, but if you're only 
trying to get the permissions right from Cygwin's point of view, that 
shouldn't be necessary.



--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019