From owner-freebsd-questions Sun Feb 4 0:28:24 2001 Delivered-To: freebsd-questions@freebsd.org Received: from mailhost01.reflexnet.net (mailhost01.reflexnet.net [64.6.192.82]) by hub.freebsd.org (Postfix) with ESMTP id AEB3737B401 for ; Sun, 4 Feb 2001 00:28:05 -0800 (PST) Received: from rfx-216-196-73-168.users.reflexcom.com ([216.196.73.168]) by mailhost01.reflexnet.net with Microsoft SMTPSVC(5.5.1877.197.19); Sun, 4 Feb 2001 00:26:11 -0800 Received: (from cjc@localhost) by rfx-216-196-73-168.users.reflexcom.com (8.11.1/8.11.1) id f148RFQ54489; Sun, 4 Feb 2001 00:27:15 -0800 (PST) (envelope-from cjc) Date: Sun, 4 Feb 2001 00:27:14 -0800 From: "Crist J. Clark" To: Rob deFriesse Cc: freebsd-questions@FreeBSD.ORG Subject: Re: Permissions on UFS floppy. Message-ID: <20010204002714.T91447@rfx-216-196-73-168.users.reflex> Reply-To: cjclark@alum.mit.edu References: <200102040453.f144rX610744@chmls20.mediaone.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0i In-Reply-To: <200102040453.f144rX610744@chmls20.mediaone.net>; from robdefriesse@mail.com on Sat, Feb 03, 2001 at 11:53:33PM -0500 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Sat, Feb 03, 2001 at 11:53:33PM -0500, Rob deFriesse wrote: > I am unable to set the permissions I desire on a diskette with a UFS > file system. Specifically, I would like to be able to mount the > diskette with group write permission at the mount point. > > I prepared the diskette with : > > fdformat -f 1440 fd0 > disklabel -w -r /dev/fd0 fd1440 > newfs -T fd1440 /dev/fd0 > > Then I mounted it with: > > mount -w -t ufs /dev/fd0a /fd > > Before the mount command, the permissions on the "/fd" directory are: > > > ll -d /fd > drwxrwxrwx 2 root wheel 512 Jan 24 18:33 /fd > > After the mount, the permissions are: > > > ll -d /fd > drwxr-xr-x 2 root wheel 512 Feb 3 22:45 /fd Can't you change permissions of the floppy right now? You should get the permissions of the root directory of the floppy's filesystem when it is mounted. -- Crist J. Clark cjclark@alum.mit.edu To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message