[KLUG Members] getting samba share completely anonymous

Richard Harding rick at ricksweb.info
Tue Nov 30 16:59:05 EST 2004


I have a usb drive with a bunch of mp3s I share at work and I am trying 
to get up samba to share them to everyone without requiring any sort of 
login.

I have set up the samba server as a share auth type and I can mount the 
drive just fine as root and users on the system.

I am running into the problem that I can see the share, but get access 
denied when attempting to connect to it via a Windows XP machine. I am 
wondering if the fact that all of the files are owned by root have 
something to do with it.

My smb.conf share:
[music]
   path=/mnt/music
   browseable=yes
   public=yes
   read only=yes
   guest ok = yes

fstab entry (it's an ntfs drive):
/dev/sda1       /mnt/music      auto    ro,users,noauto    0       0

Can anyone point me to a howto or have any ideas of what I need to 
check? When I mount it, even if I mount it as another user all of the 
files and such are owned by root and I can't change the permissions 
since the drive is mounted ro.

Thanks

Rick


More information about the Members mailing list