From owner-freebsd-questions Thu Jul 20 6:59:14 2000 Delivered-To: freebsd-questions@freebsd.org Received: from scientia.demon.co.uk (scientia.demon.co.uk [212.228.14.13]) by hub.freebsd.org (Postfix) with ESMTP id 118CD37BA99 for ; Thu, 20 Jul 2000 06:59:11 -0700 (PDT) (envelope-from ben@scientia.demon.co.uk) Received: from strontium.scientia.demon.co.uk ([192.168.91.36] ident=exim) by scientia.demon.co.uk with esmtp (Exim 3.15 #1) id 13FGmO-000IPS-00; Thu, 20 Jul 2000 14:54:24 +0100 Received: (from ben) by strontium.scientia.demon.co.uk (Exim 3.15 #1) id 13FGmO-000P4K-00; Thu, 20 Jul 2000 14:54:24 +0100 Date: Thu, 20 Jul 2000 14:54:24 +0100 From: Ben Smithurst To: j mckitrick Cc: questions@freebsd.org Subject: Re: chown on mountpoints Message-ID: <20000720145424.K23199@strontium.scientia.demon.co.uk> References: <20000720141323.C75058@dogma.freebsd-uk.eu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2i In-Reply-To: <20000720141323.C75058@dogma.freebsd-uk.eu.org> Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG j mckitrick wrote: > I am using rc.local to run sysctl to allow user mount/unmount of > filesystems. I also chown the mountpoints. Why is this necessary with > every reboot? I would think the chown would be permanent. What are the mountpoints? I wouldn't think it would be needed on every reboot. It's not just after every buildworld, and you happen to only reboot for that? :-) Buildworld resets permissions on standard directories to their defaults, but that doesn't happen on every reboot. Also, you are chowning the mountpoints before anything's mounted there, aren't you? If not, the change will be in the mounted system, not the filesystem where the mountpoints are located. (Either way though, I don't see why the changes would get lost.) -- Ben Smithurst / ben@FreeBSD.org / PGP: 0x99392F7D FreeBSD Documentation Project / To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message