Problems with A/UX File Permissions and Mac Applications

William Roberts; liam at cs.qmw.ac.uk
Wed Feb 6 23:05:41 AEST 1991


In <1418 at ucl-cs.uucp> J.Purchase at cs.ucl.ac.uk (Jan Purchase) writes:

>2) Similarly, some applications demand that associated data directories are
>world writeable, ...

Funny how all the screendump utilities try to write files in the top folder of 
the volume containing the system folder... Either you make / world writeable 
or you can't have screendumps as an ordinary mortal :-(

>However it seems that set-gid bits *don't* work for Mac applications or
>shell scripts (perhaps because they are not actually executed, but read into
>/mac/bin/launch and /bin/sh respectively, which then executes). Are there
>any other ways of doing this??

setgid/setuid doesn't work on shell scripts for very good security reasons.
You should be able to make setgid work on Mac applications by putting the 
setgid on a suitably renamed version of launch and invoking "mylaunch 
macthing" but... it won't do you any good because the Mac applications won't 
be able to talk to the /dev/uinter0 device.
--

William Roberts                 ARPA: liam at cs.qmw.ac.uk
Queen Mary & Westfield College  UUCP: liam at qmw-cs.UUCP
Mile End Road                   AppleLink: UK0087
LONDON, E1 4NS, UK              Tel:  071-975 5250 (Fax: 081-980 6533)



More information about the Comp.unix.aux mailing list