[openbeos] Re: B_USER_DATA_DIRECTORY?

> I hope few people here are on digest, cause this one is supersized. 
> :]
> 
> The opinions expressed are my own, 
> (and not necessarily those of the Haiku uberdevs ;) 
> and so is this soapbox. Feel free to read on:
> 
> "Scott MacMaster" <scott@xxxxxxxxxxxxxxxxxx> wrote:
>  ...
> > BeOS only nicely supports a single local user setup.
>  ...
> > There needs to be a folder for each user so they can 
> > each have their own desktop, BeOS menu, screen 
> > saver, etc. configurations. 
> 
> Absolutely.  
> 
> Replacing 
>     /boot/home/{my stuff}
> 
>  with
>     /boot/home/jonas/{my stuff}
>     /boot/home/strongmad/{strongmad's files}
>     /boot/home/scriptkid/{all your base..}
> 
This is the *last* thing to do.
lot of sripts relies on $HOME = /boot/home or at least having someone's 
$HOME at /boot/home
so putting user's homes in there is bad.
Just do like OSX:
/boot/users/foo
and use /boot/home for root.

> is probably the least complicated part in 
> making Haiku fully multiuser. 
> 
> (I'm guessing that retro-fitting access control on all parts on all 
> currently global resources in the current API is a major undertaking. 
> Like queries. That might be easy though. Only return files the 
> current 
> user is permitted access to. Other parts of the API may be trickier.)
Well, indices have perms, but currently only root has his indices.

> 
> (BTW, IMO, 'home' is starting to feel a little dated. 
> I mean, we've had it since.. the 1970's?
> Perhaps users, accounts, or people would be a 
> better name for such a folder.)
> 
/boot/users/ ?


Sorry I didn't read the rest.
That doesn't belong to here anyway.

François.

Other related posts: