Subject: kern/32034: openoffice2 linux binary can't list tmpfs directories.
To: None <kern-bug-people@netbsd.org, gnats-admin@netbsd.org,>
From: None <smb@cs.columbia.edu>
List: netbsd-bugs
Date: 11/10/2005 01:42:00
>Number:         32034
>Category:       kern
>Synopsis:       openoffice2 linux binary can't list tmpfs directories
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    kern-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu Nov 10 01:42:00 +0000 2005
>Originator:     Steven M. Bellovin
>Release:        NetBSD 3.99.11
>Organization:
Department of Computer Science, Columbia University
>Environment:
	
	
System: NetBSD berkshire.machshav.com 3.99.11 NetBSD 3.99.11 (BERKSHIRE) #0: Tue Nov 8 03:08:22 EST 2005 smb@berkshire.machshav.com:/usr/BUILD/obj/sys/arch/i386/compile/BERKSHIRE i386
Architecture: i386
Machine: i386
>Description:
	I'm running the Linux binary of Openoffice2 (from pkgsrc) on an
	up-to-date -current system.  When I use ^O to open a file, it can't
	list any such directories.

	Here's a shell sequence:

	# mount -t mfs /dev/wd0b /mnt
	# cp ~smb/.profile /mnt/foo.txt


	# umount /mnt
	# mount -t tmpfs /dev/wd0b /mnt
	# cp ~smb/.profile /mnt/foo.txt


	# umount /mnt                  
	# mount -t mfs /dev/wd0b /mnt  
	# cp ~smb/.profile /mnt/foo.txt


	# umount /mnt

	Right after each 'cp', I uniconized OpenOffice2, typed ^O, typed

		/mnt/ [ENTER]

	in the box.  For the mfs file system, it showed foo.txt; for the tmpfs 
	file system, it showed nothing.  I can open the file by typing its 
	name, so it's annoying rather than critical.  Working in a subdirectory 
	didn't help.
>How-To-Repeat:
	See above
>Fix:
	No fix, but you can bypass the problem by typing the full pathname
	of the file you want to open into the dialog box.  That is, it can
	open files; it just can't list the directories they're in.

>Unformatted: