Re: wineprefixcreate: more stringent sanity check (try 2)
21 Mar
2008
21 Mar
'08
8:28 a.m.
On Thu, Mar 20, 2008 at 05:25:12PM -0700, Dan Kegel wrote:
(Moved check to wineprefixcreate as Alexandre suggested.)
Many newbies mistakenly run wine as root. Catch this in wineprefixcreate and direct them to the wiki. Power users can bypass the check with --nosanitycheck. Fixes the remainder of http://bugs.winehq.org/show_bug.cgi?id=10324
+if [ $do_sanitycheck = 1 ] && [ -w / ]; then + cat > /tmp/wineprefixcreate.$$.txt <<_EOF
Bad from a security point of view at least, its predictable and should perhaps be removed later on. Pass it directly as argument to botyh xmessage and echo I would say. txt=<<EOL ...here the text ... EOL xmessage ... "$txt" Ciao, Marcus
6481
Age (days ago)
6481
Last active (days ago)
0 comments
1 participants
participants (1)
-
Marcus Meissner