When you attempt to perform a backup to a Common Internet File System (CIFS)-mounted drive, you may receive errors that resemble the following example:
These permission denied errors may result from missing extended attributes on the CIFS-mounted drive. This document describes how to resolve these permission denied errors.
Resolve the error
To resolve the permission denied errors for the CIFS-mounted drive, perform the following steps:
/etc/fstabfile so that the CIFS-mounted drive uses the
user_xattroption. This will resemble the following example:
We strongly recommend that you store your CIFS-mounted drive's access credentials in a separate, secure file.
In this example, line
4displays the CIFS-mounted drive entry.
- The local user owns the mounted files.
- The CIFS drive's access credentials reside in the
- Run the
remount mountcommand to remount the CIFS-mounted drive.
lsattr /CIFS_mountcommand to add the extended attributes.
The mount does not support extended attributes if the
lsattr /CIFS_mountcommand returns the following error:
A mount that does not support extended attributes will not function with cPanel & WHM backups.
For more information about CIFS, read our Backup Configuration documentation.