On 10/27/05, Ryan Escarez <
[EMAIL PROTECTED]> wrote:
On 10/27/05, Michael Calizo < [EMAIL PROTECTED]> wrote:
> Hi samba guru,
>
> I have a problem configuring my samba server, Here the current situation, I
> have a working samba+winbind+M$AD that was able to share folder to a
> certain group (svnusers), all accounts that is a member of that group
> defined on linux system where able to read/write to that folder. Now here is
> my problem, i have created a second group (QA), this time i want this group
> to limit thier access to a certain shared folder to read only, meaning
> members of my second group QA must not be able to modify/create folder or
> files within the shared folder.
>
> I have a user kalbo that is able to read/write to my shared folder svn: >>>
> no problem with this
> uid=514(kalbo) gid=521(svnusers)
> groups=521(svnusers),518(svnusers)
>
> I have a user waybuhok that is not able to read to my shared folder svn: >>>
> this is the BIG PROBLEM how can i make this user able to access (READ ONLY)
> this shared folder.
> uid=514(waybuhok) gid=521(qa) groups=521(qa)
>
>
> Is there a way to attain my goal here? PANO ang samba config dapat?
>
> here is my smb.conf
>
> [...]
>
> [svn]
> inherit permissions = yes
> writeable = yes
> path = /repository
> force group = svnusers
> force user = kalbo
> comment = repository
> valid users = kalbo,@svnusers
> create mode = 0640
> browsable = Yes
> [...]
hi!
have you tried make `writeable=no` and add "write list = kalbo"
this should solve your problem.
ex:
[...]
inherit permissions = yes
writeable = no ;-- disallow that is not included in write list
path = /repository
force group = svnusers
force user = kalbo
comment = repository
valid users = kalbo,@svnusers
create mode = 0640
write list = kalbo ;-- comma separeted for multiple users
browsable = Yes
[...]
hth
--
Ryan Escarez
CEBB F1E4 1E39 EC48 F05D 6B72 9C11 DD88 5E39 E471
$ gpg --keyserver pgp.mit.edu --recv-keys 0x5E39E471
main(k){float i,j,r,x,y=-16;while(puts(""),y++<15)
for(x=0;x++<84;putchar(" .:-;!/>)|&IH%*#"[k&15]))
for(i=k=r=0;j=r*r-i*i-2+x/25,i=2*r*i+y/10,j*j+i*i<11&&k++<111;r=j);}
_________________________________________________
Philippine Linux Users' Group (PLUG) Mailing List
[email protected] (#PLUG @ irc.free.net.ph)
Read the Guidelines: http://linux.org.ph/lists
Searchable Archives: http://archives.free.net.ph
--
Mike Calizo
Registered Linux User # 365113
_________________________________________________
Even the longest journey has to start with a small first-step
_________________________________________________ Philippine Linux Users' Group (PLUG) Mailing List [email protected] (#PLUG @ irc.free.net.ph) Read the Guidelines: http://linux.org.ph/lists Searchable Archives: http://archives.free.net.ph

