On Wed Nov 15, 2000 at 03:01:26PM +0100, Martin Wilck wrote:

> > Would it be possible to use the user's home directory somehow? 
> I cannot see a way to do this. Also, users may be upset if unexpectedly
> something is written into their home directory. I might as well require
> the user to copy the entire directory to their home directory before
> carrying out the benchmark (then, at least, the user would know what
> happens).

Hmmm... yeah, I see your point there.  That might not be the most
pleasant of surprises... =)

> > I don't think placing world-writable dirs in %{_localstatedir} is a good
> > idea.  Or into /tmp/[package] or something like that?  
> 
> Of course I was thinking of
> %{_localstatedir}/[package]/[world-writable-dir]. 
> 
> The reason was that AFAIK there are two world-writable directories
> on standard systems, /tmp and /var/tmp, both with permissions 1755,
> where the sticky bit excludes that users delete files.

That might be a good idea.  You just have to make sure that wherever
you place the directory is somewhere accessable to all users.

> However, the best idea might be to install into a regular 
> non-world-writable directory
> and make the output go to /tmp/[package]/something.

That would be my suggestion.  Prevents tampering with the package
itself, but lets them get to the output.

-- 
[EMAIL PROTECTED], OpenPGP key available on www.keyserver.net
1024D/FE6F2AFD   88D8 0D23 8D4B 3407 5BD7  66F9 2043 D0E5 FE6F 2AFD
 - Danen Consulting Services    www.danen.net, www.freezer-burn.org
 - MandrakeSoft, Inc.           www.linux-mandrake.com

Current Linux uptime: 2 days 7 hours 47 minutes.

Reply via email to