Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Announcements

Welcome to Cisco Support Community. We would love to have your feedback.

For an introduction to the new site, click here. And see here for current known issues.

New Member

LMS 3.2 - restorebackup.pl issues with /var permissions on Solaris 10

Hi,

I have been attempting a restore using the restorebackup.pl script but it was repeatedly failing 70% of the way through the RME restore.

I discovered that the script was changing the directory permissions for /var and /var/adm from root:sys 755 to root:root 700 causing the restart of daemons to fail because of denied permissions.

What could be causing this change in permissions to /var and /var/adm to occur? Is it an error with the script?

I was able to successfully restore using the restorebackup.pl script after changing the /var and /var/adm permissions back to root:sys 755 BUT only after the restorebackup script had changed them to root:root 700 during execution.

The failed log is attached.

1 REPLY
Cisco Employee

Re: LMS 3.2 - restorebackup.pl issues with /var permissions on S

There is no where in the restore code where anything is explicitly chmod'd to 0700.  In fact, the RME restore code will attempt to preserve ownership of /var and /var/adm.  Perhaps the permissions in your RME filebackup.tar file are already 0700 for /var and /var/adm?

631
Views
0
Helpful
1
Replies
CreatePlease login to create content