[Ilugc] Samba 3.0 Problem

  • From: ksriram29@xxxxxxxxxxx (Sriram Kalyanasundaram)
  • Date: Tue, 16 Mar 2004 18:34:01 +0530

hi,
you can give access modes to your users by giving these directives in their 
respective shares.
user = [username]
public = no
create mode = [permission in octal format eg. 0711]
directory mode = [permission in octal format eg. 0711]
don't forget to run the command "testparm"
bye.
S
R
  I
   R
    A
     M
       .
          K





From: baskar kannian <baskar910@xxxxxxxx>
To: Anandh G <anandhg02@xxxxxxxxx>
CC: ilugc@xxxxxxxxxxxxxxxxxx
Subject: Re: [Ilugc] Samba 3.0 Problem
Date: Mon, 15 Mar 2004 11:39:58 +0500 (IST)

I want to create a samba server and provide network
storage for 5 group of users. I need each group to
have seperate folder on the server (ie 5 folders).But
i need all users of a group to Read/Write to their
group folder and only read permission on all the other
4 group folders. All my clients are Win 2K Pro. I am
using Fedora Core 1 with samba 3 for this.

I had configured samba and created samba users. All my
clients are able to view the share by giving
username/password. But I don't know how to give
Read/Write permission for the owner of the group and
Read only access for all other 4 groups.

My smb.conf file is below
=======================================================
[global]
    workgroup = Software Devp
    server string = Samba
    hosts allow = 192.168.2. 127.
    printcap name = /etc/printcap
    load printers = yes
    log file = /var/log/samba/%m.log
    max log size = 50
    socket options = TCP_NODELAY SO_RCVBUF=8192
SO_SNDBUF=8192
    interfaces = 192.168.2.1/24
#===== Share Definitions ===
[mnt]
    comment = Mount directory
    path = /mnt
    read only = no
    write list = @g1
=======================================================
All the other lines in smb.conf are commented so I
deleted them.
Help Needed!

=====
Regards,
AnandhG

__________________________________
Dear Anand,
Change your share definition as below
[mnt]
Comment=Mount directory
path=/mnt
public=yes
write=no
write list=@g1

K.BASKAR
-------------------------------------------------
Still single? Click here to find the perfect match.

http://www.bharatmatrimony.com/cgi-bin/bmclicks1.cgi?141

_________________________________________________________________
Easiest Money Transfer to India. Send Money To 6000 Indian Towns. 
http://go.msnserver.com/IN/42198.asp Easiest Way To Send Money Home!


Other related posts: