{"thread":{"id":"31565","subject":"Test failure: Test #3 in t1304-default-acl","startedAt":"2012-09-17T14:18:51Z","lastAt":"2012-10-01T16:07:29Z","messageCount":17,"participants":["Ramkumar Ramachandra","Matthieu Moy","Andreas Schwab","Junio C Hamano","Joachim Schmitz"],"isPatch":false,"patchVersion":null,"patchTotal":null},"messages":[{"id":"199230","messageId":"CALkWK0n0bH3xPLarv35Th_agnhKCkRjgcKTJR7Xy=B_NkBHkOg@mail.gmail.com","threadId":"31565","inReplyTo":null,"subject":"Test failure: Test #3 in t1304-default-acl","fromName":"Ramkumar Ramachandra","fromEmail":"artagnon@gmail.com","sentAt":"2012-09-17T14:18:51Z","receivedAt":"2012-09-17T14:18:51Z","isPatch":false,"sender":{"key":"r@artagnon.com","avatar":"https://avatars.githubusercontent.com/u/37226?v=4"},"body":"Hi,\n\nThe following test in t1304-default-acl.sh fails for me on the latest master:\n\ntest_expect_success SETFACL 'Objects creation does not break ACLs with\nrestrictive umask' '\n\t# SHA1 for empty blob\n\tcheck_perms_and_acl .git/objects/e6/9de29bb2d1d6434b8b29ae775ad8c2e48c5391\n'\n\nIt fails in the `grep -q \"user:${LOGNAME}:rwx\" actual` step, because\n\"actual\" contains:\n\n# file: .git/objects/e6/9de29bb2d1d6434b8b29ae775ad8c2e48c5391\n# owner: ramkum\n# group: domain^users\nuser::r--\nuser:root:rwx   #effective:r--\nuser:kseygold:rwx       #effective:r--\ngroup::---\nmask::r--\nother::---\n\nI'm not sure who or what kseygold is.  I haven't dug any deeper.\n\nThanks.\n\nRam\n"},{"id":"199235","messageId":"vpqy5k8raig.fsf@grenoble-inp.fr","threadId":"31565","inReplyTo":"CALkWK0n0bH3xPLarv35Th_agnhKCkRjgcKTJR7Xy=B_NkBHkOg@mail.gmail.com","subject":"Re: Test failure: Test #3 in t1304-default-acl","fromName":"Matthieu Moy","fromEmail":"matthieu.moy@grenoble-inp.fr","sentAt":"2012-09-17T14:26:15Z","receivedAt":"2012-09-17T14:26:15Z","isPatch":false,"sender":{"key":"matthieu.moy@grenoble-inp.fr","avatar":"https://gravatar.com/avatar/72c8a2705971a25dfaff23cece15130d405685845d911aedd5667ace277f3fc5?d=mp&s=160"},"body":"Ramkumar Ramachandra <artagnon@gmail.com> writes:\n\n> # file: .git/objects/e6/9de29bb2d1d6434b8b29ae775ad8c2e48c5391\n> # owner: ramkum\n> # group: domain^users\n> user::r--\n> user:root:rwx   #effective:r--\n> user:kseygold:rwx       #effective:r--\n> group::---\n> mask::r--\n> other::---\n>\n> I'm not sure who or what kseygold is.\n\nDo you have any user with this login (finger kseygold)? I suspect you\nhave two usernames with the same user ID.\n\nWhich filesystem are you using in this directory?\n\n-- \nMatthieu Moy\nhttp://www-verimag.imag.fr/~moy/\n"},{"id":"199236","messageId":"CALkWK0=h6iU_J=X6MFgLXPfo0rh236cTuVaU3nNSnAaikjKH5w@mail.gmail.com","threadId":"31565","inReplyTo":"vpqy5k8raig.fsf@grenoble-inp.fr","subject":"Re: Test failure: Test #3 in t1304-default-acl","fromName":"Ramkumar Ramachandra","fromEmail":"artagnon@gmail.com","sentAt":"2012-09-17T15:01:54Z","receivedAt":"2012-09-17T15:01:54Z","isPatch":false,"sender":{"key":"r@artagnon.com","avatar":"https://avatars.githubusercontent.com/u/37226?v=4"},"body":"Hi Matthieu,\n\nMatthieu Moy wrote:\n> Do you have any user with this login (finger kseygold)? I suspect you\n> have two usernames with the same user ID.\n\nLogin: kseygold                         Name: Seybold\nDirectory: /home/likewise-open/ANT/kseygold     Shell: /bin/zsh\nOffice:  Kelly\nLast login Tue Aug 28 12:16 (IST) on tty2\nNo mail.\nNo Plan.\n\n> Which filesystem are you using in this directory?\n\n/ is ext4.  What does that have to do with anything?\n\nRam\n"},{"id":"199239","messageId":"vpqd31kr7v4.fsf@grenoble-inp.fr","threadId":"31565","inReplyTo":"CALkWK0=h6iU_J=X6MFgLXPfo0rh236cTuVaU3nNSnAaikjKH5w@mail.gmail.com","subject":"Re: Test failure: Test #3 in t1304-default-acl","fromName":"Matthieu Moy","fromEmail":"matthieu.moy@grenoble-inp.fr","sentAt":"2012-09-17T15:23:27Z","receivedAt":"2012-09-17T15:23:27Z","isPatch":false,"sender":{"key":"matthieu.moy@grenoble-inp.fr","avatar":"https://gravatar.com/avatar/72c8a2705971a25dfaff23cece15130d405685845d911aedd5667ace277f3fc5?d=mp&s=160"},"body":"Ramkumar Ramachandra <artagnon@gmail.com> writes:\n\n> Hi Matthieu,\n>\n> Matthieu Moy wrote:\n>> Do you have any user with this login (finger kseygold)? I suspect you\n>> have two usernames with the same user ID.\n>\n> Login: kseygold                         Name: Seybold\n> Directory: /home/likewise-open/ANT/kseygold     Shell: /bin/zsh\n> Office:  Kelly\n> Last login Tue Aug 28 12:16 (IST) on tty2\n> No mail.\n> No Plan.\n\nDoes this user have the same UID as your usual user\n(id kseygold; id $LOGNAME)?\n\n>> Which filesystem are you using in this directory?\n>\n> / is ext4.  What does that have to do with anything?\n\nLast time we had a failure in this test, it was a filesystem bug ...\n\n-- \nMatthieu Moy\nhttp://www-verimag.imag.fr/~moy/\n"},{"id":"199240","messageId":"CALkWK0=ROz8fxXgnqt-+AthU-hgq_mzFg0GhBQCrAshH_mRBPQ@mail.gmail.com","threadId":"31565","inReplyTo":"vpqd31kr7v4.fsf@grenoble-inp.fr","subject":"Re: Test failure: Test #3 in t1304-default-acl","fromName":"Ramkumar Ramachandra","fromEmail":"artagnon@gmail.com","sentAt":"2012-09-17T15:25:19Z","receivedAt":"2012-09-17T15:25:19Z","isPatch":false,"sender":{"key":"r@artagnon.com","avatar":"https://avatars.githubusercontent.com/u/37226?v=4"},"body":"Hi again,\n\nMatthieu Moy wrote:\n> Does this user have the same UID as your usual user\n> (id kseygold; id $LOGNAME)?\n\nYes.  What do you propose we do about the test?\n\nRam\n"},{"id":"199241","messageId":"m2txuw1xcj.fsf@igel.home","threadId":"31565","inReplyTo":"CALkWK0=h6iU_J=X6MFgLXPfo0rh236cTuVaU3nNSnAaikjKH5w@mail.gmail.com","subject":"Re: Test failure: Test #3 in t1304-default-acl","fromName":"Andreas Schwab","fromEmail":"schwab@linux-m68k.org","sentAt":"2012-09-17T15:29:48Z","receivedAt":"2012-09-17T15:29:48Z","isPatch":false,"sender":{"key":"schwab@linux-m68k.org","avatar":"https://avatars.githubusercontent.com/u/2175493?v=4"},"body":"Ramkumar Ramachandra <artagnon@gmail.com> writes:\n\n> Hi Matthieu,\n>\n> Matthieu Moy wrote:\n>> Do you have any user with this login (finger kseygold)? I suspect you\n>> have two usernames with the same user ID.\n>\n> Login: kseygold                         Name: Seybold\n\nWhat about \"id kseygold; id ramkum\"?\n\nAndreas.\n\n-- \nAndreas Schwab, schwab@linux-m68k.org\nGPG Key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5\n\"And now for something completely different.\"\n"},{"id":"199242","messageId":"CALkWK0=cDW7BU6QofaeLbtETwzrnWBuuKcpgYNaM1x5tutisfA@mail.gmail.com","threadId":"31565","inReplyTo":"m2txuw1xcj.fsf@igel.home","subject":"Re: Test failure: Test #3 in t1304-default-acl","fromName":"Ramkumar Ramachandra","fromEmail":"artagnon@gmail.com","sentAt":"2012-09-17T15:32:56Z","receivedAt":"2012-09-17T15:32:56Z","isPatch":false,"sender":{"key":"r@artagnon.com","avatar":"https://avatars.githubusercontent.com/u/37226?v=4"},"body":"Hi Andreas,\n\nAndreas Schwab wrote:\n> Ramkumar Ramachandra <artagnon@gmail.com> writes:\n>\n>> Hi Matthieu,\n>>\n>> Matthieu Moy wrote:\n>>> Do you have any user with this login (finger kseygold)? I suspect you\n>>> have two usernames with the same user ID.\n>>\n>> Login: kseygold                         Name: Seybold\n>\n> What about \"id kseygold; id ramkum\"?\n\nApart from the UIDs matching, what do you find interesting about the output?\n\nuid=1420023794(kseygold) gid=1419772417(domain^users)\ngroups=1419772417(domain^users),1419841836(sw-xchat-irc-client),1419932703(gref-sp-visitors),1419997311(fs-dus2-training-public),1420238821(sw-amazon-cloud-uploader),1419880095(dfs-pcsoft),1419980124(cs-psc-users),1419988839(scmdmauthorizedusers^(amzn-mdm)),1420131555(fs-lej1-oe-extern),1420053059(wireless-corporatewifi-allow),1419965136(sw-ms-ie7),1419812553(opr-pcsoft),1419806474(mac-caspershare-access),1419852490(dcolnl-accessrequestor),1419852491(dcolnl-visitorpre-registrationrequestor)\nuid=1420023794(ramkum) gid=1419772417(domain^users)\ngroups=1419772417(domain^users),4(adm),20(dialout),24(cdrom),46(plugdev),116(lpadmin),118(admin),125(sambashare),1419841836(sw-xchat-irc-client),1419932703(gref-sp-visitors),1419997311(fs-dus2-training-public),1420238821(sw-amazon-cloud-uploader),1419992049(fhrix-employees),1419880095(dfs-pcsoft),1419988839(scmdmauthorizedusers^(amzn-mdm)),1420131555(fs-lej1-oe-extern),1420053059(wireless-corporatewifi-allow),1419812553(opr-pcsoft),1419806474(mac-caspershare-access),1419852490(dcolnl-accessrequestor),1419852491(dcolnl-visitorpre-registrationrequestor)\n\nRam\n"},{"id":"199243","messageId":"vpqvcfcps2z.fsf@grenoble-inp.fr","threadId":"31565","inReplyTo":"CALkWK0=ROz8fxXgnqt-+AthU-hgq_mzFg0GhBQCrAshH_mRBPQ@mail.gmail.com","subject":"Re: Test failure: Test #3 in t1304-default-acl","fromName":"Matthieu Moy","fromEmail":"matthieu.moy@grenoble-inp.fr","sentAt":"2012-09-17T15:49:40Z","receivedAt":"2012-09-17T15:49:40Z","isPatch":false,"sender":{"key":"matthieu.moy@grenoble-inp.fr","avatar":"https://gravatar.com/avatar/72c8a2705971a25dfaff23cece15130d405685845d911aedd5667ace277f3fc5?d=mp&s=160"},"body":"Ramkumar Ramachandra <artagnon@gmail.com> writes:\n\n> Hi again,\n>\n> Matthieu Moy wrote:\n>> Does this user have the same UID as your usual user\n>> (id kseygold; id $LOGNAME)?\n>\n> Yes.  What do you propose we do about the test?\n\nOn a GNU system, something like this should do the trick:\n\n--- a/t/t1304-default-acl.sh\n+++ b/t/t1304-default-acl.sh\n@@ -31,9 +31,9 @@ fi\n \n check_perms_and_acl () {\n        test -r \"$1\" &&\n-       getfacl \"$1\" > actual &&\n+       getfacl --numeric \"$1\" > actual &&\n        grep -q \"user:root:rwx\" actual &&\n-       grep -q \"user:${LOGNAME}:rwx\" actual &&\n+       grep -q \"user:$(id -u):rwx\" actual &&\n        egrep \"mask::?r--\" actual > /dev/null 2>&1 &&\n        grep -q \"group::---\" actual || false\n }\n\nbut it seems FreeBSD's getfacl doesn't have --numeric\n(http://www.unix.com/man-page/FreeBSD/1/getfacl/), so to be portable, we\nneed some more surgery, like this:\n\n--- a/t/t1304-default-acl.sh\n+++ b/t/t1304-default-acl.sh\n@@ -33,7 +33,10 @@ check_perms_and_acl () {\n        test -r \"$1\" &&\n        getfacl \"$1\" > actual &&\n        grep -q \"user:root:rwx\" actual &&\n-       grep -q \"user:${LOGNAME}:rwx\" actual &&\n+       grep \"user:.*:rwx\" actual | grep -v 'user:root:' | \\\n+           cut -d : -f 2 | xargs id -u > acl-uid &&\n+       id -u > actual-uid &&\n+       test_cmp acl-uid actual-uid &&\n        egrep \"mask::?r--\" actual > /dev/null 2>&1 &&\n        grep -q \"group::---\" actual || false\n }\n\nCan you check that this second patch fixes your problem?\n\nI'm a bit hesitant to submit it to git.git, as I find it a bit too\nhacky. What do other people think?\n\n-- \nMatthieu Moy\nhttp://www-verimag.imag.fr/~moy/\n"},{"id":"199247","messageId":"7v4nmwwqox.fsf@alter.siamese.dyndns.org","threadId":"31565","inReplyTo":"vpqvcfcps2z.fsf@grenoble-inp.fr","subject":"Re: Test failure: Test #3 in t1304-default-acl","fromName":"Junio C Hamano","fromEmail":"gitster@pobox.com","sentAt":"2012-09-17T16:37:50Z","receivedAt":"2012-09-17T16:37:50Z","isPatch":false,"sender":{"key":"gitster@pobox.com","avatar":"https://avatars.githubusercontent.com/u/54884?v=4"},"body":"Matthieu Moy <Matthieu.Moy@grenoble-inp.fr> writes:\n\n> Ramkumar Ramachandra <artagnon@gmail.com> writes:\n>\n>> Hi again,\n>>\n>> Matthieu Moy wrote:\n>>> Does this user have the same UID as your usual user\n>>> (id kseygold; id $LOGNAME)?\n>>\n>> Yes.  What do you propose we do about the test?\n>\n> On a GNU system, something like this should do the trick:\n> ...\n> but it seems FreeBSD's getfacl doesn't have --numeric\n> (http://www.unix.com/man-page/FreeBSD/1/getfacl/), so to be portable, we\n> need some more surgery, like this:\n>\n> --- a/t/t1304-default-acl.sh\n> +++ b/t/t1304-default-acl.sh\n> @@ -33,7 +33,10 @@ check_perms_and_acl () {\n>         test -r \"$1\" &&\n>         getfacl \"$1\" > actual &&\n>         grep -q \"user:root:rwx\" actual &&\n> -       grep -q \"user:${LOGNAME}:rwx\" actual &&\n> +       grep \"user:.*:rwx\" actual | grep -v 'user:root:' | \\\n> +           cut -d : -f 2 | xargs id -u > acl-uid &&\n> +       id -u > actual-uid &&\n> +       test_cmp acl-uid actual-uid &&\n>         egrep \"mask::?r--\" actual > /dev/null 2>&1 &&\n>         grep -q \"group::---\" actual || false\n>  }\n>\n> Can you check that this second patch fixes your problem?\n>\n> I'm a bit hesitant to submit it to git.git, as I find it a bit too\n> hacky. What do other people think?\n\nI haven't been paying attention, but does that mean on that system,\na total stranger kseygold can write, modify, and remove whatever Ram\nowns?  I am hoping that is not the case.\n"},{"id":"199249","messageId":"vpqipbcpp69.fsf@grenoble-inp.fr","threadId":"31565","inReplyTo":"7v4nmwwqox.fsf@alter.siamese.dyndns.org","subject":"Re: Test failure: Test #3 in t1304-default-acl","fromName":"Matthieu Moy","fromEmail":"matthieu.moy@grenoble-inp.fr","sentAt":"2012-09-17T16:52:30Z","receivedAt":"2012-09-17T16:52:30Z","isPatch":false,"sender":{"key":"matthieu.moy@grenoble-inp.fr","avatar":"https://gravatar.com/avatar/72c8a2705971a25dfaff23cece15130d405685845d911aedd5667ace277f3fc5?d=mp&s=160"},"body":"Junio C Hamano <gitster@pobox.com> writes:\n\n> I haven't been paying attention, but does that mean on that system,\n> a total stranger kseygold can write, modify, and remove whatever Ram\n> owns?  I am hoping that is not the case.\n\nI can see two reasons for having the same UID for two login names:\n\n1) the sysadmin really messed up, and as you say, a total stranger has\ncomplete ownership of your files. Ramkumar, you should check that this\nis not your case.\n\n2) the sysadmin explicitely gave two login names to the same physical\nperson, as kinds of aliases for the same UID (e.g. the person got\nmarried, changed her name and login, but expects ~oldlogin to continue\nworking). I'm not sure how common this is, and to which extend we want\nto support this in our test scripts.\n\n-- \nMatthieu Moy\nhttp://www-verimag.imag.fr/~moy/\n"},{"id":"199253","messageId":"m2mx0o1srg.fsf@igel.home","threadId":"31565","inReplyTo":"CALkWK0=cDW7BU6QofaeLbtETwzrnWBuuKcpgYNaM1x5tutisfA@mail.gmail.com","subject":"Re: Test failure: Test #3 in t1304-default-acl","fromName":"Andreas Schwab","fromEmail":"schwab@linux-m68k.org","sentAt":"2012-09-17T17:08:51Z","receivedAt":"2012-09-17T17:08:51Z","isPatch":false,"sender":{"key":"schwab@linux-m68k.org","avatar":"https://avatars.githubusercontent.com/u/2175493?v=4"},"body":"Ramkumar Ramachandra <artagnon@gmail.com> writes:\n\n> Hi Andreas,\n>\n> Andreas Schwab wrote:\n>> Ramkumar Ramachandra <artagnon@gmail.com> writes:\n>>\n>>> Hi Matthieu,\n>>>\n>>> Matthieu Moy wrote:\n>>>> Do you have any user with this login (finger kseygold)? I suspect you\n>>>> have two usernames with the same user ID.\n>>>\n>>> Login: kseygold                         Name: Seybold\n>>\n>> What about \"id kseygold; id ramkum\"?\n>\n> Apart from the UIDs matching, what do you find interesting about the output?\n\nThat the UIDs are the same.\n\nAndreas.\n\n-- \nAndreas Schwab, schwab@linux-m68k.org\nGPG Key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5\n\"And now for something completely different.\"\n"},{"id":"199266","messageId":"k37oet$gj9$1@ger.gmane.org","threadId":"31565","inReplyTo":"vpqipbcpp69.fsf@grenoble-inp.fr","subject":"Re: Test failure: Test #3 in t1304-default-acl","fromName":"Joachim Schmitz","fromEmail":"jojo@schmitz-digital.de","sentAt":"2012-09-17T17:59:45Z","receivedAt":"2012-09-17T17:59:45Z","isPatch":false,"sender":{"key":"jojo@schmitz-digital.de","avatar":"https://avatars.githubusercontent.com/u/1786669?v=4"},"body":"Matthieu Moy wrote:\n> Junio C Hamano <gitster@pobox.com> writes:\n>\n>> I haven't been paying attention, but does that mean on that system,\n>> a total stranger kseygold can write, modify, and remove whatever Ram\n>> owns?  I am hoping that is not the case.\n>\n> I can see two reasons for having the same UID for two login names:\n>\n> 1) the sysadmin really messed up, and as you say, a total stranger has\n> complete ownership of your files. Ramkumar, you should check that this\n> is not your case.\n>\n> 2) the sysadmin explicitely gave two login names to the same physical\n> person, as kinds of aliases for the same UID (e.g. the person got\n> married, changed her name and login, but expects ~oldlogin to continue\n> working). I'm not sure how common this is, and to which extend we want\n> to support this in our test scripts.\n\nOn HP NonStop it is very common to have a user (form: \"GROUP.USER\", case \ninsensitiv) and one or more aliases to them (form: \"user\", case sensitiv) \nthe latter are very commonly used in the POSIX part of HP NonStop (call \nOSS), the one git runs in, the other are more commonly used in the \nproprietary part of the OS (called Guardian), althoug this is not a strict \nrequirement.\nThe only thing they share is the UID.\n\nBye, Jojo \n"},{"id":"199280","messageId":"7vvcfctmka.fsf@alter.siamese.dyndns.org","threadId":"31565","inReplyTo":"vpqipbcpp69.fsf@grenoble-inp.fr","subject":"Re: Test failure: Test #3 in t1304-default-acl","fromName":"Junio C Hamano","fromEmail":"gitster@pobox.com","sentAt":"2012-09-17T20:35:17Z","receivedAt":"2012-09-17T20:35:17Z","isPatch":false,"sender":{"key":"gitster@pobox.com","avatar":"https://avatars.githubusercontent.com/u/54884?v=4"},"body":"Matthieu Moy <Matthieu.Moy@grenoble-inp.fr> writes:\n\n> Junio C Hamano <gitster@pobox.com> writes:\n>\n>> I haven't been paying attention, but does that mean on that system,\n>> a total stranger kseygold can write, modify, and remove whatever Ram\n>> owns?  I am hoping that is not the case.\n>\n> I can see two reasons for having the same UID for two login names:\n>\n> 1) the sysadmin really messed up, and as you say, a total stranger has\n> complete ownership of your files. Ramkumar, you should check that this\n> is not your case.\n>\n> 2) the sysadmin explicitely gave two login names to the same physical\n> person, as kinds of aliases for the same UID (e.g. the person got\n> married, changed her name and login, but expects ~oldlogin to continue\n> working). I'm not sure how common this is, and to which extend we want\n> to support this in our test scripts.\n\nI've only been assuming (1), but (2) feels like a legitimate (if\nconfusing) way to configure your system.\n\nIt is a separate issue if it is worth bending backwards to support\nit in the test, though.\n"},{"id":"199332","messageId":"CALkWK0nndTDxoGXjFcp5PC1JUbuifbEJdcE2N8XCcOmOkj4OKg@mail.gmail.com","threadId":"31565","inReplyTo":"vpqipbcpp69.fsf@grenoble-inp.fr","subject":"Re: Test failure: Test #3 in t1304-default-acl","fromName":"Ramkumar Ramachandra","fromEmail":"artagnon@gmail.com","sentAt":"2012-09-18T06:19:48Z","receivedAt":"2012-09-18T06:19:48Z","isPatch":false,"sender":{"key":"r@artagnon.com","avatar":"https://avatars.githubusercontent.com/u/37226?v=4"},"body":"Hi,\n\nMatthieu Moy wrote:\n> I can see two reasons for having the same UID for two login names:\n>\n> 1) the sysadmin really messed up, and as you say, a total stranger has\n> complete ownership of your files. Ramkumar, you should check that this\n> is not your case.\n\nLooks like my sysadmin really screwed up :|\n\nRam\n"},{"id":"200249","messageId":"CALkWK0m9tkRXFZw-d_XADR9LXqxa0j_82bhhrd0FoEoHsO6yPg@mail.gmail.com","threadId":"31565","inReplyTo":"7vvcfctmka.fsf@alter.siamese.dyndns.org","subject":"Re: Test failure: Test #3 in t1304-default-acl","fromName":"Ramkumar Ramachandra","fromEmail":"artagnon@gmail.com","sentAt":"2012-10-01T07:38:21Z","receivedAt":"2012-10-01T07:38:21Z","isPatch":false,"sender":{"key":"r@artagnon.com","avatar":"https://avatars.githubusercontent.com/u/37226?v=4"},"body":"Hi Junio,\n\nJunio C Hamano wrote:\n> Matthieu Moy <Matthieu.Moy@grenoble-inp.fr> writes:\n>\n>> Junio C Hamano <gitster@pobox.com> writes:\n>>\n>>> I haven't been paying attention, but does that mean on that system,\n>>> a total stranger kseygold can write, modify, and remove whatever Ram\n>>> owns?  I am hoping that is not the case.\n>>\n>> I can see two reasons for having the same UID for two login names:\n>>\n>> 1) the sysadmin really messed up, and as you say, a total stranger has\n>> complete ownership of your files. Ramkumar, you should check that this\n>> is not your case.\n>>\n>> 2) the sysadmin explicitely gave two login names to the same physical\n>> person, as kinds of aliases for the same UID (e.g. the person got\n>> married, changed her name and login, but expects ~oldlogin to continue\n>> working). I'm not sure how common this is, and to which extend we want\n>> to support this in our test scripts.\n>\n> I've only been assuming (1), but (2) feels like a legitimate (if\n> confusing) way to configure your system.\n>\n> It is a separate issue if it is worth bending backwards to support\n> it in the test, though.\n\nFor what it's worth, `sudo` is \"broken\" on my system.\n\nRam\n"},{"id":"200250","messageId":"k4bj1v$pav$1@ger.gmane.org","threadId":"31565","inReplyTo":"CALkWK0m9tkRXFZw-d_XADR9LXqxa0j_82bhhrd0FoEoHsO6yPg@mail.gmail.com","subject":"Re: Test failure: Test #3 in t1304-default-acl","fromName":"Joachim Schmitz","fromEmail":"jojo@schmitz-digital.de","sentAt":"2012-10-01T08:08:23Z","receivedAt":"2012-10-01T08:08:23Z","isPatch":false,"sender":{"key":"jojo@schmitz-digital.de","avatar":"https://avatars.githubusercontent.com/u/1786669?v=4"},"body":"Ramkumar Ramachandra wrote:\n> Hi Junio,\n>\n> Junio C Hamano wrote:\n>> Matthieu Moy <Matthieu.Moy@grenoble-inp.fr> writes:\n>>\n>>> Junio C Hamano <gitster@pobox.com> writes:\n>>>\n>>>> I haven't been paying attention, but does that mean on that system,\n>>>> a total stranger kseygold can write, modify, and remove whatever\n>>>> Ram owns?  I am hoping that is not the case.\n>>>\n>>> I can see two reasons for having the same UID for two login names:\n>>>\n>>> 1) the sysadmin really messed up, and as you say, a total stranger\n>>> has complete ownership of your files. Ramkumar, you should check\n>>> that this is not your case.\n>>>\n>>> 2) the sysadmin explicitely gave two login names to the same\n>>> physical person, as kinds of aliases for the same UID (e.g. the\n>>> person got married, changed her name and login, but expects\n>>> ~oldlogin to continue working). I'm not sure how common this is,\n>>> and to which extend we want to support this in our test scripts.\n>>\n>> I've only been assuming (1), but (2) feels like a legitimate (if\n>> confusing) way to configure your system.\n>>\n>> It is a separate issue if it is worth bending backwards to support\n>> it in the test, though.\n>\n> For what it's worth, `sudo` is \"broken\" on my system.\n\nsudo can't deal properly with multiple users sharing a UID, as it uses \ngetpwuid(getuid()) in places.\nOn my system I've replaced that with getgwnam(getlogin()). which seems to \nwork fine here.\n\nBye, Jojo \n"},{"id":"200264","messageId":"7vehlidvlq.fsf@alter.siamese.dyndns.org","threadId":"31565","inReplyTo":"CALkWK0m9tkRXFZw-d_XADR9LXqxa0j_82bhhrd0FoEoHsO6yPg@mail.gmail.com","subject":"Re: Test failure: Test #3 in t1304-default-acl","fromName":"Junio C Hamano","fromEmail":"gitster@pobox.com","sentAt":"2012-10-01T16:07:29Z","receivedAt":"2012-10-01T16:07:29Z","isPatch":false,"sender":{"key":"gitster@pobox.com","avatar":"https://avatars.githubusercontent.com/u/54884?v=4"},"body":"Ramkumar Ramachandra <artagnon@gmail.com> writes:\n\n> Hi Junio,\n>\n> Junio C Hamano wrote:\n>> Matthieu Moy <Matthieu.Moy@grenoble-inp.fr> writes:\n>>\n>>> Junio C Hamano <gitster@pobox.com> writes:\n>>>\n>>>> I haven't been paying attention, but does that mean on that system,\n>>>> a total stranger kseygold can write, modify, and remove whatever Ram\n>>>> owns?  I am hoping that is not the case.\n>>>\n>>> I can see two reasons for having the same UID for two login names:\n>>>\n>>> 1) the sysadmin really messed up, and as you say, a total stranger has\n>>> complete ownership of your files. Ramkumar, you should check that this\n>>> is not your case.\n>>>\n>>> 2) the sysadmin explicitely gave two login names to the same physical\n>>> person, as kinds of aliases for the same UID (e.g. the person got\n>>> married, changed her name and login, but expects ~oldlogin to continue\n>>> working). I'm not sure how common this is, and to which extend we want\n>>> to support this in our test scripts.\n>>\n>> I've only been assuming (1), but (2) feels like a legitimate (if\n>> confusing) way to configure your system.\n>>\n>> It is a separate issue if it is worth bending backwards to support\n>> it in the test, though.\n>\n> For what it's worth, `sudo` is \"broken\" on my system.\n\nNot very surprised ;-)\n"}]}