Julien Vehent on 30 Jan 2011 09:50:30 -0800


[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

Re: [PLUG] samba server frustration


On 01/30/2011 12:45 PM, Adam Zion wrote:
OK, so I'm trying to set up my Ubuntu box as a Samba server, something
which I have done successfully in the past. This time, though, no
luck. No, that's not quite true- if it simply hadn't worked at all,
that would have been better. What I have is something which *almost*
works, but not quite.

What I get is a server where I can use XP or Mac clients to mount in
read-only mode, but not w/write privileges. Obviously, that's useless.

I've created the correct users w/the correct passwords, and the drive
permissions are clearly correct, since I have no problem accessing the
files locally. It's got to be the smb.conf file. So, can someone send
me a copy of their working smb.conf, before I lose what tiny bit
remains of my mind?


Hi Adam,

Out of the (debian) box, I have my samba configuration working with the following section in /etc/samba/smb.conf

[data]
        comment = Data Directory
        path = /data
        browseable = yes
        read only = no
        directory mask = 0775
        create mask = 0775
        guest ok = no

I had a write problem but it was due to the external harddrive that was in NTFS, and basic NTFS support doesn't do write. I had to mount it with ntfs-3g.

Julien
___________________________________________________________________________
Philadelphia Linux Users Group         --        http://www.phillylinux.org
Announcements - http://lists.phillylinux.org/mailman/listinfo/plug-announce
General Discussion  --   http://lists.phillylinux.org/mailman/listinfo/plug