ADSM-L

Re: [ADSM-L] Getting unix permissions back from TSM

2011-09-16 06:28:56
Subject: Re: [ADSM-L] Getting unix permissions back from TSM
From: Jánský Vítězslav <Vitezslav.Jansky AT T-SYSTEMS DOT CZ>
To: ADSM-L AT VM.MARIST DOT EDU
Date: Fri, 16 Sep 2011 12:26:35 +0200
restore to alternate location and use something like BSD mtree 
(http://www.freebsd.org/cgi/man.cgi?query=mtree&sektion=8) to copy permissions

V.J.
________________________________________
Odesílatel: ADSM: Dist Stor Manager [ADSM-L AT VM.MARIST DOT EDU] za uživatele 
Carlo Zanelli [Carlo.Zanelli AT REGIONE.VENETO DOT IT]
Odesláno: 16. září 2011 11:27
Komu: ADSM-L AT VM.MARIST DOT EDU
Předmět: Re: [ADSM-L] Getting unix permissions back from TSM

Hi Steve,

No, there is no way to restore permissions only.
The best way to doing this is to restore the directory to another mount point 
and manually do a diff on permissions.

Hope this helps.

Carlo.

-----Original Message-----
From: ADSM: Dist Stor Manager [mailto:ADSM-L AT VM.MARIST DOT EDU] On Behalf Of 
molin gregory
Sent: Friday, September 16, 2011 10:46 AM
To: ADSM-L AT VM.MARIST DOT EDU
Subject: Re: [ADSM-L] Getting unix permissions back from TSM

Hello Steve,

You can restore your system with the mksysb backup.
Select the filesystems you want to restore.

Hope that help

Cordialement,
Grégory Molin
Tel : 0141628162
gregory.molin AT afnor DOT org
-----Message d'origine-----
De : ADSM: Dist Stor Manager [mailto:ADSM-L AT VM.MARIST DOT EDU] De la part de 
Steve Harris Envoyé : vendredi 16 septembre 2011 07:15 À : ADSM-L AT VM.MARIST 
DOT EDU Objet : [ADSM-L] Getting unix permissions back from TSM

Hi All

One of my accounts has just had a unix admin tried to run something like

chown -R something:something /home/fred/*

but he had an extra space in there and ran it from the root directory

chown -R something:something /home/fred/ *

This has destroyed the ownership of the operating system binaries and trashed 
the system.  Worse it was done using a distributed tool, so quite a number of 
AIX lpars are affected including the TSM server.

Once we get the TSM Server back up, is there any way to restore just the file 
permissions without restoring the data?  I can't think of a way.  Maybe there 
is a testflag to do this?  Even a listing of the file and permissions for all 
active files would be enough to be able to fix the problem.

TSM Server 5.5 AIX 5.3

Thanks

Steve

TSM Admin
Canberra Australia.

"ATTENTION.

Ce message et les pièces jointes sont confidentiels et établis à l'attention 
exclusive de leur destinataire (aux adresses spécifiques auxquelles il a été 
adressé). Si vous n'êtes pas le destinataire de ce message, vous devez 
immédiatement en avertir l'expéditeur et supprimer ce message et les pièces 
jointes de votre système.

This message and any attachments are confidential and intended to be received 
only by the addressee. If you are not the intended recipient, please notify 
immediately the sender by reply and delete the message and any attachments from 
your system. "

-----
Ai sensi del D.Lgs. 196/2003 si precisa che le informazioni contenute nel 
messaggio e negli eventuali allegati sono riservate al/ai destinatario/i 
indicato/i. Nel caso di erroneo recapito, si chiede cortesemente a chi legge di 
dare immediata comunicazione al mittente e di cancellare il presente messaggio 
e gli eventuali allegati. Si invita ad astenersi dall'effettuare: inoltri, 
copie, distribuzioni e divulgazioni non autorizzate del presente messaggio e 
degli eventuali allegati.

----------
According to Italian law (D.Lgs 196/2003) information contained in this message 
and any attachment contained therein is addressed exclusively to the intended 
recipient. If you have received this message in error would you please inform 
immediately the sender and delete the message and its attachments. You are also 
requested not to make copies, nor to forward the message and its attachments or 
disclose their content unless authorised.