Author Topic: [SOLVED] users shares that are accessible to all the group  (Read 2163 times)

itamar

  • Zen Apprentice
  • *
  • Posts: 9
  • Karma: +2/-0
    • View Profile
[SOLVED] users shares that are accessible to all the group
« on: August 24, 2011, 10:19:52 am »
Hello,
I have recently install Zentyal 2.0 and began to configure it for our file server needs.
Every user can access his folder from his machine and group folder work fine.
My question is if its possible to give other users in the group the right to read all the folders of other users in the group?
If so how do you do it?
Thanks....
« Last Edit: August 26, 2011, 10:46:02 am by itamar »

itamar

  • Zen Apprentice
  • *
  • Posts: 9
  • Karma: +2/-0
    • View Profile
Re: users shares that are accessible to all the group
« Reply #1 on: August 26, 2011, 07:52:12 am »
OK,
After doing a little digging I found that I can create a share for the /home folder.
Now all the users can see other directories but can really go into them.
The reason for that is that each user is created with 700 permissions for its own directory.
Changing them manually to 755 does the trick but I'm looking for a way that users that are created will be created this way.
Anybody knows if I can run a script automatically that does this?

itamar

  • Zen Apprentice
  • *
  • Posts: 9
  • Karma: +2/-0
    • View Profile
Re: users shares that are accessible to all the group
« Reply #2 on: August 26, 2011, 10:45:49 am »
OK finally solved it.
I installed Zentyal 2.2RC2 and encountered this bug:
http://forum.zentyal.org/index.php/topic,7763.0.html
which I hope will be fixed soon.
But I also found in /etc/zentyal/users.conf

# default mode for home directory (umask mode)
dir_umask = 0077

Change it to
# default mode for home directory (umask mode)
dir_umask = 0022

and restart zentyal
Thanks it