Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 11-02-2005, 11:24 AM   #1
Registered: Jul 2005
Location: Tennessee
Distribution: openSUSE
Posts: 419

Rep: Reputation: 30
Unable to write to Samba Shares.

I have been searching and searching for a solution to my problem, but have been unable to find an answer.

I have been unable to properly configure Samba to act like a workgroup computer similar to WinXP. This is my set up:

3 computers. 1 Linux, 2 WinXP. All are connected via a wireless LinkSys router. Obviously Samba is installed on the Linux (SuSE 10) machine. Simple File Sharing is enabled on the WinXp computers.

This is the problem:

I can access all shares on all computers throughout the network. I can write from WinXP to WinXP shares and from Linux to WinXP. WinXP is unable to write to the Samba Shares, but can read and copy the files. When I try to write to the Samba Shares, the WinXP system gives the following error:

"Cannot Copy Samba+HOWTO-Collection: Cannot find the specified file. Make sure you specify the correct path and file name."

I am unsure what could be the problem so here is my smb.conf file:

# smb.conf is the main Samba configuration file. You find a full commented
# version at /usr/share/doc/packages/samba/examples/smb.conf.SUSE if the
# samba-doc package is installed.
# Date: 2005-09-13
	workgroup = MSHOME
	printcap name = cups
	cups options = raw
	map to guest = Bad User
	include = /etc/samba/dhcp.conf
	logon path = \\%L\profiles\.msprofile
	logon home = \\%L\%U\.9xprofile
	logon drive = P:
	add machine script = /usr/sbin/useradd  -c Machine -d /var/lib/nobody -s /bin/false %m$
	domain master = No
	restrict anonymous = no
	netbios name = TMDC
	max protocol = NT
	ldap ssl = No
	server signing = Auto
	case sensitive = no
	guest ok = yes
	msdfs proxy = no
	read only = no
	domain logons = No
	security = user

## Share disabled by YaST
# [homes]
#	comment = Home Directories
#	valid users = %S
#	browseable = No
#	read only = No
#	inherit acls = Yes

## Share disabled by YaST
# [profiles]
#	comment = Network Profiles Service
#	path = %H
#	read only = No
#	store dos attributes = Yes
#	create mask = 0600
#	directory mask = 0700

## Share disabled by YaST
# [users]
#	comment = All users
#	path = /home
#	read only = No
#	inherit acls = Yes
#	veto files = /aquota.user/groups/shares/

## Share disabled by YaST
# [groups]
#	comment = All groups
#	path = /home/groups
#	read only = No
#	inherit acls = Yes

	comment = All Printers
	path = /var/tmp
	printable = Yes
	create mask = 0600
	browseable = No

	comment = Printer Drivers
	path = /var/lib/samba/drivers
	write list = @ntadmin root
	force group = ntadmin
	create mask = 0664
	directory mask = 0775

	inherit acls = yes
	path = /home/shared/Network 2/

[software archive]
	inherit acls = yes
	path = /home/shared/Network 1/

## Share disabled by YaST
# [netlogon]
Can you see anything that does not look right? Perhaps I tried to set up a small simple network wrong, in that case what would be the proper steps?

Any help you could provide will be greatly appreciated.

Last edited by usaf_sp; 11-02-2005 at 11:28 AM.
Old 11-02-2005, 01:45 PM   #2
Registered: Jul 2005
Location: Tennessee
Distribution: openSUSE
Posts: 419

Original Poster
Rep: Reputation: 30
I got it to work.

I deleted my smb.conf file and used swat to generate a new one. I then went and changed the permissions of the folders that I wanted to write to.

The main problem was the permissions. Dumb mistake. Sorry to waste everyone's time.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Windows ME cannot write to SAMBA shares apostate Linux - Software 2 07-30-2005 10:56 PM
Can not write to Samba Linux Shares from Windows boyd98 Linux - Software 2 05-12-2005 05:51 PM
Samba:Unable to connect shares from win2k client vikram_cvk Linux - Software 8 03-22-2004 12:14 AM
Cannot create, modify, or write to Samba shares mpriddy Linux - Software 4 02-18-2004 10:40 AM
Can only write to samba shares as root. Neuronet Linux - Software 17 06-27-2003 06:44 AM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 12:17 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration