[Samba] All read and write
Daniel Müller
mueller at tropenklinik.de
Fri Dec 16 00:55:24 MST 2011
What are your rights from prompt:
Ls -la yourshare
Does other have drwxr-xr-x <----
If your path is within another directory, other must have the x options even
in the directory above.
This solved a nearly the same problem for me in CENTOS.
-----------------------------------------------
EDV Daniel Müller
Leitung EDV
Tropenklinik Paul-Lechler-Krankenhaus
Paul-Lechler-Str. 24
72076 Tübingen
Tel.: 07071/206-463, Fax: 07071/206-499
eMail: mueller at tropenklinik.de
Internet: www.tropenklinik.de
-----------------------------------------------
-----Ursprüngliche Nachricht-----
Von: samba-bounces at lists.samba.org [mailto:samba-bounces at lists.samba.org] Im
Auftrag von Volker Lendecke
Gesendet: Freitag, 16. Dezember 2011 07:38
An: Günter Kukkukk
Cc: samba at lists.samba.org; Jessica Guynn
Betreff: Re: [Samba] All read and write
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
--
To unsubscribe from this list go to the following URL and read the
instructions: https://lists.samba.org/mailman/options/samba
More information about the samba
mailing list