What I’m trying to do is move a file to a ZFS storage share, but I’m getting “Could not write to file” popup.
ls -la gets me this
drwxr-xr-x - marc 16 Oct 20:18 .
drwxrwxrwx - root 17 Oct 05:41 …
.rwxr----- 1.6G marc 16 Oct 20:18 Vacation.mp4
ls -l
.rwxr----- 1.6G marc 16 Oct 20:18 Vacation.mp4
stat -c “%a” Vacation.mp4
740
If I understand right, marc is the owner of the file but doesn’t have permissions to the file.
Tried
chmod a+ rwx Vacation.mp4
Got
chmod: cannot access ‘rwx’: No such file or directory
Based on what you show, the owner has rwx permissions and the group has r, but it doesn’t seem to have a group (or perhaps it’s the owner that’s missing).
No idea what the . at the start of the line could signify, other than user error when copying, or a weird alias or function that modifies it. AFAIK it should be one of -, d or l
The size is human readable, which doesn’t match the command you show.
You seem to have rewritten the output, or have a strange alias, none of your output should look like it does.
Notice the columns: file type, permissions, number of hard links, owner, group, size, date, time, filename.
# this will avoid any alias or function
command ls -la
Where are you trying to move it to?
What are the permissions on the parent directories of the destination?
Is the destination local?
Have you tried copying it in the CLI?
cp -a /path/to/file /new/location/
Notice the trailing / on the destination.
You have several characters that aren’t shown correctly. This is one of them: