This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Oddities with file deletion on CIFS drive


--On Wednesday, September 08, 2010 6:51 PM -0400 "Larry Hall (Cygwin)" <> wrote:


OK, take a look at <http://cygwin.com/cygwin-ug-net/ntsec.html#ntsec-ids>. You'll want to use 'mkpasswd' and 'mkgroup' to get the passwd and group files fixed up.

I've read that page multiple times, and it still looks greek to me. :/ What I know is, the CIFS drive is mounted as the user "build". The user I log into windows with is "build". The user cygwin runs under is "build". So all 3 of those match. I don't see why there's any issue at all determining who owns the files.


build@zre-win-002 ~
$ id build
uid=503(build) gid=513(None) groups=513(None)

build@zre-win-002 ~
$ grep build /etc/passwd
build:unused:503:513:U-ZRE-WIN-002\build,S-1-5-21-1229272821-2049760794-1417001333-1003:/home/build:/bin/bash

build@zre-win-002 ~
$ grep 513 /etc/group
None:S-1-5-21-1229272821-2049760794-1417001333-513:513:

--Quanah

--

Quanah Gibson-Mount
Principal Software Engineer
Zimbra, Inc
--------------------
Zimbra ::  the leader in open source messaging and collaboration

--
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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]