Networking
cancel
Showing results for 
Search instead for 
Did you mean: 

HPUX 11.31 root cannot touch directory.

SOLVED
Go to solution
LITWINCZUK
Advisor

HPUX 11.31 root cannot touch directory.

I have strange situation... OS: HP-UX 11.31 ia64

root user cannot touch one of directories. I see "Permision denied"..

Can anyone explain it to me? 

 

 

# ll /
drwxr-xr-x 8 oracle dba 1024 Oct 4 2010 u01
drwxr-xr-x 6 oracle oper 1024 May 28 2010 u02
dr-xr-xr-x 1 root root 1 Jun 1 05:57 u03

#ll /u03
/u03 unreadable
total 0

#id
uid=0(root) gid=3(sys) groups=0(root),1(other),2(bin),4(adm),5(daemon),6(mail),7(lp),20(users)

#chmod 777 /u03
chmod: can't change /u03: Permission denied

 

#mv /u03 /u04

mv: i04: rename: Device busy 

 

#fuser /u03
/u03: 

 

 

 

10 REPLIES
Naj
Valued Contributor

Re: HPUX 11.31 root cannot touch directory.

Hello,

can you help me paste the output of

1. outbdf /uo3.
2. #ls -l /uo3

Thanks

BR
Naj

____________________________________________
:: Really appreciate if you could assign some points.
:: Don't know how to assign point? Click the KUDOS! star!
LITWINCZUK
Advisor

Re: HPUX 11.31 root cannot touch directory.

#ls -l /u03
/u03 unreadable
total 0

#bdf /u03
Filesystem kbytes used avail %used Mounted on
/etc/auto.direct 0 0 0 0% /u03

#more /etc/auto.direct
## Configured using SAM by root
/u03 hostc:/u02

#ping hostc
PING hostc: 64 byte packets
64 bytes from 10.0.1.191: icmp_seq=0. time=0. ms

V. Nyga
Honored Contributor
Solution

Re: HPUX 11.31 root cannot touch directory.

You have mounted a directory from another server.
At this server root from your server has no permissions!
You have to give permissions at hostc (normally in /etc/exports).

V.
*** Say 'Thanks' with Kudos ***
LITWINCZUK
Advisor

Re: HPUX 11.31 root cannot touch directory.

Thanks.

 

BTW: how to permamenty delete this share?

server is rebootet one month ago, /etc/auto.direct is dated before this time, 27 Apr. 

Naj
Valued Contributor

Re: HPUX 11.31 root cannot touch directory.

Hi,

check in /etc/fstab for mount point and execute command umount -f

Thanks

BR
Naj

____________________________________________
:: Really appreciate if you could assign some points.
:: Don't know how to assign point? Click the KUDOS! star!
LITWINCZUK
Advisor

Re: HPUX 11.31 root cannot touch directory.

there are no entries about /u03 in /etc/fstab..

 

but... 

#mount
/u03 on /etc/auto.direct ignore,direct,dev=4000003 on Wed Jun 1 05:57:42 2011
 

V. Nyga
Honored Contributor

Re: HPUX 11.31 root cannot touch directory.

It's mounted on /etc/auto.direct so it's from an automouter configuration ....
Maybe in an init directory (/sbin/rc1.d or rc2.d, ...)
*** Say 'Thanks' with Kudos ***
V. Nyga
Honored Contributor

Re: HPUX 11.31 root cannot touch directory.

Found it (at least in 11.11):
set "AUTOMOUNT=0" in /etc/rc.config.d/nfsconf

*** Say 'Thanks' with Kudos ***
Dennis Handly
Acclaimed Contributor

Re: HPUX 11.31 root cannot touch directory.

>set "AUTOMOUNT=0"

 

Do you really want to turn the automounter off completely or just the one filesystem?

Dennis Handly
Acclaimed Contributor

Re: HPUX 11.31 root cannot touch directory.

>Can anyone explain it to me?

 

Unless you have exported the filesystem with root=, the default is root is "less than dirt".