Operating System - HP-UX
1850216 Members
4904 Online
104050 Solutions
New Discussion

"/var/tmp/Ex08470" Permission denied

 
Diego Pavón
Advisor

"/var/tmp/Ex08470" Permission denied

Hi everybody.

I have one HPUX 11.00. I have one user that haven't open any file. When this user try to open any file the following error appear:
"/var/tmp/Ex08470" Permission denied
if you try to open other the error is similar, but the number changed
"/var/tmp/Ex08471" Permission denied.
If I create one file with permissions 777 in /var/tmp/Ex08475 and the sequential number is the next number that the user will use when he try to open other file, the vi work fine. If I have one file open with vi the user can open more files but if I close the file when he try to open other the same error appear. Only work when the user has one file open (but to get this i need to create the file with the correct sequential)
"/var/tmp/Ex08485" Permission denied.
The /var/tmp has 1777 and the permissions of the file is 775 but I can't open.
3 REPLIES 3
Kong Kian Chay
Regular Advisor

Re: "/var/tmp/Ex08470" Permission denied

Try :

1. Login as root.
#chmod 755 /var
#chmod 1777 /var/tmp
NOTE: This is in case the permissions has been screwed up, even though "ll -d" commd shows everything is O.K.

2. Login as the user.
#umask (check umask settings)
#umask 077
#vi tempfile
... edit & save ..

NOTE: This is in case the umask settings is the one that cause the permission problem.

Kong Kian Chay
Regular Advisor

Re: "/var/tmp/Ex08470" Permission denied

Sorry, just BEFORE "chmod 1777 /var/tmp" do :
chmod 500 /var/tmp
chmod 1777 /var/tmp

- just to refresh the permission.
Diego Pavón
Advisor

Re: "/var/tmp/Ex08470" Permission denied

The problem was that I deleted all the resources of the user (memory, queues, semm.) so when a close the session and open a new one using "su - " all work fine.
I clean the resources running ipcrm.

It's possible that the cause of the problem was that I deleted more resources of the session and for this I haven't enough privilege to open any file.

Thank you.