On 17 September 2014 14:38, R P Herrold <herrold(a)owlriver.com> wrote:
On Wed, 17 Sep 2014, Stephen John Smoogen wrote:
> +export HOME=/root/
so long as you are setting a path, why not set: /tmp/ and so
signal that it is readily discardable content?
That would imply we discard stuff in /tmp/ which we don't normally do :).
In this case, I decided to look at where the script places files normally
(if I am logged in via sudo -i and run the script manually these files are
supposed to land in /root/ as $HOME is set there.) I figured Principle of
Least Surprise should keep it there.
I could set UMASK or something but during a code freeze I would like to
keep changes to least amount as I am not sure if UMASK is going to be
honoured all the way through the program or if setting UMASK would break
items. After the freeze these would be useful items to implement.
I hope that helps explain the reasoning which should have been a comment
somewhere.
-- R
_______________________________________________
infrastructure mailing list
infrastructure(a)lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/infrastructure
--
Stephen J Smoogen.