I have a local guest account called winguest. winguest has a password via linux passwd and smbpasswd. I wish to share a directory called /home/ricardo/mp3 , and all the files and directories below it. At first, the directories and files were owned by ricardo, group ricardo and chmod'd 700.
So... I created a group called winguest, added my normal linux user to it, and also the winguest account. I: chgrp -R winguest mp3/ chmod -R 770 mp3/
I can "see" the shares using gnomba on the local machine, but they are empty (i.e. reports as 0 files). The appropriate lines in my smb.conf are:
[mp3] comment = mp3 files writable = yes path = /home/ricardo/mp3/ public = yes
I suspect I have done something silly with file permissions, because in the /var/log/samba/log.pixiedust file (pixiedust being the samba server) I have:
[2002/11/14 17:13:35, 0] smbd/service.c:make_connection(589) pixiedust (192.168.0.2) Can't change directory to /home/ricardo/mp3 (Permission denied)
Using gnomba on my laptop, I get a different problem. When trying to access these files I get the following error:
mounted on:>/tmp/PIXIEDUST_mp3< Gnome-Message: gnome_execute_async_with_env_fds: returning -1
There is no mention of the laptop being denied access in log.pixiedust.
Any ideas?
On Thu, Nov 14, 2002 at 06:04:14PM +0000, N3tw0rkAng31B0y wrote:
I have a local guest account called winguest. winguest has a password via linux passwd and smbpasswd. I wish to share a directory called /home/ricardo/mp3 , and all the files and directories below it. At first, the directories and files were owned by ricardo, group ricardo and chmod'd 700.
So... I created a group called winguest, added my normal linux user to it, and also the winguest account. I: chgrp -R winguest mp3/ chmod -R 770 mp3/
are you logged onto the windows box with the username winguest and the correct password? what version of windows? and what does ls -ld /home/ricardo/mp3 say? and what are the permissions on /home/ricardo too? and the individual files please? let us know a bit of what ls -l says first...
Adam