[comp.unix.aux] Problems with A/UX File Permissions and Mac Applications

liam@cs.qmw.ac.uk (William Roberts;) (02/06/91)

In <1418@ucl-cs.uucp> J.Purchase@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@cs.qmw.ac.uk
Queen Mary & Westfield College  UUCP: liam@qmw-cs.UUCP
Mile End Road                   AppleLink: UK0087
LONDON, E1 4NS, UK              Tel:  071-975 5250 (Fax: 081-980 6533)