Re: [gentoo-user] 2005.1 el nino simple user restricts

2005-08-17 Thread Aaron Walker

Gyuri wrote:

Hi guys,
I've just downloaded, and installed Gentoo 2005.1 El Nino. I have some 
experiences with former Gentoo releases. But there is a little bug 
(maybe?) in el nino. A simple user cannot read the contets of the root 
( / ) partition, she/he can only read and write in his/her own home 
directory. Is it a bug? Or is it done for some security reasons?

Thanks in advance. Sorry for my bad English.


Gentoo bug 101567.

--
   Summer is butter on your chin and corn mush between every tooth. -Calvin

Aaron Walker [EMAIL PROTECTED]
[ BSD | commonbox | cron | cvs-utils | mips | netmon | shell-tools | vim ]

--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] 2005.1 el nino simple user restricts

2005-08-16 Thread Frank Schafer
Hmmm, If I'm reading this and if I'm seeing that this is not the problem
of just one user ... I'll be very glad to install with 2005.0 8-|

... if this appears right after installation with 2005.1, of course.

Just a thought
Frank


On Tue, 2005-08-16 at 07:28 +, Gyuri wrote:
 Bastian Balthazar Bux wrote:
 
 Gyuri wrote:
   
 
 Hi guys,
 I've just downloaded, and installed Gentoo 2005.1 El Nino. I have some
 experiences with former Gentoo releases. But there is a little bug
 (maybe?) in el nino. A simple user cannot read the contets of the root
 ( / ) partition, she/he can only read and write in his/her own home
 directory. Is it a bug? Or is it done for some security reasons?
 Thanks in advance. Sorry for my bad English.
 
 
 
 what does output ls -ld / ?
 mine is
 
 drwxr-xr-x  20 root root 496 Aug 15 01:01 /
 
 maybe there is something wrong with mount options in etc/fstab ?
 
 About reemerge the whole system you can use emerge -ea world, seldom
 this doesn't go good so the procedure I follow is something like this:
 
 create a bash script like this (it can be done better, but it's fast to
 write it this way ;):
 
 
 #! /bin/bash
 
 emerge -epv world
 emerge -e world \
 || emerge --resume --skipfirst \
 || emerge --resume --skipfirst \
 || emerge --resume --skipfirst \
 || emerge --resume --skipfirst \
 || emerge --resume --skipfirst \
 || emerge --resume --skipfirst \
 || emerge --resume --skipfirst \
 || emerge --resume --skipfirst \
 || emerge --resume --skipfirst \
 || emerge --resume --skipfirst
 =
 
 chmod +x eworld
 
 nohup ./eworld  tail -f nohup.out
 
 at the end
 
 grep ERROR.*fail nohup.out
 
 to see if something is gone wrong.
 
 this seem to be your first post, welcome here  Gyuri
 
   
 
 Thanks four your answers, ls -ld / says the same as yours, but with 
 much less rights (my user manowar even dont have read, enter (folders) 
 and write access).
 My fstab is correct. I mount /dev/hda6 (ext3) to / with the option 
 noatime and with 0 1 at the end of the line. Should I mount it with 
 defaults option?
 
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] 2005.1 el nino simple user restricts

2005-08-16 Thread Gyuri

Frank Schafer wrote:


Hmmm, If I'm reading this and if I'm seeing that this is not the problem
of just one user ... I'll be very glad to install with 2005.0 8-|

... if this appears right after installation with 2005.1, of course.

Just a thought
Frank

 

Yes, you're right. I tried 2004.3 and former MiniInstall discs and this 
did not happen. It don't make any mess until now, all my software is 
able to work.
But it's a little strange to me. I recommend you 2004.3, you won't 
experience this restriction.

--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] 2005.1 el nino simple user restricts

2005-08-16 Thread Frank Schafer
On Tue, 2005-08-16 at 09:38 +, Gyuri wrote:
 Frank Schafer wrote:
 
 Hmmm, If I'm reading this and if I'm seeing that this is not the problem
 of just one user ... I'll be very glad to install with 2005.0 8-|
 
 ... if this appears right after installation with 2005.1, of course.
 
 Just a thought
 Frank
 
   
 
 Yes, you're right. I tried 2004.3 and former MiniInstall discs and this 
 did not happen. It don't make any mess until now, all my software is 
 able to work.
 But it's a little strange to me. I recommend you 2004.3, you won't 
 experience this restriction.


