Created a test share to look at this closer.
My windows account is named bjonness406 and the SMB share settings is set to "Private" and "Read/Write" for user bjonness406.
As you can see I still can make the file writeable from notepad++
I can't delete the folder or the file itself from windows explorer, or add new files into the Permissions folder.
If I try to edit the file with windows notepad, it will not let me and tells me the file is write protected.
[email protected]:~# cd /mnt/user/Testing/
[email protected]:/mnt/user/Testing# ls -l
total 0
drwxrwxrwx 1 bjonness406 users 29 Nov 19 15:56 Permissions/
[email protected]:/mnt/user/Testing# cd Permissions/
[email protected]:/mnt/user/Testing/Permissions# ls -l
total 4
-rw-rw-rw- 1 bjonness406 users 5 Nov 19 15:57 Try\ to\ edit.txt
[email protected]:/mnt/user/Testing/Permissions# cd ..
[email protected]:/mnt/user/Testing# chmod 544 Permissions/
[email protected]:/mnt/user/Testing# chown root Permissions/
[email protected]:/mnt/user/Testing# ls -l
total 0
dr-xr--r-- 1 root users 29 Nov 19 15:56 Permissions/
[email protected]:/mnt/user/Testing# cd Permissions/
[email protected]:/mnt/user/Testing/Permissions# ls -l
total 4
-rw-rw-rw- 1 bjonness406 users 5 Nov 19 15:57 Try\ to\ edit.txt
[email protected]:/mnt/user/Testing/Permissions# chmod 444 Try\ to\ edit.txt
[email protected]:/mnt/user/Testing/Permissions# chown root Try\ to\ edit.txt
[email protected]:/mnt/user/Testing/Permissions# ls -l
total 4
-r--r--r-- 1 root users 5 Nov 19 16:01 Try\ to\ edit.txt
[email protected]:/mnt/user/Testing/Permissions# ls -l
total 4
-rw-rw-rw- 1 root users 10 Nov 19 16:01 Try\ to\ edit.txt
[email protected]:/mnt/user/Testing/Permissions#
Tried to change the group to root also, but I still can make the file writeable with notepad++!
[email protected]:/mnt/user/Testing/Permissions# chown root:root Try\ to\ edit.txt
[email protected]:/mnt/user/Testing/Permissions# ls -l
total 4
-r--r--r-- 1 root root 10 Nov 19 16:01 Try\ to\ edit.txt
[email protected]:/mnt/user/Testing/Permissions# ls -l
total 4
-rw-rw-rw- 1 root root 16 Nov 19 16:23 Try\ to\ edit.txt
[email protected]:/mnt/user/Testing/Permissions#