On 10/06/15 04:33, Lothar Weimer wrote: > Hello folks, > > I compiled scid 4.6.1 under Linux Mint 17.1 without having zlib > installed. When I try to run scid now from the command prompt I get this > error message: > > lothar@triton ~ $ scid > couldn't read directory "/usr/local/share/scid/img/buttons/": permission > denied > while executing > "glob -directory $dname *.gif" > (procedure "InitImg" line 12) > invoked from within > "InitImg" > (file "/usr/local/share/scid/tcl/start.tcl" line 373) > > On the other hand, if I call scid with "sudo scid" instead, it comes up > without showing error messages. But of course I don't want to run scid > with super user permissions all the time. > > Any hints? > Shore term sudo find /usr/local/share/scid -type d -exec chmod 555 {} \; sudo find /usr/local/share/scid -type f -exec chmod 444 {} \;
The first gives all users the ability to search directories /usr/local/share/scid and below The second gives all users the ability to read all files in /usr/local/share/scid and below. If there are executable files there they will need 555 in place of 444, but I'd argue the package is broken if so. Long term someone needs to look at the install routine. > Lothar > > ------------------------------------------------------------------------------ > _______________________________________________ > Scid-users mailing list > Scid-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/scid-users > ------------------------------------------------------------------------------ _______________________________________________ Scid-users mailing list Scid-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/scid-users