From owner-freebsd-questions@FreeBSD.ORG Wed Nov 18 17:57:59 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8BA5D106566C for ; Wed, 18 Nov 2009 17:57:59 +0000 (UTC) (envelope-from anti_spam256@yahoo.ca) Received: from web65505.mail.ac4.yahoo.com (web65505.mail.ac4.yahoo.com [76.13.9.49]) by mx1.freebsd.org (Postfix) with SMTP id 2FDC58FC0C for ; Wed, 18 Nov 2009 17:57:58 +0000 (UTC) Received: (qmail 44580 invoked by uid 60001); 18 Nov 2009 17:57:58 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.ca; s=s1024; t=1258567078; bh=8KEnY212rScYCCvppl4sJ2fVbu0bdqaZj0D7KZYon5Q=; h=Message-ID:X-YMail-OSG:Received:X-Mailer:Date:From:Subject:To:Cc:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=sfrT/nr/p1ELMfb9wt2fK1a2bR8m9bA1f1I7Qve+u7+ox9b+bPXd/qvHAEjyMAMxCBT3T+0D/ke7NRldkWQ+8LLAJ/bdtW/gaff9l784BpWEtBaCg/O4hEB0ZWonJEH0zand5dNz9Emwn4fQNNL4WuRMf+9vsx2TqTE0Rf81iLQ= DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.ca; h=Message-ID:X-YMail-OSG:Received:X-Mailer:Date:From:Subject:To:Cc:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=hNB7LC2/gS7upTOlh6vHpl4ChyAhZvnR2TjNs5pjEDML/H3knPE/2sjwURAqhYvWa2qbGydxtUYVBsboh1eXFMvMgSMbE/gjVqqu1osx3wqDEBCWiWDnHioR+1ppprNHdRsWExtzevn3Cb17GS9Q79RUul6PW+FiYw3ukWYH3ME=; Message-ID: <225765.44422.qm@web65505.mail.ac4.yahoo.com> X-YMail-OSG: UAzMGE0VM1kixm3Gd87hVzgrjomMFsB9OVAxS4mtDdAmN_FDKobo09JEPvrogD43n9iZx2KKBL8TBP1TMSxdsHy2x21O2oobMhn_WKnPdxsjxZITGATW6aYspx62KUbjaHg2gYA81RfTrejX6ZxXyU88eiLcaEIvTwhA.7bKPpG3eW_z7mevQYgR9pLN5DY5CZTde6EsxbjYKTH1zSQ_FwhzSA0BUW8jshPBYSisQE66Nnbv0iskhCadOYikgFmSp7UXdJMLMk4_KXkMGdLRb9c3bcPAxI9hc8XP15P41QodkHdBEoad_Tkxsf_JK9gs6AmXZmgx0yCtH5rmTKuVqeYFtDAVvDEBSHa9tJiSct9iP05DBBq6G5MrSVbKqk81IM_4qsH4pP5wmXYBRjgCCiK22zhyPX.SW7s2O9479Q-- Received: from [208.99.137.71] by web65505.mail.ac4.yahoo.com via HTTP; Wed, 18 Nov 2009 09:57:58 PST X-Mailer: YahooMailClassic/8.1.6 YahooMailWebService/0.7.361.4 Date: Wed, 18 Nov 2009 09:57:58 -0800 (PST) From: James Phillips To: Dan Nelson In-Reply-To: <20091118152153.GB89004@dan.emsphone.com> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable Cc: freebsd-questions@freebsd.org Subject: Re: [Solved] Do permissions take time to take effect? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 18 Nov 2009 17:57:59 -0000 =0A=0A--- On Wed, 11/18/09, Dan Nelson 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=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= =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/