public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] Make the user the member of portage group or not?
@ 2015-03-13  9:08 German
  2015-03-13  9:25 ` Neil Bothwick
                   ` (2 more replies)
  0 siblings, 3 replies; 9+ messages in thread
From: German @ 2015-03-13  9:08 UTC (permalink / raw
  To: gentoo-user

Question is in the subject line. Another question I have is there any point to use other frambuffer device ( I currently use efifb) and I am thinking to use fb for my radeon r4 graphics in hopes to get some acceleration. Thanks

-- 
German <gentgerman@gmail.com>


^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [gentoo-user] Make the user the member of portage group or not?
  2015-03-13  9:08 [gentoo-user] Make the user the member of portage group or not? German
@ 2015-03-13  9:25 ` Neil Bothwick
  2015-03-13 10:42 ` Walter Dnes
  2015-03-14 12:40 ` [gentoo-user] " Andreas K. Huettel
  2 siblings, 0 replies; 9+ messages in thread
From: Neil Bothwick @ 2015-03-13  9:25 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 462 bytes --]

On Fri, 13 Mar 2015 05:08:16 -0400, German wrote:

> Question is in the subject line.

And the answer is in your hands? Does not being a member of the portage
group cause any problems for you? If not, you have no need of it.


-- 
Neil Bothwick

Quantum leap: (adj.) literally, to move by the smallest amount
theoretically possible. In advertising, to move by the largest leap
imaginable (in the mind of the advertiser). There is no contradiction.

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 181 bytes --]

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [gentoo-user] Make the user the member of portage group or not?
  2015-03-13  9:08 [gentoo-user] Make the user the member of portage group or not? German
  2015-03-13  9:25 ` Neil Bothwick
@ 2015-03-13 10:42 ` Walter Dnes
  2015-03-13 10:51   ` German
                     ` (2 more replies)
  2015-03-14 12:40 ` [gentoo-user] " Andreas K. Huettel
  2 siblings, 3 replies; 9+ messages in thread
From: Walter Dnes @ 2015-03-13 10:42 UTC (permalink / raw
  To: gentoo-user

On Fri, Mar 13, 2015 at 05:08:16AM -0400, German wrote
> Question is in the subject line.

  If the user is a member of portage he can do any emerge operation as
long as the command includes "--pretend" or "-p"

[d531][waltdnes][~] emerge -pv ufraw    

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild   R    ] media-gfx/ufraw-0.20-r1  USE="-contrast -fits -gimp
-gnome -gtk -openmp -timezone" 0 KiB

Total: 1 package (1 reinstall), Size of downloads: 0 KiB


  However, the regular user is not allowed to actually emerge or unmerge
anything.  E.g...

[d531][waltdnes][~] emerge -v ufraw
emerge: superuser access is required


  The idea is to allow the user to find out what he would have to do if
he wanted to emerge/unmerge something.

-- 
Walter Dnes <waltdnes@waltdnes.org>
I don't run "desktop environments"; I run useful applications


^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [gentoo-user] Make the user the member of portage group or not?
  2015-03-13 10:42 ` Walter Dnes
@ 2015-03-13 10:51   ` German
  2015-03-13 12:19   ` [gentoo-user] " Nikos Chantziaras
  2015-03-13 12:33   ` [gentoo-user] " Neil Bothwick
  2 siblings, 0 replies; 9+ messages in thread
From: German @ 2015-03-13 10:51 UTC (permalink / raw
  To: gentoo-user

On Fri, 13 Mar 2015 06:42:08 -0400
"Walter Dnes" <waltdnes@waltdnes.org> wrote:

> On Fri, Mar 13, 2015 at 05:08:16AM -0400, German wrote
> > Question is in the subject line.
> 
>   If the user is a member of portage he can do any emerge operation as
> long as the command includes "--pretend" or "-p"
> 
> [d531][waltdnes][~] emerge -pv ufraw    
> 
> These are the packages that would be merged, in order:
> 
> Calculating dependencies... done!
> [ebuild   R    ] media-gfx/ufraw-0.20-r1  USE="-contrast -fits -gimp
> -gnome -gtk -openmp -timezone" 0 KiB
> 
> Total: 1 package (1 reinstall), Size of downloads: 0 KiB
> 
> 
>   However, the regular user is not allowed to actually emerge or unmerge
> anything.  E.g...
> 
> [d531][waltdnes][~] emerge -v ufraw
> emerge: superuser access is required
> 
> 
>   The idea is to allow the user to find out what he would have to do if
> he wanted to emerge/unmerge something.

Thanks for your answer. It now got clearer to me.
> 
> -- 
> Walter Dnes <waltdnes@waltdnes.org>
> I don't run "desktop environments"; I run useful applications
> 


-- 
German <gentgerman@gmail.com>


^ permalink raw reply	[flat|nested] 9+ messages in thread

* [gentoo-user] Re: Make the user the member of portage group or not?
  2015-03-13 10:42 ` Walter Dnes
  2015-03-13 10:51   ` German
@ 2015-03-13 12:19   ` Nikos Chantziaras
  2015-03-13 12:33   ` [gentoo-user] " Neil Bothwick
  2 siblings, 0 replies; 9+ messages in thread
From: Nikos Chantziaras @ 2015-03-13 12:19 UTC (permalink / raw
  To: gentoo-user

On 13/03/15 12:42, Walter Dnes wrote:
> On Fri, Mar 13, 2015 at 05:08:16AM -0400, German wrote
>> Question is in the subject line.
>
>    If the user is a member of portage he can do any emerge operation as
> long as the command includes "--pretend" or "-p"

Actually, users in the portage group can "emerge --fetchonly" without 
"--pretent". Also, they can:

   rm -rf /usr/portage

(Or whatever the portage directory is set to.)

This might depend on other settings in FEATURES, not sure. But here, 
/usr/portage and everything in it belongs to user portage and group portage.



^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [gentoo-user] Make the user the member of portage group or not?
  2015-03-13 10:42 ` Walter Dnes
  2015-03-13 10:51   ` German
  2015-03-13 12:19   ` [gentoo-user] " Nikos Chantziaras
@ 2015-03-13 12:33   ` Neil Bothwick
  2015-03-13 21:49     ` [gentoo-user] " Nikos Chantziaras
  2 siblings, 1 reply; 9+ messages in thread
From: Neil Bothwick @ 2015-03-13 12:33 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 714 bytes --]

On Fri, 13 Mar 2015 06:42:08 -0400, Walter Dnes wrote:

>   If the user is a member of portage he can do any emerge operation as
> long as the command includes "--pretend" or "-p"

You don't need to be a member of the portage group to do that.

[fred@shooty ~ 0]% groups
users
[fred@shooty ~ 0]% emerge -p bash

These are the packages that would be merged, in order:

Calculating dependencies... done!
[binary   R    ] app-shells/bash-4.3_p33-r2 

Being a member of the portage group allows to to write to directories
owned by portage, so you can do things like emerge --sync and
emerge --fetchonly.


-- 
Neil Bothwick

Eat shit - 50 million flies can't be wrong
Use Microsoft . . . . .

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 181 bytes --]

^ permalink raw reply	[flat|nested] 9+ messages in thread

* [gentoo-user] Re: Make the user the member of portage group or not?
  2015-03-13 12:33   ` [gentoo-user] " Neil Bothwick
@ 2015-03-13 21:49     ` Nikos Chantziaras
  2015-03-13 22:21       ` Neil Bothwick
  0 siblings, 1 reply; 9+ messages in thread
From: Nikos Chantziaras @ 2015-03-13 21:49 UTC (permalink / raw
  To: gentoo-user

On 13/03/15 14:33, Neil Bothwick wrote:
>
> Being a member of the portage group allows to to write to directories
> owned by portage, so you can do things like emerge --sync and
> emerge --fetchonly.

You can do fetchonly, but sync is not possible. You need root for that.



^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [gentoo-user] Re: Make the user the member of portage group or not?
  2015-03-13 21:49     ` [gentoo-user] " Nikos Chantziaras
@ 2015-03-13 22:21       ` Neil Bothwick
  0 siblings, 0 replies; 9+ messages in thread
From: Neil Bothwick @ 2015-03-13 22:21 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 455 bytes --]

On Fri, 13 Mar 2015 23:49:20 +0200, Nikos Chantziaras wrote:

> > Being a member of the portage group allows to to write to directories
> > owned by portage, so you can do things like emerge --sync and
> > emerge --fetchonly.  
> 
> You can do fetchonly, but sync is not possible. You need root for that.

You're right, $PORTDIR itself is not group-writeable


-- 
Neil Bothwick

Okay, I pulled the pin. Now what? Hey, where are you going?

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 181 bytes --]

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [gentoo-user] Make the user the member of portage group or not?
  2015-03-13  9:08 [gentoo-user] Make the user the member of portage group or not? German
  2015-03-13  9:25 ` Neil Bothwick
  2015-03-13 10:42 ` Walter Dnes
@ 2015-03-14 12:40 ` Andreas K. Huettel
  2 siblings, 0 replies; 9+ messages in thread
From: Andreas K. Huettel @ 2015-03-14 12:40 UTC (permalink / raw
  To: gentoo-user

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Am Freitag, 13. März 2015, 10:08:16 schrieb German:
> Question is in the subject line. Another question I have is there any point
> to use other frambuffer device ( I currently use efifb) and I am thinking
> to use fb for my radeon r4 graphics in hopes to get some acceleration.
> Thanks

The main usage for that is if you want to develop ebuilds and test them. So, 
if you want to do for example

ebuild blabla-0.57.ebuild clean configure

somewhere in an overlay or in the portage tree, it helps to be in the portage 
group. (Some more minor steps might be required too.)

If you dont want to do this you should not be in the portage group.

- -- 

Andreas K. Huettel
Gentoo Linux developer 
dilfridge@gentoo.org
http://www.akhuettel.de/

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0

iQJ8BAEBCgBmBQJVBCxTXxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w
ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXQwNzlCRDk4QzA4RENBRkYzQUEwRjQzMDlF
QkU2QTMzNkJFMTkwMzlDAAoJEOvmoza+GQOcB0wP/3LZi5/wm/KUm4FhuCv1D8dn
l4pUqHQbt+Mo+/zG25DB4aDERCOdLVNpvL8Wqr5CWya5+GgIdh4P8pGqWAHnrT1N
xo93PgUzCaEy9mfmZilD4WDUMf6Q49BBtxN+Ugb8t5YEloAzsd9kL2E8Vm7j09Sy
dOqzH1QbAXiAOf+zpXK4ldEZFWnvGNZu7MHHKDyQ3ARtZDJoFTLpKd+7ntwsZ0CX
XI5Ym/2rxYpZCbZNsozvXoFoIeOia89OIL+8+ZXQ1kUdM0xs8iWLs4zZvbVZu1uF
9ysMuTIDpVJ8pzKI8ssxyWf2QRNC7d78Z/XZpyV8e5ov5hneADfFy79yWU4Mv09m
XW7lf3cZofdPLM/H9zbJwehZQvm0yrqJe56w2FnVH8WPUHrwilOi4o/kxEKxv0Jd
i1KyKxTwcgH3imgAgsQaOOBLSEQuiYnDIrXye1AANB+qO7r3ZCvGWdHVSINapx80
tWkRUK97XRoatweBe8aT60nVQq1pK5k7P3YZxN11kE8TchbXOmjxRYSup4G5zH0T
794Jr0rprZIHb3A4SusNckKLPE0RNrwCSoZoi0PX2OR7FGwzwCmJqRjZVwRcySfD
wTV5rLOAQDvZ0TFm+oQCGGtTsEpvxSzvYKR6CTujjfTT/gHKN8DirLf9AIewVFaJ
2gYQrSuI+t7YYzJ282rV
=TWNC
-----END PGP SIGNATURE-----


^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2015-03-14 12:41 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-03-13  9:08 [gentoo-user] Make the user the member of portage group or not? German
2015-03-13  9:25 ` Neil Bothwick
2015-03-13 10:42 ` Walter Dnes
2015-03-13 10:51   ` German
2015-03-13 12:19   ` [gentoo-user] " Nikos Chantziaras
2015-03-13 12:33   ` [gentoo-user] " Neil Bothwick
2015-03-13 21:49     ` [gentoo-user] " Nikos Chantziaras
2015-03-13 22:21       ` Neil Bothwick
2015-03-14 12:40 ` [gentoo-user] " Andreas K. Huettel

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox