KB Logo

TOLIS Group Knowledge Base

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



Fix BRU Server Permissions

Views: 9781
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 BRU Server is not writing to my external disk on Mac OS X, why?
document My Library or drive is not seen by BRU Server During the Hardware Scan, why not?
document Does BRU Server support the ZFS filesystem?
document Suggested BRU Block & Write Cache/Buffer Sizes and Timeout Settings for Tape Backups
document BRU Server Reports [W010] Block Sequence Errors During Verify Pass on Multi-Tape Archives
» More Articles



RSS
Powered by KnowledgebasePublisher
Page Load Time: 0.031779 seconds / 31.779 milliseconds.
Page File Size: 23005 bytes.