Re: Some shell fun
This WebDNA talk-list message is from 2004
It keeps the original formatting.
numero = 58336
interpreted = N
texte = > I believe that means that all commands within the script must be listed o=n the> sudoers file as well.All commands within the script are listed also in the sudoer file. Actuallyall I am trying to do, is to mimick your CVS script (cvsnt) on MacOS X. Iwant to export a directory from cvs.The script does the following:Cd /mypathCvs export -d "now" cvspath mypathChown www:wheel *The script runs fine from the terminal but not when called within WebDNA.> Alternatively, and more flexible, is to make the script itself suid, like> this:>=20> # chown user_that_can_run_commands_but_not_root scriptOk, that would be "www".> # chmod +S script>=20> which will mean that the script will be run as if by that user.The "+S" does not work under MacOS X, I guess since I get a "chmod: invalidfile mode: +S" message.Nitai--=20Tools to energize your businessWeb Content Management =ABRedakto=BB & eBusiness SystemsComputerOil=AE AGDammstrasse 75400 Baden / SwitzerlandTelefon +41 (0)844 44 55 66info@computeroil.comhttp://computeroil.com-------------------------------------------------------------This message is sent to you because you are subscribed to the mailing list
.To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Web Archive of this list is at: http://webdna.smithmicro.com/
Associated Messages, from the most recent to the oldest:
> I believe that means that all commands within the script must be listed o=n the> sudoers file as well.All commands within the script are listed also in the sudoer file. Actuallyall I am trying to do, is to mimick your CVS script (cvsnt) on MacOS X. Iwant to export a directory from cvs.The script does the following:Cd /mypathCvs export -d "now" cvspath mypathChown www:wheel *The script runs fine from the terminal but not when called within WebDNA.> Alternatively, and more flexible, is to make the script itself suid, like> this:>=20> # chown user_that_can_run_commands_but_not_root scriptOk, that would be "www".> # chmod +S script>=20> which will mean that the script will be run as if by that user.The "+S" does not work under MacOS X, I guess since I get a "chmod: invalidfile mode: +S" message.Nitai--=20Tools to energize your businessWeb Content Management =ABRedakto=BB & eBusiness SystemsComputerOil=AE AGDammstrasse 75400 Baden / SwitzerlandTelefon +41 (0)844 44 55 66info@computeroil.comhttp://computeroil.com-------------------------------------------------------------This message is sent to you because you are subscribed to the mailing list .To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Web Archive of this list is at: http://webdna.smithmicro.com/
"Nitai @ ComputerOil"
DOWNLOAD WEBDNA NOW!
Top Articles:
Talk List
The WebDNA community talk-list is the best place to get some help: several hundred extremely proficient programmers with an excellent knowledge of WebDNA and an excellent spirit will deliver all the tips and tricks you can imagine...
Related Readings:
Multiple fields on 1 input (1997)
Ticks Email Preference (2002)
creating a ShipCosts database (1997)
More to Expire (1998)
(1997)
Referrer field to header field conversion (1997)
[append] vs. [appendfile] delta + question? (1997)
page redirect in webDNA (1997)
Append File help needed (2000)
shipping with weigth (1998)
WC Database Format (1997)
Content Management + License (2005)
WebCat2b15MacPlugin - [protect] (1997)
Problems getting parameters passed into email. (1997)
help testing quicktime delivery (1997)
WebDNA maxing out processor (2008)
no [search] with NT (1997)
unable to launch acgi in WebCat (1997)
(1998)
Multiple catalog databases and showcart (1997)