Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 4 Feb 2001 00:27:14 -0800
From:      "Crist J. Clark" <cjclark@reflexnet.net>
To:        Rob deFriesse <robdefriesse@mail.com>
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Re: Permissions on UFS floppy.
Message-ID:  <20010204002714.T91447@rfx-216-196-73-168.users.reflex>
In-Reply-To: <200102040453.f144rX610744@chmls20.mediaone.net>; from robdefriesse@mail.com on Sat, Feb 03, 2001 at 11:53:33PM -0500
References:  <200102040453.f144rX610744@chmls20.mediaone.net>

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20010204002714.T91447>