trying to set up a totaly anonymous share for users on a linux box with samba 3.0.10 point to a dir on my hard drive that looks like drwxr-xr-x 2 root root 4096 Jul 7 22:39 sambashare in my smb.conf, for this dir, I have [globalshare] path = /usr/local/share/sambashare read only = No guest ok = Yes guest only = Yes guest account = nobody writeable = yes windows users can see the share, but cant write to it.. they get "permission denied" in the log, I see [2005/07/08 11:52:42, 1] smbd/service.c:make_connection_snum(648) xp-01 (192.168.4.49) connect to service globalshare initially as user nobody (uid=65534, gid=65534) (pid 17680) but thats it. Jason
Paul Dunphy
2005-Jul-08 20:39 UTC
[Samba] permission denied from winxp box to samba share.
Jason, You need to give users write permission on the linux box before they will be able to write to the share. Try: chmod 777 /usr/local/share/sambashare on your linux box. That should do the trick. Paul Jason wrote:> trying to set up a totaly anonymous share for users on a linux box with samba > 3.0.10 point to a dir on my hard drive that looks like > drwxr-xr-x 2 root root 4096 Jul 7 22:39 sambashare > > in my smb.conf, for this dir, I have > > [globalshare] > path = /usr/local/share/sambashare > read only = No > guest ok = Yes > guest only = Yes > guest account = nobody > writeable = yes > > windows users can see the share, but cant write to it.. they get "permission > denied" in the log, I see > > [2005/07/08 11:52:42, 1] smbd/service.c:make_connection_snum(648) > xp-01 (192.168.4.49) connect to service globalshare initially as user nobody > (uid=65534, gid=65534) (pid 17680) > > but thats it. > > Jason > >
its always the case, I send email to the list and the very next thing I try works.. actually, I chowned the destination directory to nobody and that worked.. drwxr-xr-x 2 nobody root 4096 Jul 8 16:44 sambashare sorry for the stupid question. hopefully it will help someone else. Jason On Fri, Jul 08, 2005 at 04:38:52PM -0400, Paul Dunphy wrote:> Jason, > > You need to give users write permission on the linux box before they > will be able to write to the share. Try: > > chmod 777 /usr/local/share/sambashare > > on your linux box. That should do the trick. > > Paul > > Jason wrote: > >trying to set up a totaly anonymous share for users on a linux box with > >samba 3.0.10 point to a dir on my hard drive that looks like > >drwxr-xr-x 2 root root 4096 Jul 7 22:39 sambashare > > > >in my smb.conf, for this dir, I have > > > >[globalshare] > > path = /usr/local/share/sambashare > > read only = No > > guest ok = Yes > > guest only = Yes > > guest account = nobody > > writeable = yes > > > >windows users can see the share, but cant write to it.. they get > >"permission denied" in the log, I see > > > >[2005/07/08 11:52:42, 1] smbd/service.c:make_connection_snum(648) > > xp-01 (192.168.4.49) connect to service globalshare initially as user > > nobody (uid=65534, gid=65534) (pid 17680) > > > >but thats it. > > > >Jason > > > > >
Gerard Seibert
2005-Jul-09 10:43 UTC
[Samba] permission denied from winxp box to samba share.
On Friday, July 08, 2005 11:58:42 AM Jason <jason@monsterjam.org> wrote:>trying to set up a totaly anonymous share for users on a linux box with samba >3.0.10 point to a dir on my hard drive that looks like >drwxr-xr-x 2 root root 4096 Jul 7 22:39 sambashare > >in my smb.conf, for this dir, I have > >[globalshare] > path = /usr/local/share/sambashare > read only = No > guest ok = Yes > guest only = Yes > guest account = nobody > writeable = yes > >windows users can see the share, but cant write to it.. they get "permission >denied" in the log, I see > >[2005/07/08 11:52:42, 1] smbd/service.c:make_connection_snum(648) > xp-01 (192.168.4.49) connect to service globalshare initially as user nobody >(uid=65534, gid=65534) (pid 17680) > >but thats it. > >Jason >********** Reply Separator ********** Saturday, July 09, 2005 6:41:42 AM Check the file permissions on that directory. I had a similar problem. I changed the permissions to 0777 and everything worked fine. -- Gerard E. Seibert gerard-seibert@suscom.net