From: raj kernel <raj.ker...@gmail.com>
Date: Wed, 3 Aug 2011 20:11:20 +0530

> Thanks for the reply. Here is the info you have requested for.
> 
> cat /usr/local/samba/lib/smb.conf
> -------------------------------------------------
> [global]
(snip)
> security = share
(snip)
> guest account = root

(snip)

>[data1]
> path = /mnt/data1
> guest ok = yes

(snip)

> I have created two subdir's 'private' and 'public' under /mnt/data1.
> public has all access permissions '777', but private has only read
> permissions.
> I am able to write/create files to both 'public' as well as
> 'private' directory when these shares are accessed from Windows7
> machine.

You set "guest account = root" and "guest ok = yes", so all accesses
are made as root.

Thus you can always access every files regardless of permissions.

---
TAKAHASHI Motonobu <mo...@samba.gr.jp>

-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba

Reply via email to