A few days ago, I posted to the users mailing list:

> I finally got V2.0 working on Debian potato yesterday, and it no
> longer works today (weird) without even a reboot.

I got win4lin V2.0 to work again yesterday and it again no longer
worked today, a day later: `dos' would complain that permissions
or privileges were incorrect.  I knew something was breaking
after 1 day, which made me look at suidmanager on Debian since it
runs a cron job every day to reset permissions.  Sure enough,
when the alien-created deb package is unpacked, you get the
following:

-r-sr-xr-x    1 6146     124         17600 Nov  9 18:55 /opt/win4lin/bin/mountc
-r-sr-xr-x    1 root     bin          6196 Nov  9 18:55 /opt/win4lin/mcd
-r-sr-xr-x    1 root     bin        348748 Nov  9 18:55 /opt/win4lin/publicbin/dosexec

This works.  As soon as suidmanager runs, the root:bin ownership
is changed to 6146.124 (yuck!):

# /etc/cron.daily/suidmanager
suidregister: /opt/win4lin/mcd PERMISSION MISMATCH: was root.bin 4555 changed to 
6146.124 4555
suidregister: /opt/win4lin/publicbin/dosexec PERMISSION MISMATCH: was root.bin 4555 
changed to 6146.124 4555

This no longer works!

The solution is to edit /etc/suid.conf (if the suidmanager
package is installed), changing 6146.124 to root.bin :

win4lin /opt/win4lin/bin/mountc root bin 4555
win4lin /opt/win4lin/mcd root bin 4555
win4lin /opt/win4lin/publicbin/dosexec root bin 4555

Of course, a long-term solution would be for netraverse to support
Debian again and to make a proper package.  ;-)

-- 
Peter Galbraith, research scientist          <[EMAIL PROTECTED]>
Maurice Lamontagne Institute, Department of Fisheries and Oceans Canada
P.O. Box 1000, Mont-Joli Qc, G5H 3Z4 Canada. 418-775-0852 FAX: 775-0546
    6623'rd GNU/Linux user at the Counter - http://counter.li.org/ 
_______________________________________________
Win4Lin-users mailing list
[EMAIL PROTECTED]
https://lists.netraverse.com/mailman/listinfo/win4lin-users

Reply via email to