Hi!
I was trying to set up a directory with g+s bit but am having some troubles.
I created a group helkaz, and added two users to it:
[jeansib@dell:~]$ groups
users wheel helkaz
[jeansib@dell:~]$
Then I create a directory: /home/.helkaz and chmodded it with 2770:
[jeansib@dell:~]$ ll -d /home/.helkaz/
drwxrws--- 1 root helkaz 48 03-04 18:48 /home/.helkaz/
[jeansib@dell:~]$
Now I can create files inside this directory, but they remain unwritable to the group:
[jeansib@dell-1:~]$ ls -l /home/.helkaz/
total 0
-rw-r--r-- 1 jeansib helkaz 0 03-04 18:48 jak.txt
-rw-r--r-- 1 jeansib helkaz 0 03-04 18:30 test
-rw-r--r-- 1 jeansib helkaz 0 03-04 18:43 test2
drwxr-sr-x 1 jeansib helkaz 0 03-04 18:49 testing
-rw-r--r-- 1 jeansib helkaz 0 03-04 18:35 test.txt
[jeansib@dell-1:~]$
Why is this happening? I tried to reboot my machine, but it didn’t help.
Best,
Miro