Subject: Re: File attributes
To: Video Mike <mike@cpdist.com>
From: Bill Studenmund <wrstuden@netbsd.org>
List: port-i386
Date: 09/19/2002 16:21:12
On Thu, 19 Sep 2002, Video Mike wrote:

> Dear NetBSD,
>
> I get mail that references the / and /home directories on my NetBSD server.
> It reads as follows:
>
> Checking for globally exported file systems.
> File system /home globally exported, read-write.
> File system / globally exported, read-write.

I believe these messages are refering to your NFS export commands.

> The attributes are set like this:
>
> total 4625
> -rw-r--r--   2 root  wheel      969 Sep 19 03:14 .cshrc
> -rw-r--r--   2 root  wheel      494 Jul  1 14:30 .profile
> drwxr-xr-x   2 root  wheel      512 Jun 12 18:12 altroot/
> drwxr-x--x   2 root  wheel      512 Jul  1 14:18 bin/
> -r--------   1 root  wheel    40960 Aug 31 23:33 boot
> drwxr-xr-x   2 root  wheel      512 Aug  2  2001 cdrom/
> drwxr-x--x   3 root  wheel    23040 Aug 31 23:38 dev/
> drwxr-x--x  19 root  wheel     2048 Sep 19 15:29 etc/
> drwxr-xr-x   2 root  wheel      512 Feb 17  2002 floppy/
> drwxr-xr-x  16 root  wheel      512 Sep 18 16:42 home/
> dr-xr-xr-x   2 root  wheel      512 Sep 19 16:33 kern/
> drwxr-xr-x   2 root  wheel      512 Jun 12 18:12 mnt/
> -rwxr-x---   1 root  wsrc   4642493 Sep  1 03:48 netbsd*
> drwxr-x--x  12 root  wheel     1024 Sep 19 16:28 root/
> drwxr-x--x   2 root  wheel     1536 Jul  1 14:22 sbin/
> drwxr-x--x   2 root  wheel      512 Jun 12 18:12 stand/
> lrwxr-xr-x   1 root  wheel       11 Jul  1 14:30 sys@ -> usr/src/sys
> drwxrwxrwt  10 root  wheel      512 Sep 19 16:09 tmp/
> drwxr-x--x  16 root  wheel      512 Jun 17 09:38 usr/
> drwxr-x--x  21 root  wheel      512 Jun 12 18:13 var/
> drwxr-xr-x   3 root  wheel      512 Aug  2  2001 zip100/
>
> Is it possible to change the attributes on "/" and "/home" since
> there are file systems mounted to each of these?

?? To what end?

You can use chmod to change the attributes on any directory you like.

Take care,

Bill