iclouddrive: fix so created files are writable

At present any created file (eg through the touch command, copy, mount
etc) is read-only in iCloud.

This has been reported by users at
https://forum.rclone.org/t/icloud-and-file-editing-permissions/50659.
This commit is contained in:
Ben Alex 2025-04-09 11:58:37 +10:00 committed by Nick Craig-Wood
parent c10b6c5e8e
commit 4f1fc1a84e

View File

@ -631,7 +631,7 @@ func NewUpdateFileInfo() UpdateFileInfo {
FileFlags: FileFlags{ FileFlags: FileFlags{
IsExecutable: true, IsExecutable: true,
IsHidden: false, IsHidden: false,
IsWritable: false, IsWritable: true,
}, },
} }
} }