I have a NAS whose ip is 192.168.1.7There is a share on the NAS named music and in that share is a folder named 'archives'.I want to copy a file from my local hard drive/data/favourites/my-web-radio to the folder named archives.To avoid permission issues , I made myself root with 'su root'. Then I made a directory in /mntmkdir /mnt/archiveI checked to make sure the directory has read/write privs and it does:drwxr-xr-x 2 root root 4096 Jan 26 00:35 archiveI mounted the sharemount -t cifs //192.168.1.7/music/archives/ /mnt/archive/The permissions are these:drwxrwsrwx   3 1024 users     0 Jan  2 01:28 archivesDon't know why it lists the owner as 'users' since i made it when i was root.Then I triedroot@volumio:/mnt# sudo cp /data/favourites/my-web-radio /mnt/archive/and gotcp: cannot create regular file /mnt/archive/my-web-radio: Permission deniedObviously, I used root because I had the same problem even when I used the default admin login account. I've read the numerous threads and they all seem to point to an issue with ownership. I tried to change ownership but was unsuccessfulsudo chmod -R 777 /mnt/archive/chmod: changing permissions of /mnt/archive/: Permission deniedI would appreciate some enlightenment.
cannot create regular file permission denied
file copy;shared folders;permission denied