[Bug 1523] New: wineshelllink crashes under Debian when run as a normal user

Wine Bugs wine-bugs at winehq.com
Fri Jun 13 15:50:14 CDT 2003


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 at winehq.com
        ReportedBy: ekantola at 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.

-- 
Configure bugmail: http://bugs.winehq.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.



More information about the wine-bugs mailing list