[Samba] permission problem

Louis van Belle louis at van-belle.nl
Wed Aug 3 14:06:47 GMT 2005


in the last step
 my local user is in the group users
>  ls -l  /mnt/music
>  drwxrwx---   4 1001 users 0 30. Jan 2005  My Insanity
	    ^^^ no everybody , is this correct, if so on 
this server/workstation, create a user with uid 1001 and your done
if possible, with the name music.

i did the same with a nfs mount. 
works perectly.
i use force user force group to set the corrected rights on my samba 
share.

Louis

>-----Oorspronkelijk bericht-----
>Van: samba-bounces+louis=van-belle.nl at lists.samba.org 
>[mailto:samba-bounces+louis=van-belle.nl at lists.samba.org] Namens julius
>Verzonden: woensdag 3 augustus 2005 15:54
>Aan: samba at lists.samba.org
>Onderwerp: [Samba] permission problem
>
>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
>-- 
>To unsubscribe from this list go to the following URL and read the
>instructions:  https://lists.samba.org/mailman/listinfo/samba
>



More information about the samba mailing list