Thanks, I think I still have the 2004.3 image laying around somewhere.

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] 2005.1 el nino simple user restricts

2005-08-16 Thread Neil Bothwick
On Tue, 16 Aug 2005 07:28:20 +, Gyuri wrote:

 Thanks four your answers, ls -ld / says the same as yours, but with 
 much less rights (my user manowar even dont have read, enter
 (folders) and write access).

chmod 755 / should fix this.

 My fstab is correct. I mount /dev/hda6 (ext3) to / with the option 
 noatime and with 0 1 at the end of the line. Should I mount it with 
 defaults option?

Noatime only affects the way files are touched when they are read, it
speeds things up slightly. It has no bearing on permissions.


-- 
Neil Bothwick

Never knock on Death's door. Ring the doorbell and run. He hates that.


pgpz3w1Sz658S.pgp
Description: PGP signature


Re: [gentoo-user] 2005.1 el nino simple user restricts

2005-08-16 Thread Bastian Balthazar Bux
Frank Schafer wrote:
 On Tue, 2005-08-16 at 09:38 +, Gyuri wrote:
 
Frank Schafer wrote:


Hmmm, If I'm reading this and if I'm seeing that this is not the problem
of just one user ... I'll be very glad to install with 2005.0 8-|

... if this appears right after installation with 2005.1, of course.

Just a thought
Frank

 


Yes, you're right. I tried 2004.3 and former MiniInstall discs and this 
did not happen. It don't make any mess until now, all my software is 
able to work.
But it's a little strange to me. I recommend you 2004.3, you won't 
experience this restriction.
 
 
 
 Thanks, I think I still have the 2004.3 image laying around somewhere.
 

I've done a pair of installation of 2005.1 and the and the root dir is
mounted 0755.
#ls -ld /
drwxr-xr-x  20 root root 488 Aug 13 05:19 /

there are not many place where the mounting of / dir happen:

/etc/init.d/bootmisc  here / is mounted read only to start the work
/etc/init.d/checkroot this one check and remount /

boot are installed from sys-apps/baselayout , here
sys-apps/baselayout-1.11.13 .


-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] 2005.1 el nino simple user restricts

2005-08-16 Thread Gyuri

Bastian Balthazar Bux wrote:


Frank Schafer wrote:
 


On Tue, 2005-08-16 at 09:38 +, Gyuri wrote:

   


Frank Schafer wrote:


 


Hmmm, If I'm reading this and if I'm seeing that this is not the problem
of just one user ... I'll be very glad to install with 2005.0 8-|

... if this appears right after installation with 2005.1, of course.

Just a thought
Frank



   

Yes, you're right. I tried 2004.3 and former MiniInstall discs and this 
did not happen. It don't make any mess until now, all my software is 
able to work.
But it's a little strange to me. I recommend you 2004.3, you won't 
experience this restriction.
 



Thanks, I think I still have the 2004.3 image laying around somewhere.

   



I've done a pair of installation of 2005.1 and the and the root dir is
mounted 0755.
#ls -ld /
drwxr-xr-x  20 root root 488 Aug 13 05:19 /

there are not many place where the mounting of / dir happen:

/etc/init.d/bootmisc  here / is mounted read only to start the work
/etc/init.d/checkroot this one check and remount /

boot are installed from sys-apps/baselayout , here
sys-apps/baselayout-1.11.13 .


 

Thank you very much, I'll give it a try. I've used 2001.-universe and an 
old (yet removed) installation (hungarian version)

--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] 2005.1 el nino simple user restricts

