From owner-freebsd-newbies Thu Mar 18 18:23:30 1999 Delivered-To: freebsd-newbies@freebsd.org Received: from mercury.gfit.net (ns.gfit.net [209.41.124.90]) by hub.freebsd.org (Postfix) with ESMTP id 4881214BCC for ; Thu, 18 Mar 1999 18:23:28 -0800 (PST) (envelope-from tom@embt.com) Received: from gizmo (timembt.iinc.com [206.67.169.229]) by mercury.gfit.net (8.8.8/8.8.8) with SMTP id UAA07592 for ; Thu, 18 Mar 1999 20:23:06 GMT (envelope-from tom@embt.com) Message-Id: <3.0.3.32.19990318212505.006c211c@mail.embt.com> X-Sender: tembt@mail.embt.com X-Mailer: QUALCOMM Windows Eudora Pro Version 3.0.3 (32) Date: Thu, 18 Mar 1999 21:25:05 -0500 To: freebsd-newbies@freebsd.org From: Tom Embt Subject: mounting with different uid/gid/perms Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Sender: owner-freebsd-newbies@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org OK, I'll admit this is probably really simple, but how can I mount a filesystem so that it's files are a specific permission, and in a different group? I set the mountpoint with the ownership and perms that I want, but when it mounts, it changes to root:wheel 555 . When I umount it, it goes back to root:mount 550 (which is what I'd like it to be). I don't see any flags for mount or mount_cd9660 to do this, although mount_msdos does have -g -u and -m flags. odin# ls -l total 3 drwxrwx--- 2 root mount 512 Mar 15 14:05 a dr-xr-x--- 2 root mount 512 Mar 15 14:05 cdrom drwxrwx--- 2 root mount 512 Mar 15 14:05 floppy odin# mount -t cd9660 /dev/acd0c /mnt/cdrom odin# ls -l total 4 drwxrwx--- 2 root mount 512 Mar 15 14:05 a dr-xr-xr-x 1 root wheel 2048 Dec 31 1969 cdrom drwxrwx--- 2 root mount 512 Mar 15 14:05 floppy odin# Anybody care to point me in the right direction? On an unrelated note, is there a reason that symlinks used to be displayed as lrwxrwxrwx (under 2.2.5 I think) but are now shown as lrwxr-xr-x ? Is it getting this from my umask?? Oh bother. Thanks, Tom Embt ICQ UIN: 11245398 tom@embt.com d:-)> To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-newbies" in the body of the message