X-Spam-Check-By: sourceware.org
To: cygwin@cygwin.com
From: Chuck <skilover@bluebottle.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.6040804@cygwin.com> <31789.7154055119$1155685100@news.gmane.org>
Mime-Version:  1.0
Content-Type:  text/plain; charset=ISO-8859-1
Content-Transfer-Encoding:  7bit
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@cygwin.com; run by ezmlm
Precedence: bulk
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie.com@cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.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@LearnQuick.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/

