[PD] -rt flag and shell scripts

guenter geiger geiger at xdv.org
Thu Oct 7 11:50:41 CEST 2004


On Thu, 7 Oct 2004 rat at telecoma.net wrote:
> by now using the -rt flag it even gets worse, the somtimes noise
> mutated to dropouts + heavy clicks.

Seems you have discovered a serious problem with shell. Attached is a
version that should be fixed (I just tried an endless while loop that
killed my machine without this).

Guenter

>
> i call the shell scripts via the shell external.
> is it possible that the execution of the scripts is
> given priority because of calling them from pd -rt ?
> if yes would there be a way around this ?
>
> merci
>
> erich
>
> ----------------------------------
> http://randomseed.org
>
> On Wed, 6 Oct 2004, Martin Pichlmair wrote:
>
> >
> > hi erich,
> >
> > afaik suid runs the program under the owner's name. so in your case pd
> > has to be owned by root (the patch does not matter) in order to run as
> > root's process.
> >
> > chown root:spinne pd
> >
> > should do it.
> >
> > lg
> > martin
> >
> >
> > On Oct 6, 2004, at 14:47, <rat at telecoma.net> wrote:
> >
> > > hi,
> > >
> > > i want to run pd with rt flag as a user.
> > > so i searched the archive on how to do
> > > this.
> > >
> > > besides that there were several solutions
> > > regarding chmod - non if these are working
> > > for me.?!%
> > >
> > > at the moment its set to chmod 4755:
> > >
> > > -rwsr-xr-x  1 spinne spinne 1839956 Oct  4 13:18 pd
> > > but i get a: realtime setting failed because not root
> > >
> > > if it works with -rt, should i get some
> > > output on the terminal regarding rt
> > > capapilities ?
> > >
> > > is */bin/pd the only file which needs a chmod ?
> > >
> > > i would very thankful for some suggestions
> > >
> > > merci
> > >
> > > erich
> > >
> > >
> > >
> > > _______________________________________________
> > > PD-list at iem.at mailing list
> > > UNSUBSCRIBE and account-management ->
> > > http://iem.at/cgi-bin/mailman/listinfo/pd-list
> > >
> > >
> > attacksyour.net/pi
> >
>
>
> _______________________________________________
> PD-list at iem.at mailing list
> UNSUBSCRIBE and account-management -> http://iem.at/cgi-bin/mailman/listinfo/pd-list
>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: shell.c
Type: text/x-csrc
Size: 7024 bytes
Desc: 
URL: <http://lists.puredata.info/pipermail/pd-list/attachments/20041007/9de1053e/attachment.c>


More information about the Pd-list mailing list