From Wiki-UX.info

Wiki-UX / How to restore factory software permission using SD-UX software catalog
Jump to: navigation, search

How to restore factory software permission using SD-UX software catalog

Abstract

This article present command that will assist to recover the factory file user and group permissions of software installed using SD-UX software. This is required in the event that file permissions are changed manually using chown or chown command from the command line.

This is very handy when some novice with root types performs a chmod –R 770 /, which occurs more often that you may think. This will fix the OS to factory specs, though other mount points may still need to be fixed manually.

Contents


Simple approach

You can recover the permission of the SD-UX installed software using the swverify command.

Before using it, be aware that the vendor fix scripts executed by the swverify command can create or recreate missing directories, correct file modifications, (mode, owner, group, major, minor), and recreate symbolic links.


# swverify -x fix=true \*

Verbose approach

# swverify -v -x fix=true \*

Authors

Editor

This page was last modified on 24 February 2014, at 00:21. This page has been accessed 1,007 times.