On Mon, 1 Jul 2002, Corrin Lakeland wrote:

Further to my last message

dpkg:lib/dbmodify.c:146
  case msdbrw_needsuperuserlockonly:
/*    if (getuid() || geteuid())
      ohshit(_("requested operation requires superuser privilege"));
*/
    /* fall through */
  case msdbrw_write: case msdbrw_writeifposs:
    if (access(adir,W_OK)) {
      if (errno != EACCES)

Note, the second test actually attempts to access the file, and that will
fail if you don't have write permission.  Also there is a similar check in
method.cc that I left because it was actually attempting to use root.

Corrin



-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
Fink-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/fink-devel

Reply via email to