How to handle changed user ID
cyg Simple
cygsimple@gmail.com
Thu Dec 7 15:03:00 GMT 2017
On 12/7/2017 2:50 AM, Thomas Wolff wrote:
> I had to delete a corrupted Windows account and recreate it.
> For cygwin, the new account, although with the same name, has a
> different user id.
> Of course, this creates access problems for existing files (even if they
> appear to have the same user in ls -l, because the *old user* is still
> listed in /etc/passwd).
> Is there a canonical solution to this problem, other than running chown
> -R $USER ~ ?
> Can the new user be forced to use the previous user ID?
What happens if you simply remove /etc/passwd and /etc/group files? A
change long ago caused these files to not be needed.
You may need to take ownership of the directories and their files at the
Windows system level.
--
cyg Simple
--
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
More information about the Cygwin
mailing list