[plug] Unix file permission problem (I think)

Richard Meyer meyerri at westnet.com.au
Fri Jul 8 13:06:04 WST 2005


On Thu, 2005-07-07 at 23:49 +0800, Steve Boak wrote:
> On Thu, 7 Jul 2005 11:25 pm, Cameron Patrick wrote:
> > Steve Boak wrote:
> > > I am trying to create a directory 'Linux' on a basically empty partition
> > > mounted on '/var/share/download', logged in as normal user 'steve'.
> >
> > How recently did you add yourself to the group?  If you haven't logged
> > out and back in (note that e.g. restarting your xterm is not enough,
> > you need to re-authenticate) then you might not have the relevant
> > group access.
> >
> > You can quickly check by seeing that `id` and `id steve` give the same
> > set of groups.
> >
> > Cameron.
> 
> Thanks Cameron - 'id' and 'id steve' do indeed give different results, with 
> 'id' not having the 'share' group. Logged out of KDE and back in, and the 
> problem is solved! 
> 
> As you suggest, I had created the 'share' group in this session. Can you 
> explain why starting a new xterm does not pick up the new group settings?
> 
> Also thanks also Bernard and Richard.
> 
Y'know, this is all hindsight and way after the fact, but I WAS
considering saying "Have you rebooted", but I decided that'd show too
much MS bias  ;-)

Well done to Cameron.

I wonder whether "newgrp" would've let you change .... something to
experiment with in my copious free time ......

> Steve

-- 
Richard Meyer <meyerri at westnet.com.au>
Cutting the space budget really restores my faith in humanity.  It
eliminates dreams, goals, and ideals and lets us get straight to the
business of hate, debauchery, and self-annihilation.
                -- Johnny Hart




More information about the plug mailing list