I like path 1 and 3.

Path 2 is not portable. The filesys backend won't be around forever. In near
future the default will be the daemon backend with berkeleydb. But you'll be
able to easily migrate dumping all to XML and reloading on a different
backend.

For 1, you can set your umask on the environment, so the access permissions
will be set automatically without having to pass any extra parameter to the
kdb command.

Regards,
Avi

On 3/10/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:


Hello all !

Sorry for reposting this. I didn't took care that the mail was sent in
plain text. My fault. Please ignore the first one.


I have a question about best configuring elektra to be used by multiple
system users.

Our company is currently migrating from windows and netware to linux and
elektra was the choice for the registry components. We are migrating some
applications to linux that need read write access to the registry.

As those applications run on different system accounts, without root
privilegs, they all have to read / write the same registry keys below
system. Right now we know that we have several solutions for that:

1. put all those system accounts in a group, and every time we set a
registry key we should add the mode 664 and the gid parameters to the kdb
command. As we do a lot of set with kdb a lot to do.

2. we can set the GUID bit on the /etc/kdb directory and set the
appropriate group on that directory. So all created files and directories
below will inherit that group. Additional we have to use the mode
parameter
to give the group write access.

3. put some shell scripts around the kdb command which add the mode and
gid
automatically.

I would be interested in how other would handle such a problem.
I thought there might maybe a shell enbironment variable like the KDB_ROOT
where we can add the mode and the gid. But I found nothing about that.
Maybe something for the wishlist for the next versions.

Thanks for elektra (!!!) and thanks for any suggestion.
Rainer



--
http://avi.alkalay.net/blog
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Registry-list mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/registry-list

Reply via email to