From owner-freebsd-questions@FreeBSD.ORG Wed Nov 18 04:49:20 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 EF5C31065672 for ; Wed, 18 Nov 2009 04:49:20 +0000 (UTC) (envelope-from anti_spam256@yahoo.ca) Received: from web65510.mail.ac4.yahoo.com (web65510.mail.ac4.yahoo.com [76.13.9.54]) by mx1.freebsd.org (Postfix) with SMTP id 968CB8FC21 for ; Wed, 18 Nov 2009 04:49:20 +0000 (UTC) Received: (qmail 66235 invoked by uid 60001); 18 Nov 2009 04:49:19 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.ca; s=s1024; t=1258519759; bh=mVq5M1uUCgYc6jSnWCN6GJKwr5C2feIhR7and5731E4=; h=Message-ID:X-YMail-OSG:Received:X-Mailer:Date:From:Subject:To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=yUTp+I2N812GF3zk/gHS9caSlts4Si8h/yWWOxAHbFZgwFPQbKbnRB6hxI1DBBDaZyqTqbepNmVRgwMEvXLfTBoSWSouh1rs+eF8aSRNvfOtssrMvJ8eKmzwXxrOgoY+9GQlBOMxz3CW3aa/cEgkGXE9tO3OXLVZQqs+78axrNs= 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:MIME-Version:Content-Type:Content-Transfer-Encoding; b=Jy24FYNMB0s6IFZIRiHxNhvsyuH1XGbv+413BRQ6savah6X+Uf9aPyjggzQ6+VnVIR8QruW7RhOTWhZwd+JntkY9ghr6QWsy426JfSjgwoZFGwQKzpBLH0FPJwaGM+05EBl2m78VntCsYk2WlmjNNTM4xrDQjsYaKRA1c5RDtAs=; Message-ID: <727196.65984.qm@web65510.mail.ac4.yahoo.com> X-YMail-OSG: JXkUsj0VM1l448uRagj08slNpY6A8MSChS11H6G0am5VCuTyWxEVV8YTmrH5JH.OuNaOkdd1Xo1kp6G4_74NzXMy5eYxwGAPcgVTRPvsskaII31DhHJbt1am3bY1ZqH1hK2X_u7.XUepCldcnjWDbpH12lGrFeBVziSwVCgGg4hQJDWHvxoRRlKvaKSFmqjofAypS9jY33_qVs0PHbTpey4o.v7Z9Jwy3l_w0tzRQa72JkxC2eqY9WJp8P36K1scc_tbGMDHDYN2iTq7K7dbFBc5Iqy.LIcPUHAwZC6jg1PStLBb4UinhhlAavtkwuy9RXp3Eo0NHhow2SLdz.C35PbQAQ90TJFh7OmzaZI1P8JwTThB.n6GzheQ64TurvymYP58Ti6BJv123Nwgr32YQaBNNtmGKPoLtYzSe9ExwNP5aggGwhhXfCfkAb07bA1fCq0VhHCyYjIBw8yR Received: from [208.99.137.71] by web65510.mail.ac4.yahoo.com via HTTP; Tue, 17 Nov 2009 20:49:19 PST X-Mailer: YahooMailClassic/8.1.6 YahooMailWebService/0.7.361.4 Date: Tue, 17 Nov 2009 20:49:19 -0800 (PST) From: James Phillips To: freebsd-questions@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable Subject: 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 04:49:21 -0000 Hello,=0A=0AI wanted to create a shared directory writable by all users. Wh= en it initially failed, I assumed there may be a blanket ban on writing to = directories owned by root. Today, I was able to write to the root-owned "Sh= are" directory. However, when I re-created the directory owned by a special= -purpose "Share" user, I ran into the same problem again.=0A=0A$ cd=0A$ pw= d=0A/home/james=0A$ cd /home/Share=0A$ ls -la=0Atotal 4=0Adrwxrwxr-x 2 roo= t users 512 Nov 14 09:39 .=0Adrwxr-xr-x 5 root wheel 512 Nov 14 09:39 = ..=0A$ grep users /etc/group=0Ausers:*:100:james,backup=0A$ cat > test.txt= =0AWhat? now it worked?=0A$ ls=0Atest.txt=0A$ rm test.txt=0A=0A***After cre= ating a special "Share" user***=0A=0A$ cd /home/Share=0A$ ls -la=0Atotal 4= =0Adrwxrwxr-x 2 Share Share 512 Nov 17 21:04 .=0Adrwxr-xr-x 5 root wh= eel 512 Nov 17 21:04 ..=0A$ cat > test.txt=0Acannot create test.txt: Permi= ssion denied=0A$ grep Share /etc/group=0AShare:*:1003:james,backup=0A$=0A= =0AIncidentally, I had another reason for creating a special-purpose "Share= " user: I am exporting /home to Debian (Linux) clients. Since the "system" = groups conflict with the Debian choices, I modified /var/yp/Makefile to onl= y export users and groups in the range of 1001-2000.=0A=0ARegards,=0A=0AJam= es Phillips=0A=0APS: the first time, I made the mistake of adding whitespac= e in /etc/group (daily run checks this somehow)=0AIs a blank line required = at the end of the file?=0APPS: Tried adding blank line: no effect.=0A=0A=0A= =0A __________________________________________________________________= =0AMake your browsing faster, safer, and easier with the new Internet Explo= rer=AE 8. Optimized for Yahoo! Get it Now for Free! at http://downloads.yah= oo.com/ca/internetexplorer/