/home not writeable when zone is booted.

Just created a zone for some testing, and I am unable to add users or write to /home. This appears to be the only directory I have this problem with.I see nothing in any of the configs that tell me that this dir is special, so any suggestions?

What I've done so far and configs.

When the zone is powered off I can write to /zones/$ZONE/root/home/, chmod it to 777 if I want to, but when I boot up the zone it then becomes 555.

Zone booted:

bash-3.00# ls -ld /zones/infranet-restore-test/root/home

dr-xr-xr-x1 rootroot1 Jul 23 09:13 home

bash-3.00# chmod +w /zones/infranet-restore-test/root/home/

chmod: WARNING: can't change /zones/infranet-restore-test/root/home/

(as root on the global zone)

bash-3.00# ls -l /zones/infranet-restore-test/root/home

/zones/infranet-restore-test/root/home: Not owner

total 1

not booted

bash-3.00# ls -ld drwxr-xr-x 22 rootroot 512 Mar 2 11:57 home

ls -l /zone/$ZONE/root/home/ shows all of the user accounts

bash-3.00# zonecfg -z infranet-restore-test info

zonepath: /zones/infranet-restore-test

autoboot: true

pool: infranet-restore-test-pool

fs:

dir: /oracle

special: /dev/md/dsk/d302

raw: /dev/md/rdsk/d302

type: ufs

options: [rw]

fs:

dir: /u01

special: /dev/dsk/emcpower0a

raw: /dev/rdsk/emcpower0a

type: ufs

options: [rw]

net:

address: 192.168.200.36

physical: ipge0

rctl:

name: zone.cpu-shares

value: (priv=privileged,limit=3,action=none)

bash-3.00#

[1636 byte] By [rzietlowa] at [2007-11-27 11:25:28]
# 1

This isn't related to zones. /home is under control of the automounter by default.

You can either use the automounter by creating an entry in auto_home, or you can disable the automounter (or at least it's control over /home) and use /home directly.

--

Darren

Darren_Dunhama at 2007-7-29 16:04:37 > top of Java-index,Solaris Operating System,Solaris 10 Features...
# 2

That did it, thank you very much.

rzietlowa at 2007-7-29 16:04:37 > top of Java-index,Solaris Operating System,Solaris 10 Features...