I've mounted a share from my Windows Server on a linux (RHEL) server and I can access all files, I can create/edit/delete new files.
But I can't modify or delete existing files. I can open and read them though.
Even as root I can't do these things.
'ls -al' shows the rights on the file as follows: -rwxrwxrwx. (including the . at the end).
I've mounted the share as follows:
mount -t cifs //10.51.51.15/SharedDocs /home/shareddocs -o rw,user=username,password="userpassword",uid=username,gid="domain users",vers=2.1,user_xattr,dir_mode=0777,file_mode=0777
Does anybody have any idea how to solve this? I suspect this might have something to do with selinux?