https://bugzilla.novell.com/show_bug.cgi?id=681106 https://bugzilla.novell.com/show_bug.cgi?id=681106#c4 --- Comment #4 from Len Day <led@lenday.com> 2011-04-17 19:04:29 UTC --- I got tired of waiting and wrote a program that I could install suid root. Note the call to setuid. This should not be necessary but it was. So something is checking the real uid instead of the effective uid for unmounts. Problem in the kernel build? Anyway, this works. Use this at your own risk. With it installed suid root anybody can unmount anything... I used my own string class, you'll have to change that anyway, // 04/17/11, L. E. Day #include <stdio.h> #include <stdlib.h> #include <ledutil.h> int main(int argc, char * argv[]) { LedString cmd("umount "); int stat; stat = setuid(0); if (stat) { fprintf(stderr, "setuid failed with status %d. This program must be installed suid root.\n", stat); exit(stat); } if (argc != 2) { fputs("usage: rum string\nPasses string exactly as specified to umount\n", stderr); exit(1); } cmd += argv[1]; stat = system(cmd.c_str()); exit(stat); } -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.