Date: Wed, 18 Nov 2009 09:57:58 -0800 (PST) From: James Phillips <anti_spam256@yahoo.ca> To: Dan Nelson <dnelson@allantgroup.com> Cc: freebsd-questions@freebsd.org Subject: Re: [Solved] Do permissions take time to take effect? Message-ID: <225765.44422.qm@web65505.mail.ac4.yahoo.com> In-Reply-To: <20091118152153.GB89004@dan.emsphone.com>
next in thread | previous in thread | raw e-mail | index | archive | help
=0A=0A--- On Wed, 11/18/09, Dan Nelson <dnelson@allantgroup.com> wrote:=0A= =0A=0A> In the last episode (Nov 17), James=0A> Phillips said:=0A> > I want= ed to create a shared directory writable by all=0A> users. When it=0A> > in= itially failed, I assumed there may be a blanket ban=0A> on writing to=0A> = > directories owned by root.=A0 Today, I was able to=0A> write to the root-= owned=0A> > "Share" directory.=A0 However, when I re-created=0A> the direct= ory owned by a=0A> > special-purpose "Share" user, I ran into the same=0A> = problem again.=0A<SNIP!>=0A> =0A> You are probably in the "users" group.=A0= Running either=0A> the "groups" or "id"=0A> command will say for sure.=0A= =0AYes, I was using the "cd" and "pwd" combination as a poor replacement.= =0AIt is possible to re-assign the "home" directory.=0A=0A$ groups=0Ajames = Share=0A$ id=0Auid=3D1001(james) gid=3D1001(james) groups=3D1001(james),100= 3(Share)=0A=0A(I have since deleted the "users" group: it is a Debian thing= , and I had NIS set up to NOT export the membership information)=0A<SNIP!>= =0A> =0A> If you are currently either the "james" or "backup" user,=0A> and= added the=0A> Share group membership on another tty, then you may need to= =0A> log out and back=0A> in for the system to assign your new group member= ship to=0A> your session. =0A> Filesystem permissions take effect immediate= ly, but group=0A> memberships are=0A> assigned once, at login.=0A=0AThis he= re was the problem. I was not logging out after the changes. However, I am = in the habit of logging out at the end of the day. As a result, I would get= the updated permissions when I log in the next day.=0A=0AThank-you for you= r help,=0A=0AJames Phillips=0A=0A=0A=0A ______________________________= ____________________________________=0ALooking for the perfect gift? Give t= he gift of Flickr! =0A=0Ahttp://www.flickr.com/gift/
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?225765.44422.qm>