1
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.
How did you setup dropbox? A correctly setup dropbox should change the ownership of the files to the correct user on each machine (by nature of being installed by the correct user and downloading the files from the server as such). – David Cowden – 2012-07-02T15:18:57.780