[Samba] Samba moves in mysterious ways

Oliver Schulze L. oliver at samera.com.py
Wed Jan 30 14:16:04 GMT 2002


Avoid placing shares in /tmp, RH has a utility called tmpwatch that 
deletes all the old
files from /tmp. The default satting is to remove all the files older 
than 10 days.

Oliver

Petter T. Olsson wrote:

>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 
>

-- 
Oliver Schulze L.
oliver at samera.com.py
Asuncion-Paraguay







More information about the samba mailing list