From owner-freebsd-questions Sun Feb 4 5: 5:36 2001 Delivered-To: freebsd-questions@freebsd.org Received: from chmls05.mediaone.net (chmls05.mediaone.net [24.147.1.143]) by hub.freebsd.org (Postfix) with ESMTP id 279D537B67D for ; Sun, 4 Feb 2001 05:05:16 -0800 (PST) Received: from mediaone.net (h00104b44180b.ne.mediaone.net [24.91.120.32]) by chmls05.mediaone.net (8.11.1/8.11.1) with SMTP id f14D5ES20586; Sun, 4 Feb 2001 08:05:14 -0500 (EST) Date: Sun, 4 Feb 2001 08:05:14 -0500 (EST) Message-Id: <200102041305.f14D5ES20586@chmls05.mediaone.net> From: robdefriesse@mail.com (Rob deFriesse) To: cjclark@alum.mit.edu Cc: freebsd-questions@FreeBSD.ORG Subject: Re: Permissions on UFS floppy. Mime-version: 1.0 (generated by tm-edit 7.108) Content-type: text/plain; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > > 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. That's it! Thank you. After the diskette was mounted, I tried: chmod g+w /fd and the permissions were: ll -d /fd drwxr-xr-x 2 root wheel 512 Feb 3 22:45 /fd but when I do: chmod g+w /fd/. I get the permissions I want: ll -d /fd drwxrwxr-x 2 root wheel 512 Feb 3 22:45 /fd Now I know there's a difference between /fd and /fd/. Thank you, Rob. > -- > 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