On Jan 9 21:24, Bob Doskuno wrote: > I didn't try the snapshot, but I did try email. > > Now, running setup (with no-admin) gives a postinstall script error. Sending > a couple test emails worked, but there seems to be an invalid assumption, > that the user will have admin, in the postinstall script, giving: > > > Package: _/Unknown package > email.sh exit code 1 > > > /var/log/setup.log.full excerpt: > > 2015/01/09 11:50:41 running: C:\cygwin64\bin\bash.exe --norc --noprofile > "/etc/postinstall/email.sh" > chown: changing ownership of > '/etc/defaults/etc/email/email.address.template': Permission denied > chown: changing ownership of '/etc/defaults/etc/email/email.conf': Permission > denied > chown: changing ownership of '/etc/defaults/etc/email/email.help': Permission > denied > chown: changing ownership of '/etc/defaults/etc/email/email.sig': Permission > denied > chown: changing ownership of '/etc/defaults/etc/email/mime.types': Permission > denied > 2015/01/09 11:50:44 abnormal exit: exit code=1 > > > Excerpt from /etc/postinstall/email.sh where error happens: > > > SYSTEMUID=$(sed -ne > '/^[^:]*:[^:]*:[0-9]*:[0-9]*:[^:]*,S-1-5-18:.*:/{s/[^:]*:[^:]*:\([0-9]*\):.*$/\1/p;q}' > /etc/passwd) > ADMINSGID=$(sed -ne > '/^[^:]*:S-1-5-32-544:.*:/{s/[^:]*:[^:]*:\([0-9]*\):.*$/\1/p;q}' /etc/group) > setfacl -m u::rw-,g::rw-,o:r-- /etc/defaults/etc/email/* > if [ -n "${SYSTEMUID}" -a -n "${ADMINSGID}" ] > then > chown "${SYSTEMUID}:${ADMINSGID}" /etc/defaults/etc/email/* > else > ...
Thanks for the report. This definitely needs fixing. Corinna -- Corinna Vinschen Please, send mails regarding Cygwin to Cygwin Maintainer cygwin AT cygwin DOT com Red Hat
pgpHA0VPFm1pn.pgp
Description: PGP signature