Thanks for the solution TAKAHASHI Motonobu. Removing "guest account = root" line from smb.conf fixed the problem.
Thanks once again. On Wed, Aug 3, 2011 at 8:26 PM, TAKAHASHI Motonobu <[email protected]> wrote: > From: raj kernel <[email protected]> > 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 <[email protected]> > > -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba
