http://bugs.winehq.com/show_bug.cgi?id=1523
Summary: wineshelllink crashes under Debian when run as a normal user Product: Wine Version: 20030508 Platform: PC URL: http://www.hut.fi/~ekantola/wine/tools/wineshelllink OS/Version: Linux Status: UNCONFIRMED Severity: trivial Priority: P5 Component: wine-misc AssignedTo: wine-bugs@winehq.com ReportedBy: ekantola@welho.com
wineshelllink, lines 148-151:
if [ -d "/usr/lib/menu" ] then mdk_entry >> "/usr/lib/menu/wine" fi
This throws a `Permission Denied' when run as a normal user. So i would suggest:
if [ -d "/usr/lib/menu" ] && [ -w "/usr/lib/menu" ]
to check if the directory actually is writable by the script.