[Samba] Samba moves in mysterious ways

Adam Ellis AdamE at AccelGrp.com
Thu Jan 31 13:31:35 GMT 2002


Petter,

Have you checked the permissions on these files to ensure that is not the
problem?  I had to do the following with my create mask, force create mode,
directory mode, and force directory mode to get this to work for me:

[public]
	path = /home/public
	force group = everyone
	writeable = Yes
	create mask = 0666
	force create mode = 0666
	directory mask = 0777
	force directory mode = 0777
	inherit permissions = Yes

AE

-----Original Message-----
From: Petter T. Olsson [mailto:po26 at cornell.edu]
Sent: Wednesday, January 30, 2002 2:24 PM
To: samba at lists.samba.org
Subject: [Samba] Samba moves in mysterious ways


Hi all,

	One week ago I set-up an new server using RH 7.2 and Samba
2.2.0.  Everything seems to be working just fine except for one major
problem, describe in the following to example:

	1.  I have a /tmp folder which all users have full access to.  I
filled this folder with documents from their old server (Windows 2000
Server).  All documents can be opened and saved fine with one exception.
If, for instance, a Word document is opened and then saved using Save As
the files becomes corrupt in someway and can not be opened.  They get
the error message as follows:

	Microsoft Word
	The document name or path is not valid.  Try these suggestions.
	* Check the file permissions for the document or drive.
	* Use the File Open dialog box to locate the document.
	(C:\...\Bla Bla Bla...)

 	The exact same thing happens whenever someone attaches a
document to a mail located in their own or the tmp folder.

	I have copied the smb.conf file below with some obvious changes
like IP's and so on.  Please take a look at it and see if there is
something obvious that I am missing here.

Thanks a LOT in advance
P

----smb.conf file begins here----
[global]

        workgroup = ringo_starr
        server string = Mumbojumbo
        encrypt passwords = True
	  update encrypted = Yes
        security = user
        smb passwd file = /etc/samba/smbpasswd
        log file = /var/log/samba/%m.log
        max log size = 0
        socket options = IPTOS_LOWDELAY TCP_NODELAY
        deadtime = 15
        getwd cache = Yes
        lpq cache time = 45
        domain master = No
        local master = No
        preferred master = No
        os level = 1
        dns proxy = No
        wins server = 10.0.1.10
        name resolve order = wins host bcast
        hosts deny = ALL
        hosts allow = 
        debug level = 1
        create mask = 0777
        directory mask = 0777
        oplocks = True
        level2 oplocks = True
        read raw = No
        write cache size = 262144

[lisa]
	  path = /home/lisa
        browseable = No
        read only = No
	  valid users = lisa
	  inherit permissions = Yes
        invalid users = root bin daemon sync nobody sys tty disk mem
kmem

[tmp]
        comment = Temporary File Space
        path = /home/tmp
        read only = No
	  browseable = Yes
        valid users = @hoppsan, @runka, @somegroup
	  inherit permissions = Yes
        invalid users = root bin daemon sync nobody sys tty disk mem
kmem 
----smb.conf file ends here----

---
Petter T. Olsson
System Specialist
Cornell University
Veterinary College CPPS/DCS
Ithaca, NY 14853-6401
(607) 253-3411 

-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba




More information about the samba mailing list