Operating System - HP-UX
1825024 Members
3099 Online
109678 Solutions
New Discussion юеВ

Permission denied (errno = 13)

 
SOLVED
Go to solution
jmb
Regular Advisor

Permission denied (errno = 13)

I'm building a new Ignite server, based on an existing server, but updated. I've already done a test install from it, but now when I'm trying another one (this is a "pull"), I'm getting the following message on the client console. (This occurs after "NFS mounting client directory", Using client directory: /var/opt/ignite/clients/0xblahblah"):

ERROR: copy_file: Cannot open "/var/opt/ignite/clients/0xblahblah/install.log": Permission denied (errno = 13).
then: ERROR: could not move file: /tmp/install.log to /var/opt/ignite/clients/0xblahblah/install.log: Perm denied (errno = 13).

These are followed by 6 other error messages, all saying the same type of thing.

The perms on this new server for all of the above directories match the perms on the previous server that does not have this problem.

And, probably very relevant: When the installation switched to interactive mode on the client, and offered "Run a Recovery Shell", I chose that, and immediately received a "ERROR: Cannot open file: /tmp/env.vars: Permission denied (errno = 13) on the new client.

Suggestions?
5 REPLIES 5
Navin Bhat_2
Trusted Contributor

Re: Permission denied (errno = 13)

Could you please post the output of the following command.

ll /var/opt/ignite/clients/0xblahblah


Thanks.
jmb
Regular Advisor

Re: Permission denied (errno = 13)

# ll -d clients
drwxrwxrwx 4 bin bin 8192 May 12 16:52 clients

# ll clients
total 16
drwxr-xr-x 2 root sys 96 May 13 08:20 0x00306E2CA651

# ll clients/0x*
total 16
-rw-r--r-- 1 root sys 3201 May 12 14:24 config
Navin Bhat_2
Trusted Contributor
Solution

Re: Permission denied (errno = 13)

# ll clients
total 16
drwxr-xr-x 2 root sys 96 May 13 08:20 0x00306E2CA651

# ll clients/0x*
total 16
-rw-r--r-- 1 root sys 3201 May 12 14:24 config


----
ok I think that is where the problem is. The ownership should be bin:bin not root:sys
chmod all the root:sys to bin:bin.

Rgds
Navin Bhat_2
Trusted Contributor

Re: Permission denied (errno = 13)

Also check the permissions under
/var/opt/ignite/recovery/*/* the files here too should have bin:bin
jmb
Regular Advisor

Re: Permission denied (errno = 13)

Navin - thank you. That was it. I saw the ownership, but thought the mods perms would allow. Obviously I missed that; thanks for your assistance!