Hi all,
Thanks to: Joydeep X Mukherjee [mukherjee_joydeep@jpmorgan.com] who
passed on the following:
--- Hi Mark,pkgchk with the -k option checks and restores file permissions where possible. While running pkgchk one has to supply the name of the package ( is available by running pkginfo ). One must ensure that the file /var/sadm/install/contents is intact. This file is referred to by pkgchk to rectify errors.
Regards..Joydeep
---
I was then able to check each of the installed packages with the following command:
for a in $(pkginfo |awk '{print $2}') do print "Checking.....................................$a" pkgchk $a |more done
There were 100+ files that had the permissions changed. I have no proof that it was the Veritas Volumn Manager/File System install that did this, but the system was fine before the install.
Thanks Mark ============================================================= Mark Greenhalgh greenhalghm@tusc.com Consultant greenhalghm@usa.net TUSC Phone (630) 960-2909 377 E. Butterfield Road Fax (630) 960-2938 Suite 100 Lombard, IL 60148
-----Original Message----- From: Greenhalgh, Mark Sent: Friday, December 18, 1998 3:39 PM To: 'sun-managers@sunmanagers.ececs.uc.edu' Subject: File Permissions
Hi all,
I just installed Veritas on my Sun Sparc Solaris v 2.5.1 system. Now I have a problem where allot of file permissions are messed up.
Several directories have had the permissions set to: drwxrwx--- 2 76743 100 512 Feb 13 1998 updates
I already fixed several, /usr/bin, /usr/lib, so I can atleast log in now.
Is there a method of checking/resetting all permissions to the default at install ?
Thanks Mark Greenhalgh
============================================================= Mark Greenhalgh greenhalghm@tusc.com Consultant greenhalghm@usa.net TUSC Phone (630) 960-2909 377 E. Butterfield Road Fax (630) 960-2938 Suite 100 Lombard, IL 60148
This archive was generated by hypermail 2.1.2 : Fri Sep 28 2001 - 23:12:54 CDT