Axelle Apvrille wrote: > > Hi, > I've got a problem concerning file permissions between > CygWin/Windows and Unix. > > 1. I've checked-out a file on a Unix server (my login > is axelle): > colibri{axelle}[/home/axelle/papers]> ls -al > total 160 > drwx--x--x 3 axelle nss 512 Feb 15 16:58 > ./ > drwx--x--x 9 axelle nss 512 Feb 11 17:12 > ../ > drwx--x--x 2 axelle nss 512 Feb 15 15:23 > CVS/ > -rwx-wx--x 1 axelle nss 7995 Feb 15 16:58 > isse-xml.tex* > => I've got read & write access to my file > isse-xml.tex. > > 2. and then try to access it from Windows, using > Cygwin. > {Administrator}[/e/axelle/papers]> ls -al > total 77 > drwxr-xr-x 1 Administ None 0 Feb 15 16:58 > . > drwxr-xr-x 1 Administ None 0 Feb 11 17:12 > .. > drwxr-xr-x 1 Administ None 0 Feb 15 15:23 > CVS > -rw-r--r-- 1 Administ None 7995 Feb 15 16:58 > isse-xml.tex > {Administrator}[/e/axelle/papers]> id > uid=500(Administrator) gid=513(None) groups=513(None)
Check the User Guide: http://cygwin.com/cygwin-ug-net/ntsec.html Specially the part about not wanting to be 'None': Unfortunately, workstations and servers outside of domains are not able to set primary groups! In these cases, where there is no correlation of users to primary groups, NT returns 513 (None) as primary group, regardless of the membership to existing local groups. when using mkpasswd -l -g on such systems, you have to change the primary group by hand if `None' as primary group is not what you want (and I'm sure, it's not what you want!) Solution: edit your /etc/passwd and change your primary group to 544 (Administrators) > => Okay so I'm Administrator, the permission access Wrong, you're nobody 8-( > rights are rw-r--r-- : so I should have read & write > access to my file ? > => BUT When I load the file through Emacs, it's > non-writable ! Why ? > > If I check-out the file directly through Cygwin, then > I have read & write access.. > > What's happening ? How can I solve that problem ? > Thanks, > ------------------------------------------------------- > > Axelle Apvrille -- Med venlig hilsen / Kind regards Hack Kampbjørn -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/