-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 05/12/2019 15.03, David T-G wrote:
Carlos, et al --
...and then Carlos E. R. said... % % On 05/12/2019 00.08, Dave Howorth wrote: % ... % > why do you need any sudoers line at all? % % Because my sudo configuration refuses any command that is not [snip]
Then you'd definitely want
... | xargs -0 sudo /path/to/fixit.sh
from my earlier suggestion.
maybe (in sudoers): cer Telcontar = (root) /bin/bash \ /data/storage_b/cer/./0_Change_PicturesPerms_via_sudo will be the easiest (then I don't need two scripts: one script calls fixit.sh) I might try xargs in the script, it would run faster. With the caveat that we are talking of about 15000 files with paths, more than fits the line command buffer - unless xargs knows to split in several lines. I don't remember if it does. I just thought that sudoers did not allow scripts. - -- Cheers / Saludos, Carlos E. R. (from 15.1 x86_64 at Telcontar) -----BEGIN PGP SIGNATURE----- iF0EARECAB0WIQQZEb51mJKK1KpcU/W1MxgcbY1H1QUCXekSrwAKCRC1MxgcbY1H 1XJGAJ9DCIBxoqEchw2uHksVKLxcL31F3gCdFxva/e3wVZT0o/gWmedggLqJNiw= =/b1+ -----END PGP SIGNATURE----- -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org