by totedati » Mon Feb 23, 2009 1:26
DHalens wrote:No need to use sudo or su if your user is in entropy group.
hummm ... maybe entropy group is useful for status retrieval ... and sistem info like search in equo database ... but i don't think can make any real work, install/update using only that group permissions:
- Code: Select all
totedati@totedati ~ $ id
uid=1000(totedati) gid=0(root) groups=0(root),10(wheel),18(audio),19(cdrom),27(video),35(games),80(cdrw),85(usb),100(users),
250(portage),409(clamav),410(messagebus),411(haldaemon),441(plugdev),442(scanner),1000(entropy),1007(kvm),1009(vboxusers)
then a quick test:
- Code: Select all
totedati@totedati ~ $ equo update
>> @@ Repositories synchronization ...
>> [svn.sabayonlinux.org:1026] Successfully connected to host
>> [svn.sabayonlinux.org:1026] Successfully disconnected from host
>> # (1/1) Sabayon Linux Official Repository
>> # Database URL: http://svn.sabayonlinux.org/entropy/standard/sabayonlinux.org/database/amd64/4
>> # Database local path: /var/lib/entropy/client/database/amd64/sabayonlinux.org/standard/amd64/4
>> # Database EAPI: 3
>> [svn.sabayonlinux.org:1026] Successfully connected to host
>> [svn.sabayonlinux.org:1026] Successfully disconnected from host
>> Packages injection complete
>> Packages removal complete
>> ca.cert: available, w00t!.
>> server.cert: available, w00t!.
>> packages.db.mask: available, w00t!.
>> packages.db.system_mask: available, w00t!.
>> Downloading conflicting tagged packages file packages.db.conflicting_tag>> packages.db.conflicting_tagged: available, w00t!.
>> packages.db.lic_whitelist: available, w00t!.
>> packages.db.mask: available, w00t!.
>> make.conf: available, w00t!.
>> package.unmask: available, w00t!.
>> package.keywords: available, w00t!.
>> package.use: available, w00t!.
>> profile.link: available, w00t!.
>> notice.rss: not available, it's ok.
>> Repository revision: 910
>> @@ Skipping configuration files update, you are not root.
>> Cleaning ugc/ugc_docs => dumps...
Traceback (most recent call last):
File "/usr/lib64/entropy/client/equo.py", line 431, in <module>
rc = text_repositories.repositories(options)
File "../client/text_repositories.py", line 57, in repositories
rc = do_sync(reponames = repo_names, forceUpdate = equoRequestForceUpdate)
File "../client/text_repositories.py", line 183, in do_sync
rc = repoConn.sync()
File "../libraries/entropy.py", line 8146, in sync
rc = self.run_sync()
File "../libraries/entropy.py", line 7488, in run_sync
install_queue = False
File "../libraries/entropy.py", line 1143, in generate_cache
self.purge_cache(client_purge = client_purge)
File "../libraries/entropy.py", line 1131, in purge_cache
self.clear_dump_cache(etpCache[key], skip = skip)
File "../libraries/entropy.py", line 1212, in clear_dump_cache
os.rmdir(path)
OSError: [Errno 13] Permission denied: '/var/lib/entropy/caches/ugc/ugc_votes'
lol! so, still i need sudo for any real work ...

- Code: Select all
sudo equo update
Password:
>> @@ Repositories synchronization ...
>> [svn.sabayonlinux.org:1026] Successfully connected to host
>> [svn.sabayonlinux.org:1026] Successfully disconnected from host
>> # (1/1) Sabayon Linux Official Repository
>> # Database URL: http://svn.sabayonlinux.org/entropy/standard/sabayonlinux.org/database/amd64/4
>> # Database local path: /var/lib/entropy/client/database/amd64/sabayonlinux.org/standard/amd64/4
>> # Database EAPI: 3
>> Attention: database is already up to date.
>> !!! Equo/Entropy: a new release is available. Mind to install it before any other package.
>> @@ Notice board: sabayonlinux.org
>> @@ Notice board not available
lol! time to try again entropy v0.51.0 ... maybe this time is better that last time i tested this version, v0.51.0 ... maybe

linux is free, the expertise to harness it is not!
you don't make so much money selling open source software!
You make MORE money USING it, just like google!
linux registered user #352479