Folder Group permission Fedora
I am trying to give the members of the group write permission to a folder as follows:
$sudo groupadd my_group
$sudo usermod -a -G my_group user_name
$sudo mkdir /group_folder
$sudo chgrp my_group /group_folder -R
$sudo chmod g+w /group_folder -R
on the above user_name is my own username
Then I try to write in the folder as myself:
and I get Permission denied.
What am I not doing right? I am running Fedora Release 14. Can anybody help please.