-
You're probably mounting it as root, which means all the files and directories are owned by root:root, regular users can't write. (If I'm right, the root user should be able to write to those directories).
You need to specify the owner and group. Either set owner and group to the user you want to allow access to, or create a new group for all users who need access to use.
https://unix.stackexchange.com/questions/68079/mount-cifs-network-drive-write-permissions-and-chown
Alternatively, it could be samba settings:
https://askubuntu.com/questions/334422/mounted-cifs-share-but-no-write-permissions
-
Thanks, yes I can write to the folders using sudo which makes me think it's a permissions thing rather than the samba settings.
I assume the user is the Linux user, not Windows. So far as I'm aware, I don't have any groups set up, is there a default for this or something (or can it be skipped if I set a user)? Cheers
I have what I think is a Linux problem.
Plex server is on a Ubuntu server. All my network drives are on a Windows server.
To access the drives I did
and then added to /etc/fstab
(obviously replacing relevant parts with my server, username, etc and creating a .smbcredentials file)
All seemed well and good, can read the folders, Plex works fine.
I've recently been testing the DVR part of plex and found that it wasn't working as I couldn't write to the network drives.
I tested this by copying a file to the network folder and it didn't work.
The reason I think it could be a linux issue though is that copying the file using sudo does work. As such I can't see it being a permissions problem on the Windows server. Any suggestions?