One of my backups included a file (
default.m3lib) to which it had no access rights. I changed the access rights using
NAS:~# chmod o+r default.m3lib
so now it looks like this:
-rw----r-- 1 root root 9537289 Aug 3 01:38 default.m3lib
I have verified that I can access this file (and duplicati is running as a service under my username) and it works fine.
But duplicati still keeps complaining about not being able to access it. Why?
6 Dec 2017 23:50: Message
Failed to process path: \\NAS\together\default.m3lib
System.UnauthorizedAccessException: Access to the path '\\NAS\together\default.m3lib' is denied.
at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
at System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost)
at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share)
at Duplicati.Library.Snapshots.SystemIOWindows.FileOpenRead(String path)
at Duplicati.Library.Main.Operation.BackupHandler.HandleFilesystemEntry(ISnapshotService snapshot, BackendManager backend, String path, FileAttributes attributes)