You are not logged in.

#1 2008-10-25 23:45:44

simao
Member
Registered: 2008-10-25
Posts: 9

Samba Share not working

Hello,

I configured samba using http://wiki.archlinux.org/index.php/Samba, I added my public share, without setting any password.

I tried to access my share from another computer but I always get this error on my samba log.

[2008/10/24 23:52:38,  0] smbd/service.c:make_connection_snum(1152)
  '/home/simao/Desktop/zn' does not exist or permission denied when connecting to [zn] Error was Permission denied

But the directory exists, with permissions set to 777.

Is there something I need to do so samba can access this directory in order to share it?

Thank you,
Simao

Offline

#2 2008-10-26 01:41:24

pyther
Member
Registered: 2008-01-21
Posts: 1,395
Website

Re: Samba Share not working

What is the permissions on the directory, /home/simao?

ls -ld /home/simao

Website - Blog - arch-home
Arch User since March 2005

Offline

#3 2008-10-26 02:25:24

simao
Member
Registered: 2008-10-25
Posts: 9

Re: Samba Share not working

Here they are:

drwx------ 34 simao users 4096 2008-10-25 02:46 /home/simao

Thank you.

Last edited by simao (2008-10-26 02:25:42)

Offline

#4 2008-10-27 15:51:47

simao
Member
Registered: 2008-10-25
Posts: 9

Re: Samba Share not working

I managed to solve this issue changing the permissions of my home folder, giving the group "users" access permissions. I don't know if this is the best way to solve this though...

Offline

#5 2008-12-09 05:05:08

basskozz
Member
Registered: 2008-03-13
Posts: 5

Re: Samba Share not working

I am have similar issues and the exact same message in my /var/log/samba folder: http://ubuntuforums.org/showthread.php?t=1004776
I changed the folders permissions to group "users" access and I still can't login, were you able to find another solution?

Offline

#6 2008-12-09 05:57:16

shazeal
Member
From: New Zealand
Registered: 2007-06-05
Posts: 341

Re: Samba Share not working

drwx------ 34 simao users 4096 2008-10-25 02:46 /home/simao

The user still needs to be able to traverse the directory to get to the share. Those permissions deny even directory traversal even if the final destination does not. You need atleast r-x permssions to traverse.

Personally I would make a new dir in home called share...

mkdir /home/share
chown simao:users /home/share
chmod 770 /home/share
mv /home/simao/Desktop/zn/* /home/share/
ln -s /home/share /home/simao/Desktop/zn

Then change the samba conf to point to /home/share.

Last edited by shazeal (2008-12-09 06:01:39)

Offline

Board footer

Powered by FluxBB