From owner-freebsd-questions@FreeBSD.ORG Sat Apr 16 01:41:49 2005 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5C2C116A529 for ; Sat, 16 Apr 2005 01:41:49 +0000 (GMT) Received: from sccrmhc14.comcast.net (sccrmhc14.comcast.net [204.127.202.59]) by mx1.FreeBSD.org (Postfix) with ESMTP id 50FAE43D39 for ; Sat, 16 Apr 2005 01:41:48 +0000 (GMT) (envelope-from munn@umd.edu) Received: from [192.168.123.55] (pcp0010726446pcs.howard01.md.comcast.net[69.243.51.18]) by comcast.net (sccrmhc14) with ESMTP id <2005041601414701400h21vse>; Sat, 16 Apr 2005 01:41:48 +0000 Message-ID: <42606D5A.10007@umd.edu> Date: Fri, 15 Apr 2005 21:41:46 -0400 From: munn User-Agent: Mozilla Thunderbird 1.0.2 (Windows/20050317) X-Accept-Language: en-us, en MIME-Version: 1.0 To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: mount_smbfs issue X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 16 Apr 2005 01:41:49 -0000 I am getting an inconsistency when I try to use perl to access file in a smbfs mounted Win XP directory structure My kernel is at 4.11p3. Any help in resolving this problem would be much appreciated. # smbfs mount command which mounts a WinXP share ShareDir on my FreeBSD # box. The directory ~/ShareDir has rwx permissions for ugo. sudo mount_smbfs -N -I dodo -u me -g ggg //guest@dodo/SharedDir ~/SharedDir # directory/file structure is correct ls -FCR SharedDir/ DirOne/ DirThree/ DirTwo/ SharedDir/DirOne: DSCN1090.JPG* DSCN1091.JPG* DSCN1092.JPG* SharedDir/DirThree: DSCN0820.JPG* ParkStreet.JPG* VicRooms.JPG* SharedDir/DirTwo: Oeuvre17.JPG* # now look at the directory/file structure with find # looks good find SharedDir -print SharedDir SharedDir/DirOne SharedDir/DirOne/DSCN1090.JPG SharedDir/DirOne/DSCN1091.JPG SharedDir/DirOne/DSCN1092.JPG SharedDir/DirThree SharedDir/DirThree/DSCN0820.JPG SharedDir/DirThree/ParkStreet.JPG SharedDir/DirThree/VicRooms.JPG SharedDir/DirTwo SharedDir/DirTwo/Oeuvre17.JPG # translate the find command to perl and run the perl script # PROBLEM the files no longer appear find2perl SharedDir -print > testcase.pl perl testcase.pl SharedDir SharedDir/DirOne SharedDir/DirThree SharedDir/DirTwo