It seems like there are some locale problems. I use Estonian locale, which passes also utf8 but official codepage is ISO 8859-15. But utf8 does the job also very well.
So - my question is - why is pmount source code still not corrected?! And Ubuntu (and other branches) are called "enterprise ready"? Or is it U.S. enterprise ready and not other countries?
Found this address: /launchpad. net/distros/ ubuntu/ +source/ pmount/ +bug/18516
https:/
there is written: ------- ------- -
-------
After reviewing pmount source code, I found this code snippet at policy.c:399:
fwl = fopen( WHITELIST, "r" );
if( !fwl )
return 0;
if( regcomp( &re, "^[[:space: ]]*([a- zA-Z0-9/ _+\\-\\ .]+)[[: space:] ]*(#.*) ?$", whitelisted( ): could not
REG_EXTENDED ) ) {
fprintf( stderr, "Internal error: device_
compile regex\n" );
exit( -1 );
}
Hmm...
After I delete /etc/pmount.allow, I re-insert USB flash, manager & pmount works properly.
and gnome-volume-
Or, below code should be replaced with it:
exit(-1); -> fclose(fwl); return 0; ------- ------- -
-------
It seems like there are some locale problems. I use Estonian locale, which passes also utf8 but official codepage is ISO 8859-15. But utf8 does the job also very well.
So - my question is - why is pmount source code still not corrected?! And Ubuntu (and other branches) are called "enterprise ready"? Or is it U.S. enterprise ready and not other countries?