please help newbie with Samba issue

AC Perdon turf.ph at gmail.com
Wed Sep 3 03:14:11 UTC 2008


Hi,

You need to edit your /etc/samba/smb.conf  under share Definitions you may
read the man page or google it for more information. but below is a sample
of the config you must do:

Sample
#======================= Share Definitions =======================

[Public folder]
comment = Public folder
read only = yes
path = /home/Public_folder
guest ok = yes

then you have to set the permission of the folder right click the Public
folder --> Properties --> Permission or if your familiar with the command
line:

$chmod 744 Public_folder

your folder should look like this:

drwxr--r--  2  ben ben   4096 2008-09-03 10:44 Public_folder

Hope this help

-AC



On Wed, Sep 3, 2008 at 7:23 AM, Adam Harrison <adam.harrison at hulu.com>wrote:

> Thanks for getting back to me so quickly.
>
> However, I'm not quite sure how to do what you are talking about.
>
> Could someone please email me information on how to do this.
>
> Thanks.
>
> Best,
> Adam
>
> Message: 10
> Date: Wed, 3 Sep 2008 02:28:54 +0530
> From: "Raseel Bhagat" <raseelbhagat at gmail.com>
> Subject: Re: Ubuntu Server and Samba
> To: "Ubuntu user technical support,     not for general discussions"
>        <ubuntu-users at lists.ubuntu.com>
> Message-ID:
>        <f68850780809021358r1a76074ftc76a3944ef8ff7a1 at mail.gmail.com>
> Content-Type: text/plain; charset="utf-8"
>
> Hi,
>
> On Wed, Sep 3, 2008 at 2:20 AM, Adam Harrison
> <adam.harrison at hulu.com>wrote:
>
> >  Dear All,
> >
> >
> >
> > I have searched the internet and looked into the Samba documentation
> and
> > haven't been able to find an answer to this. I will admit I am a
> newbie when
> > it comes to Samba so if this is something simple please forgive me.
> >
> >
> >
> > Anyway, I have several Samba shares on various servers. I want to
> enable
> > anonymous read only access to all of these shares and then have a
> separate
> > login which allows read write access. I have setup Samba for share
> level
> > access, however this allows everyone to have read / write access. So
> how
> > would I set this up?
> >
>
> Why not make it a User level access, allow guest access (or maybe even
> public) and make it read-only in one rule. Then add valid users and
> read-write access to the same path in another rule.
> That should solve your problem.
>
> Thanks,
> Raseel
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL:
> https://lists.ubuntu.com/archives/ubuntu-users/attachments/20080903/6272
> 2b62/attachment.htm<https://lists.ubuntu.com/archives/ubuntu-users/attachments/20080903/62722b62/attachment.htm>
>
> ------------------------------
>
> --
> ubuntu-users mailing list
> ubuntu-users at lists.ubuntu.com
> Modify settings or unsubscribe at:
> https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
>
>
> End of ubuntu-users Digest, Vol 49, Issue 20
> ********************************************
>
>
>
> --
> ubuntu-users mailing list
> ubuntu-users at lists.ubuntu.com
> Modify settings or unsubscribe at:
> https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
>



-- 
AC Perdon
Registered GNU/Linux User #340122
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/ubuntu-users/attachments/20080903/ac802f07/attachment.html>


More information about the ubuntu-users mailing list