May someone explain me how to manage rights correctly pls? I have a file with these rights:
8 -rw-r--r--+ 1 sntecard sntecard 4669 Sep 18 12:34 index.php
I am accessing this folder by user myuser and trying to modify it. Sure, I can't. Ok, I am adding group write rights and add myself to sntecard group (being a root):
usermod -a -G sntecard myuser chmod g+w index.php
Let's check rights: (ls -ls)
8 -rw-rw-r--+ 1 sntecard sntecard 4669 Sep 18 12:34 index.php
Now let's check I am in a group: (grep sntecard /etc/group)
Awesome, I am in a group and now SHOULD TO have rights! But NO. I can't write this file. Impossible thru sFTP and impossible ever thru nano index.php. Access error when writting a file.
What I am doing wrong?
P.S. What is that "+" at the end of rights line actually means?