John. for me sounds good, wonderful
here's an idea... why not include a utility which sets the ownerships and permissions correctly? > > for RPM users, the program would be called called a post-install script to > ensure that the newly created directory structure has the proper ownership > and permissions. > > for users who install from source, they can either run it by hand, or have > a "make check" step which runs it. > > and after it's installed, no matter HOW it was installed, the machine owner > can run it at any time to ensure that the permissions of his vpopmail > directory are correct. > > if there's interest in the idea, i'll write it. it amounts to a compiled C > version of the "vfixpermissions" script from my web site. > > of course, i've never understood why the vpopmail user's numeric uid/gid > needs to be hard-coded into the executables to begin with. is it really that > expensive to call getpwnam() when the program starts? or was that done > simply because djb did it in qmail? > > ---------------------------------------------------------------- > | John M. Simpson --- KG4ZOW --- Programmer At Large | > | http://www.jms1.net/ <j...@jms1.net> | > ---------------------------------------------------------------- > | http://video.google.com/videoplay?docid=-1656880303867390173 | > ---------------------------------------------------------------- > > > > > > > > -- ------------ Itamar Reis Peixoto e-mail/msn: ita...@ispbrasil.com.br sip: ita...@ispbrasil.com.br skype: itamarjp icq: 81053601 +55 11 4063 5033 +55 34 3221 8599 !DSPAM:49d34b0a32681779417726!