Hi, thanks every one for reply. Bob Wickline wrote: Your /var mountpoint has incorrect permissions. To fix it, you need to shutdown and boot single-user from the CD. Then mount your / partition and change the permissions of the /var mountpoint to 755. Michael Maciolek wrote: One trick that might work: If you have another server, you can NFS-export your root filesystem to that server (giving it rw,root access), then fix the underlying mountpoints for /var and /opt via the NFS mount. so i did: # share -F nfs -o rw=localhost,root=localhost / # mount -F nfs nfs://localhost/ /mnt # ls -ld /mnt/var /mnt/opt # chmod 755 /mnt/var /mnt/opt # umount /mnt # unshareall and it works: $ls -ld /var/.. /opt/.. drwxr-xr-x 43 root root 1536 Nov 18 16:04 /opt/.. drwxr-xr-x 43 root root 1536 Nov 18 16:04 /var/.. ciao Gerhard original problem: On Thu, Nov 19, 2009 at 05:28:07PM +0100, Gerhard.Weick@hzd.hessen.de wrote: > Hi, > > after liveupgrade and patching a Solaris 9 (SunOS 5.9 Generic_122300-45 > sun4u sparc SUNW,Sun-Fire-V490) Server, unprivileged user cannot access > /var/.. and /opt/.. (/var and /opt are seperate file systems) > > $ls -ld / /var /var/.. > /var/..: Permission denied > drwxr-xr-x 43 root root 1536 Nov 18 15:49 / > drwxr-xr-x 37 root sys 1024 Nov 18 15:46 /var > > root has access and the permissions are ok: > # ls -ld / /var /var/.. > drwxr-xr-x 43 root root 1536 Nov 18 15:49 / > drwxr-xr-x 37 root sys 1024 Nov 18 15:46 /var > drwxr-xr-x 43 root root 1536 Nov 18 15:49 /var/.. > # getfacl / /var /var/.. > > # file: / > # owner: root > # group: root > user::rwx > group::r-x #effective:r-x > mask:r-x > other:r-x > > # file: /var > # owner: root > # group: sys > user::rwx > group::r-x #effective:r-x > mask:r-x > other:r-x > > # file: /var/.. > # owner: root > # group: root > user::rwx > group::r-x #effective:r-x > mask:r-x > other:r-x > > i know, that i can repair this with unmounting, deleting the mountpoint, > recreate the mountpoint ant mounting. But i cannot unmount /var and /opt > without a Downtime. > > Does anyone know this and can help me ? > > Thanks > > Gerhard Weick > _______________________________________________ > sunmanagers mailing list > sunmanagers@sunmanagers.org > http://www.sunmanagers.org/mailman/listinfo/sunmanagers Gerhard Weick _______________________________________________ sunmanagers mailing list sunmanagers@sunmanagers.org http://www.sunmanagers.org/mailman/listinfo/sunmanagersReceived on Thu Nov 19 13:34:36 2009
This archive was generated by hypermail 2.1.8 : Thu Mar 03 2016 - 06:44:15 EST