Koozali.org: home of the SME Server

Web admin group

Carsten Schnor

Web admin group
« on: March 27, 2002, 01:10:42 PM »
I would like to give a group of users write access to the primary html directory,
but without granting them any further rights (that is to say: without making them
system administrators), so that web pages could be edited by other users than admin.
How could this be done?

regards
Carsten

TMP

Re: Web admin group
« Reply #1 on: March 29, 2002, 02:55:18 PM »
I give some of my users access to the area this way

You will need to create a template fragment

in

/etc/e-smith/templates-custom/etc/smb.conf

called

60primary

and this should contain

# [60primary]
[home shares]
  comment = home_directories
  path = /home/e-smith/files
  valid users = admin root user-id
  admin users = admin root user-id
  write list = admin root user-id
  public = no
  read only = no
  writable = yes
  printable = no
  create mode = 0640
  directory mode = 02750
  force create mode = 0640
  force directory mode = 02750


Just change user-id to the users that you need to have access to the area

You will then need to rebuild the template and restart samba

There may be a better way of doing it but this works for me