[Samba] permission problem

julius julius.junghans at gmx.de
Wed Aug 3 13:53:55 GMT 2005


server:

[global]
...
map to guest = bad user
security = share
guest account = nobody
...

[music]
        comment = music
        path=/mnt/music
        writeable=yes
        public=yes
        guest only=yes

ls -l /mnt/
drwxr-xr-x   2 root root   48 25. Jun 18:04 music

mount /mnt/music
fstab entry:
/dev/hda2 /mnt/music auto
noauto,loop=/dev/loop0,encryption=AES128,gpgkey=keyfile.gpg 0 0

ls -l /mnt/music
drwxrwx---   4 music users 128 30. Jan 2005  My Insanity


client:
mount //ipaddress/music /mnt/music -t cifs -o rw

  my local user is in the group users
  ls -l  /mnt/music
  drwxrwx---   4 1001 users 0 30. Jan 2005  My Insanity
  cd /mnt/music/My\ Insanity  <- works
  ls -l
  ls: dir .: no permission               (ls: lese Verzeichnis .: Keine
Berechtigung)


maybe it has something todo with the guest account, but i couldnt figure
that out.
basically i would like to mount a smb share over the network with my
local user whos is in group guest.
thx for any replys.

greets
metalfan


More information about the samba mailing list