Cygwin file and directory user and group
Posted
by
dvanaria
on Super User
See other posts from Super User
or by dvanaria
Published on 2012-07-02T15:03:51Z
Indexed on
2012/07/02
15:18 UTC
Read the original article
Hit count: 225
I use Cygwin as my main development environment on both my home and work computers.
In order to share files between the two computers, I use Dropbox, which is installed in the following folder on both computers: c:\cygwin\home\dvanaria\dropbox
Everything works great, except for one thing. When I'm working on my home computer and do an ls -l on any directory, all the files show up as owned by dvanaria of group Users. But when I work from my work computer, an ls -l shows all files as being owned by Administrators and of group Domain Users.
I know Cygwin uses some kind of mapping between Windows users and permissions to the /etc/passwd file. But to be honest I have no idea how this file works or how it maps to Windows under Cygwin.
Could anyone help figure this out? The main problem is that I can't edit any files when using my work computer, only read them.
© Super User or respective owner