Toralf Förster
2015-07-03 18:22:33 UTC
I tried this, which won't work :
***@tor-relay ~ $ sed -i -e 's/j1/j2/g' perl-5.22/etc/portage/make.conf
sed: couldn't open temporary file perl-5.22/etc/portage/sedw9SFZf: Permission denied
whereas I'm allowed to edit that file as the user tinderbox
***@tor-relay ~ $ vi perl-5.22/etc/portage/make.conf
/me wonders if sed relies on having a temp copy of that file in the same dir or not.
***@tor-relay ~ $ sed -i -e 's/j1/j2/g' perl-5.22/etc/portage/make.conf
sed: couldn't open temporary file perl-5.22/etc/portage/sedw9SFZf: Permission denied
whereas I'm allowed to edit that file as the user tinderbox
***@tor-relay ~ $ vi perl-5.22/etc/portage/make.conf
/me wonders if sed relies on having a temp copy of that file in the same dir or not.
--
Toralf, pgp key: 872AE508 0076E94E
Toralf, pgp key: 872AE508 0076E94E