Error while browsing 200: Error received from vProxy: "Could not get directory contents: Unable to retrieve file list from 1XX.1XX.9.1X2 (vm-1010) path '//root offset 0. Unable to perform FLR Agent operation 'browse_files' on VM 1XX.1XX.9.1X2 (vm-1010): Cannot open '/opt/emc/vproxysra/flr/mountpoints/FLR14XXXXX636/root/root': open /opt/emc/vproxyra/flr/mountpoints/FLR14XXXXX636/root/root: permission denied".
YYYY-MM-SSTHH:mm:SSZ ERROR: [@(#) Build number: ##] Could not get directory contents: Unable to retrieve file list from VM_IP (VM_MOREF) path '//root' offset 0. Unable to perform FLR Agent operation 'browse_files' on VM VM_IP (VM_MOREF): Cannot open '/opt/emc/vproxyra/flr/mountpoints/FLR14XXXXX636/lvm03-root/root': open /opt/emc/vproxyra/flr/mountpoints/FLR14XXXXX636/lvm03-root/root: permission denied
[flradmin@lnx-client02]$ ls -l /opt/emc/vproxyra/flr/mountpoints/FLR14XXXXX636/lvm03-root/root
ls: cannot open directory '/opt/emc/vproxyra/flr/mountpoints/FLR14XXXXX636/lvm03-root/root': Permission denied
[flradmin@lnx-client02]$
The user requires using 'sudo' to access files in the "restricted" directory:
[flradmin@lnx-client02]$ sudo ls -l /opt/emc/vproxyra/flr/mountpoints/FLR14XXXXX636/lvm03-root/root
total 8
-rw-------. 1 root root 1387 Jul 6 22:12 anaconda-ks.cfg
drwxr-xr-x. 2 root root 6 Jul 6 22:21 Desktop
drwxr-xr-x. 2 root root 6 Jul 6 22:21 Documents
drwxr-xr-x. 2 root root 6 Jul 6 22:21 Downloads
-rw-r--r--. 1 root root 1833 Jul 6 22:21 initial-setup-ks.cfg
drwxr-xr-x. 2 root root 6 Jul 6 22:21 Music
drwxr-xr-x. 2 root root 6 Jul 6 22:21 Pictures
drwxr-xr-x. 2 root root 6 Jul 6 22:21 Public
-r-xr-x---. 1 root root 0 Oct 3 09:13 somefile
drwxr-xr-x. 3 root root 59 Aug 7 16:12 swrepo
drwxr-xr-x. 2 root root 6 Jul 6 22:21 Templates
drwxr-xr-x. 2 root root 6 Jul 6 22:21 Videos
[flradmin@lnx-client02 root]$
NetWorker Management Console does Not have an Elevated Privilege option for FLR sudo access user account. The user account is not able to use elevation to browse and access the files in the mountpoint.
There are two options available:
When performing an FLR of files in restricted directories (for example, /root), perform the FLR from the NetWorker Web User Interface (NWUI) using the sudo user account and the "Run with elevated privileges" option."
Figure 2: Screenshot of NWUI using sudo account with "Elevated Privileges"
This allows the user account to browse the contents of "restricted" directories and perform restores using the sudo user account:
Figure 3: Screenshot of restricted directory contents
/opt/emc/vproxyra/flr/mountpoints/
ls
sudo cp /opt/emc/vproxyra/flr/mountpoints/xxxxxxx/file_being_recovered /path/to/restore/