2005-08-16 Thread Rumen Yotov
Gyuri wrote:

 Bastian Balthazar Bux wrote:

 Frank Schafer wrote:
  

 On Tue, 2005-08-16 at 09:38 +, Gyuri wrote:

   

 Frank Schafer wrote:


 

 Hmmm, If I'm reading this and if I'm seeing that this is not the
 problem
 of just one user ... I'll be very glad to install with 2005.0 8-|

 ... if this appears right after installation with 2005.1, of course.

 Just a thought
 Frank



   

 Yes, you're right. I tried 2004.3 and former MiniInstall discs and
 this did not happen. It don't make any mess until now, all my
 software is able to work.
 But it's a little strange to me. I recommend you 2004.3, you won't
 experience this restriction.
 


 Thanks, I think I still have the 2004.3 image laying around somewhere.

   


 I've done a pair of installation of 2005.1 and the and the root dir is
 mounted 0755.
 #ls -ld /
 drwxr-xr-x  20 root root 488 Aug 13 05:19 /

 there are not many place where the mounting of / dir happen:

 /etc/init.d/bootmisc  here / is mounted read only to start the work
 /etc/init.d/checkroot this one check and remount /

 boot are installed from sys-apps/baselayout , here
 sys-apps/baselayout-1.11.13 .


  

 Thank you very much, I'll give it a try. I've used 2001.-universe and
 an old (yet removed) installation (hungarian version)

Hi,
Some days ago installed a new XeN0-kernel on a 2GB partition and
everything seemed to be OK, only some error while emerging anything, but
resolved to deal with this later. Now saw i also have wrong permissions
on /(d-wxrt  18 root root 4096 Aug 13 15:58 /mnt/crypt/ - checked
from by regular Gentoo install), may be a bug with 2005.1 install disks.
Rumen


smime.p7s
Description: S/MIME Cryptographic Signature


Re: [gentoo-user] 2005.1 el nino simple user restricts

2005-08-16 Thread Bastian Balthazar Bux
Gyuri wrote:
 Bastian Balthazar Bux wrote:
 
 Frank Schafer wrote:
  

 On Tue, 2005-08-16 at 09:38 +, Gyuri wrote:

   

 Frank Schafer wrote:


 

 Hmmm, If I'm reading this and if I'm seeing that this is not the
 problem
 of just one user ... I'll be very glad to install with 2005.0 8-|

 ... if this appears right after installation with 2005.1, of course.

 Just a thought
 Frank



   

 Yes, you're right. I tried 2004.3 and former MiniInstall discs and
 this did not happen. It don't make any mess until now, all my
 software is able to work.
 But it's a little strange to me. I recommend you 2004.3, you won't
 experience this restriction.
 


 Thanks, I think I still have the 2004.3 image laying around somewhere.

   


 I've done a pair of installation of 2005.1 and the and the root dir is
 mounted 0755.
 #ls -ld /
 drwxr-xr-x  20 root root 488 Aug 13 05:19 /

 there are not many place where the mounting of / dir happen:

 /etc/init.d/bootmisc  here / is mounted read only to start the work
 /etc/init.d/checkroot this one check and remount /

 boot are installed from sys-apps/baselayout , here
 sys-apps/baselayout-1.11.13 .


  

 Thank you very much, I'll give it a try. I've used 2001.-universe and an
 old (yet removed) installation (hungarian version)


In the specular thread that it's evolving right now [I (user) can write
to / ... but why]

there is an answer like this:

|The problem on both my laptop and workstation was simply the fact that
|the root partition (/) was owned by UID=1000 GUI=100. Apparently this
|is
|a bug, but a simple `chown root:root /` was sufficient to fix the
|problem, and I also changed several file-permissions in underlying
|directories (like usr).

If you find something similar try a command like this:

#find / -gid=100 -uid=1000 -type d
(find all directories owned by user 1000:100, the first user in gentoo)

!!! LOOK WELL AT THE OUTPUT !!!
if you think *all* that directoryes should be owned by root this make
the change.

#find / -gid=100 -uid=1000 -type d -exec chown 0:0 {} \;

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] 2005.1 el nino simple user restricts

2005-08-15 Thread Gyuri
Hi everybody. Is there any possibilities to re-emerge the whole system 
again? (not only updated packages, everything.)

Thanks in advance
--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] 2005.1 el nino simple user restricts

2005-08-15 Thread Stefan Kögl

Gyuri wrote:
Hi everybody. Is there any possibilities to re-emerge the whole system 
again? (not only updated packages, everything.)

Thanks in advance

You probably search for the --emptytree option.

--
Stefan Kögl  | Tel.: +43 664 44 24 894
Apetlonerstraße 11   | Mail: Stefan Kögl [EMAIL PROTECTED]
A-7132 Frauenkirchen | ICQ:  115578877

--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] 2005.1 el nino simple user restricts

2005-08-15 Thread Impius Nex
On Mon, 2005-08-15 at 14:47 +0200, Gyuri wrote:
 Hi everybody. Is there any possibilities to re-emerge the whole system 
 again? (not only updated packages, everything.)
 Thanks in advance

$ man emerge

for god sake people please RTFM before asking please.

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] 2005.1 el nino simple user restricts

2005-08-15 Thread Bastian Balthazar Bux
Gyuri wrote:
 Hi guys,
 I've just downloaded, and installed Gentoo 2005.1 El Nino. I have some
 experiences with former Gentoo releases. But there is a little bug
 (maybe?) in el nino. A simple user cannot read the contets of the root
 ( / ) partition, she/he can only read and write in his/her own home
 directory. Is it a bug? Or is it done for some security reasons?
 Thanks in advance. Sorry for my bad English.

what does output ls -ld / ?
mine is

drwxr-xr-x  20 root root 496 Aug 15 01:01 /

maybe there is something wrong with mount options in etc/fstab ?

About reemerge the whole system you can use emerge -ea world, seldom
this doesn't go good so the procedure I follow is something like this:

create a bash script like this (it can be done better, but it's fast to
write it this way ;):


#! /bin/bash

emerge -epv world
emerge -e world \
|| emerge --resume --skipfirst \
|| emerge --resume --skipfirst \
|| emerge --resume --skipfirst \
|| emerge --resume --skipfirst \
|| emerge --resume --skipfirst \
|| emerge --resume --skipfirst \
|| emerge --resume --skipfirst \
|| emerge --resume --skipfirst \
|| emerge --resume --skipfirst \
|| emerge --resume --skipfirst
=

chmod +x eworld

nohup ./eworld  tail -f nohup.out

at the end

grep ERROR.*fail nohup.out

to see if something is gone wrong.

this seem to be your first post, welcome here  Gyuri

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] 2005.1 el nino simple user restricts

2005-08-15 Thread Gyuri

Bastian Balthazar Bux wrote:


Gyuri wrote:
 


Hi guys,
I've just downloaded, and installed Gentoo 2005.1 El Nino. I have some
experiences with former Gentoo releases. But there is a little bug
(maybe?) in el nino. A simple user cannot read the contets of the root
( / ) partition, she/he can only read and write in his/her own home
directory. Is it a bug? Or is it done for some security reasons?
Thanks in advance. Sorry for my bad English.
   



what does output ls -ld / ?
mine is

drwxr-xr-x  20 root root 496 Aug 15 01:01 /

maybe there is something wrong with mount options in etc/fstab ?

About reemerge the whole system you can use emerge -ea world, seldom
this doesn't go good so the procedure I follow is something like this:

create a bash script like this (it can be done better, but it's fast to
write it this way ;):


#! /bin/bash

emerge -epv world
emerge -e world \
|| emerge --resume --skipfirst \
|| emerge --resume --skipfirst \
|| emerge --resume --skipfirst \
|| emerge --resume --skipfirst \
|| emerge --resume --skipfirst \
|| emerge --resume --skipfirst \
|| emerge --resume --skipfirst \
|| emerge --resume --skipfirst \
|| emerge --resume --skipfirst \
|| emerge --resume --skipfirst
=

chmod +x eworld

nohup ./eworld  tail -f nohup.out

at the end

grep ERROR.*fail nohup.out

to see if something is gone wrong.

this seem to be your first post, welcome here  Gyuri

 

Thanks four your answers, ls -ld / says the same as yours, but with 
much less rights (my user manowar even dont have read, enter (folders) 
and write access).
My fstab is correct. I mount /dev/hda6 (ext3) to / with the option 
noatime and with 0 1 at the end of the line. Should I mount it with 
defaults option?


--
gentoo-user@gentoo.org mailing list