delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2006/08/16/09:46:23

X-Spam-Check-By: sourceware.org
To: cygwin AT cygwin DOT com
From: Chuck <skilover AT bluebottle DOT com>
Subject: Re: Permissions problems after domain change
Date: Wed, 16 Aug 2006 09:45:41 -0400
Lines: 38
Message-ID: <ebv7i5$rg7$1@sea.gmane.org>
References: <44E23BCB DOT 6040804 AT cygwin DOT com> <31789.7154055119$1155685100 AT news DOT gmane DOT org>
Mime-Version: 1.0
User-Agent: Thunderbird 1.5.0.5 (Windows/20060719)
In-Reply-To: <31789.7154055119$1155685100@news.gmane.org>
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
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

Herb Martin wrote:
>>>>>> My winXP ID was recently moved from one domain to 
>> another. Now when I
>>>>>> log in to cygwin, I don't have permissions to access 
>> some of my own
>>>>>> files - like my ssh id_rsa file for example. Can someone 
>> tell me what I
>>>>>> need to do to fix this? Also, the group name is showing up as all
>>>>>> question marks when I do an "ls -l". Can anyone help me 
>> fix this? TIA.
> 
> For file permissions one issue is that your OLD domain
> account is not the same as your NEW account (even if the
> names are the same of course.)
> 
> There is a (fairly tedious) tool available on Windows
> for fixing such problems "SubInACL.exe"  (I read it as
> (SUBstitute INstead a differenc ACL or permission".)
> 
> It's a pain to use but quite powerful important when 
> a machine changes domains and the old users and groups
> no longer have access.
> 
> --
> Herb Martin, MCSE, MVP
> HerbM AT LearnQuick DOT Com http://LearnQuick.Com
> 512 388 7339   -or-   1 800 MCSE PRO
> Accelerated MCSE in a Week Seminars 
> 
> 

I ended up doing what Larry suggested and recreated the group and passwd
files. Then I did a "find $HOME -user olduser | xargs chown
newuser:newgroup" to regain access on everything. I could have acl'ed
the files but since I don't intend to use the old domain account after a
few days I figured "why bother?".

Thanks for all help.


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