I can't change permissions on files which are mounted with cifs from windows share. I can only change write permission.
I mounted share using:
//10.0.0.1/share on /some/path/to/folder type cifs (rw,username=usr,password=passwd,domain=10.0.0.1,uid=32,gid=1001, iocharset=utf8,dir_mode=0770,sec=ntlm,_netdev)
Where uid is my username.
When I try to change permission of some file inside share, like /some/path/to/folder/simple/file.inside to 777:
sudo chmod 777 file.inside
Permssions doesnt change to 777 instead
ls -l output gives
When I change it to 000 result is:
The only difference between those two is that owner is not allowed to write. I am confused why is that and how to fix it.