Date: Thu, 18 Mar 1999 21:25:05 -0500 From: Tom Embt <tom@embt.com> To: freebsd-newbies@freebsd.org Subject: mounting with different uid/gid/perms Message-ID: <3.0.3.32.19990318212505.006c211c@mail.embt.com>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3.0.3.32.19990318212505.006c211c>