Operating System - HP-UX
1833589 Members
5171 Online
110061 Solutions
New Discussion

Re: NEED FOR lock DIRECTORY.. in /var/sam/

 
SOLVED
Go to solution
vaishakh k
Advisor

NEED FOR lock DIRECTORY.. in /var/sam/

Can anyone help me,

1> I accidentally removed sam in /var/. after that i created again with 555 permission and bin:bin ownership . but now it showing that missing of directory /var/sam/lock.

"What is the necessity for this directory". at what permission is will create?

Thanking in advance.. explain in brief....
6 REPLIES 6
Mel Burslan
Honored Contributor

Re: NEED FOR lock DIRECTORY.. in /var/sam/

chmod 755 /var/sam/lock
chown bin:bin /var/sam/lock

hope this helps
________________________________
UNIX because I majored in cryptology...
Suraj K Sankari
Honored Contributor

Re: NEED FOR lock DIRECTORY.. in /var/sam/

Hi,

If you have other HP boxes check from there, right now I dont have access to any hp-box otherwise could have tell you.

Suraj
avizen9
Esteemed Contributor

Re: NEED FOR lock DIRECTORY.. in /var/sam/

Here my server the permission /owner for lock file,
you may compare it and set same, in your server


os hpux B.11.11 A 9000/800

drwxr-xr-x 2 bin bin 1024 Apr 17 12:47 lock
vaishakh k
Advisor

Re: NEED FOR lock DIRECTORY.. in /var/sam/

Dear Mel Burslan,

Thank u for your valuable time.Now the problem is solved.But please tell me what happen if we create and change permission and ownership of "lock" file under "/var/sam".


Thanking in advance to all.

waiting for your response.
Dennis Handly
Acclaimed Contributor
Solution

Re: NEED FOR lock DIRECTORY.. in /var/sam/

>what happen if we create and change permission and ownership of "lock" file under "/var/sam".

(It is a directory.)
Why? It should be exactly as Mel and avizen9 said.
vaishakh k
Advisor

Re: NEED FOR lock DIRECTORY.. in /var/sam/

Ok than u to all for spending your valuable times.


regards,

vaishakh k