02-25-2009 11:33 AM
It appears the device directories under /var/adm/CSCOpx/files/rme/dcma/devfiles have a watershed moment at the time an LMS 2.6 backup was restored into LMS 3.1. I'm wondering what the correct dir perms should be.
before Nov 29, 2008
drwxr-xr-x
after
drwxr-x---
02-25-2009 11:36 AM
Permissions just have to allow casuser read and write. However, for security reasons, you probably want to go with:
casuser:casusers 0640
02-25-2009 11:53 AM
Would the removable of the executable bit cause problem for the LMS web server navigating these dirs?
Can the overly lax perms be tightened in the restorebackup.pl script or elsewhere so it doesn't recur after another restore?
02-25-2009 12:13 PM
The executable bit on a directory means "allow search." Without this, you would not be able to enumerate a directory's contents. It's generally required if you want to allow read access to a directory. do not remove this.
The permissions should be restored exactly how they were when the backup was taken. We use "tar cfph" even on LMS 2.6. And we use xvhpf on restore.
Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: