[Samba] All read and write
Volker Lendecke
Volker.Lendecke at SerNet.DE
Thu Dec 15 23:37:53 MST 2011
On Fri, Dec 16, 2011 at 02:56:08AM +0100, Günter Kukkukk wrote:
> On Friday 16 December 2011 00:37:12 Jessica Guynn wrote:
> > BTW, this is my smbstatus:
> >
> > PID UID DenyMode Access R/W OpLock Share
> > 5773 65534 DENY_NONE 0x100081 RDONLY NONE /home/project
> >
> > On Thu, Dec 15, 2011 at 2:35 PM, Jessica Guynn <jessguynn at gmail.com> wrote:
> > > Got few help, but still not working. Anyone know the configuration for
> > > full read and write for everyone. So no security needed or permission,
> > > ownership, or objects. Just full read and write for everyone.
> > >
> > > All the different configurations that I have tried (these are 3 separate
> > > smb.conf config and NOT all together):
> > >
> > > security = SHARE
> > >
> > > [Share]
> > >
> > > path = /home/project
> > > public = yes
> > > writeable = yes
> > > read only = no
> > > browseable = yes
> > > locking = no
> > > strict locking = no
> > > create mask = 777
> > > directory mask = 777
> > > force directory mode = 777
> > >
> > > security = share
> > >
> > > [Share]
> > >
> > > path = /home/project
> > >
> > > browseable = yes
> > > guest ok = yes
> > > read only = no
> > > hide files = /lost+found/
> > > force directory mode = 777
> > > force create mode = 666
> > > directory mask = 777
> > > create mask = 666
> > >
> > > and this
> > >
> > > security=user
> > >
> > > [Share]
> > >
> > > path = /home/project
> > > public = yes
> > > writeable = yes
> > > browseable = yes
> > > guest ok = yes
> > > guest account = Everyone
> > > create mask = 777
> > > directory mask = 777
> > >
> > > I am able to create file and folders, but folders I create I can't take
> > > ownership and is still lock. Any ideas? Sharing Ubuntu volume and
> > > mounting it into windows 7. So want so there's no security tab when
> > > checking the properties in Windows and just have all read and write.
> > >
> > > Thanks,
> > >
> > > Jessica
> Hi Jessica,
> there are many ways to accomplish this.
>
> A completely open way - were _any_ connected user is allowed to
> do anything with _all_ files/dirs - could be:
>
> [global]
> security = user
> map to guest = bad user
> guest account = nobody # see later note
> .... more to come from your original smb.conf
>
> [Share]
> comment = public access (all access is done as guest account)
> path = /home/project
> read only = No
> browseable = yes
> guest ok = yes
> guest only = yes
> inherit owner = yes
> inherit permissions = yes
To be 100% certain, add "force user = nobody" to the sahre
definition.
Volker
--
SerNet GmbH, Bahnhofsallee 1b, 37081 Göttingen
phone: +49-551-370000-0, fax: +49-551-370000-9
AG Göttingen, HRB 2816, GF: Dr. Johannes Loxen
http://www.sernet.de, mailto:kontakt at sernet.de
More information about the samba
mailing list