KB Logo

TOLIS Group Knowledge Base

Browse KB by category:
Go to KB #:
Glossary
Email   Bookmark



Fix BRU Server Permissions

Views: 9218
Votes: 2
Posted: 10 May, 2011

If, for some reason, the file permissions have become altered for BRU Server's environment (in the /usr/local/bru-server/ folder) you can download and run the permission fix script to make sure that your BRU Server environment has all of the correct permissions for continued reliability and use.

The output of the script, when all permissions are correct, will look like like this:

$ sudo /usr/local/bru-server/fix-bs-permissions.py
Password:
Running BRU Server permissions check and correction...
Checking 700 permissions...
Checking 755 permissions...
Checking 644 permissions...
Checking 777 permissions...
Checking catalog folder and catalogs...
Permission check/fix complete.
$

If there are any files that have been altered or the files are incorrect permissions/ownership, the script will report the files to you, as shown in the example below:

$ sudo /usr/local/bru-server/fix-bs-permissions.py
Running BRU Server permissions check and correction...
Checking 700 permissions...
    Permissions incorrect for 'archives'.
    Fixing permissions on 'archives'...
    Permissions incorrect for 'backup'.
    Fixing permissions on 'backup'...
    Permissions incorrect for 'log'.
    Fixing permissions on 'log'...
Checking 755 permissions...
    Permissions incorrect for 'agent'.
    Fixing permissions on 'agent'...
Checking 644 permissions...
Checking 777 permissions...
Checking catalog folder and catalogs...
    Permissions incorrect for 'catalogs'.
    Fixing permissions on 'catalogs'...
Permission check/fix complete.
$

Downloadable Scripts:

TOLIS Group, Inc. ('TOLIS') provides scripts written by BRU Software ('BRU') users, for BRU users and assumes no responsibility for their content or operation in any particular environment. Further, TOLIS assumes no liability for potential harm or damage, software or hardware, that may result from their use. The scripts are provided as examples only and must be modified for your use. VERIFY THE USEFULNESS of the script before you use it.

Download BRU Server Permission Fix Tool

Once the file as been downloaded and placed on the Desktop of the system where the BRU Server Server is running, running the following command will extract the tool to the proper location:

sudo tar -zxvPf ~/Desktop/fix-bs-permissions.tar.gz

Once the file has been extracted, it can be run using the following command:

sudo /usr/local/bru-server/fix-bs-permissions.py

It will then run and fix any files/folders that do not have the correct permissions that BRU Server needs and uses frequently.

If you have any questions or concerns about this script, please contact TOLIS Group Technical Support.

Others in this Category
document I can't stop the BRU Server Server daemon on 10.4.x/10.5.x systems...
document BRU Server is not writing to my external disk on Mac OS X, why?
document Does BRU Server support the ZFS filesystem?
document Backing up Virtual Machines with BRU Server
document Information About Inconsistent Tapes
» More Articles



RSS
Powered by KnowledgebasePublisher
Page Load Time: 0.029769 seconds / 29.769 milliseconds.
Page File Size: 22898 bytes.