can i version root files as a non-root user in bazaar?

John Arbash Meinel john at arbash-meinel.com
Wed Jun 4 18:36:16 BST 2008


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Rahul Nabar wrote:
| To version files bazaar needs only read access to them, right? I
| wanted to version several config. files on my system that are root
| writable ( /etc/dhcp.conf etc.)
|
| I was a bit hesitant running bazaar as root (the lesser the apps run
| as root the better! need-to-know-principle). So I was wondering if
| there was a "safer" way out. Either doing it as a normal user ( who
| has read access to many of these files) Or creating another user in
| the "root" group with only read access for versioning purposes (for
| those files that a normal user is not even allowed to read).
|
| Any comments / caeveats?
|
| --
| Rahul
|
|

Generally, you can chmod + chown the .bzr directory to be writable and
everything underneath it. I think there might be a problem with files that are
not readable (we'll try to see what there status is, and die because we can't
open them).

But I know at least one or two sysadmins that use it.

John
=:->
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (Cygwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAkhG0pAACgkQJdeBCYSNAAN0yACfc2KB4SBC39pgxPDKobO3ACcr
LgEAnRgTDi6M9zp3wDIgIiVMC+EoYhc+
=zjYf
-----END PGP SIGNATURE-----



More information about the bazaar mailing list