cancel
Showing results for 
Search instead for 
Did you mean: 

World readable permissions in /netbackup/db/

AB_Chaudhry
Level 4
Partner

Why we have World Readable and Writeable permissions on files inside ../netbackup/db/images/ and ../netbackup/db/snapshot/ especially .lck files?
It can be an argument that these are empty zero byte files and removed later but why we need them to be rw-rw-rw whereas rw-rw--- can serve the purpose?
Can we change them to comply with enterprise data security standards and how? 

1 ACCEPTED SOLUTION

Accepted Solutions

revarooo
Level 6
Employee

Yes, just use chmod o-rw *.lck

I would assume that your umask is not setting these permissions but the code is.

View solution in original post

3 REPLIES 3

revarooo
Level 6
Employee

Yes, just use chmod o-rw *.lck

I would assume that your umask is not setting these permissions but the code is.

SJ_Hollist
Level 3
I'd check to see if the umask setting for root is defaulting to rw-rw-rw, and if any of the global profile configuration files have a umask setting in them.

Will_Restore
Level 6

SJ Hollist makes a very good point.  Proper umask setting will help in this regard, otherwise you will be constantly clearing world permissions on newly created files.