This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: Permissions problems after domain change
- From: Chuck <skilover at bluebottle dot com>
- To: cygwin at cygwin dot com
- Date: Wed, 16 Aug 2006 09:45:41 -0400
- Subject: Re: Permissions problems after domain change
- References: <44E23BCB.6040804@cygwin.com> <31789.7154055119$1155685100@news.gmane.org>
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/