Error Opening Local File Smb
Contents |
Get Kubuntu Get Xubuntu Get Lubuntu Get UbuntuStudio Get Mythbuntu Get Edubuntu Get Ubuntu-GNOME Get UbuntuKylin Ubuntu Code of Conduct Ubuntu Wiki Community Wiki Other Support Launchpad Answers Ubuntu IRC Support AskUbuntu close smb open files error Official Documentation User Documentation Social Media Facebook Twitter Useful Links Distrowatch Bugs: Ubuntu
Error Opening Local File Ftp Mput
PPAs: Ubuntu Web Upd8: Ubuntu OMG! Ubuntu Ubuntu Insights Planet Ubuntu Activity Page Please read before SSO login Advanced Search Forum smbclient error opening local file The Ubuntu Forum Community Ubuntu Official Flavours Support General Help [SOLVED] samba: "no such file or directory" Having an Issue With Posting ? Do you want to help us debug the posting issues ? < is the place to report it, thanks ! Results 1 to 3 of 3 Thread: samba: "no such file or directory" Thread Tools Show Printable Version Subscribe to this Thread… Display Linear Mode Switch to Hybrid Mode Switch to Threaded Mode December 23rd, 2010 #1 outofsync View Profile View Forum Posts Private Message Just Give Me the Beans! Join Date Mar 2006 Beans 76 samba: "no such file or directory" I installed samba on Maverick following "the easy way" (ie: right click on a folder with Nautilus, and then sharing it). Then samba was automatically installed, and the permissions of the shared folder were set to 777 (I checked that from the terminal). Then I connect from an IRIX box, using smbclient. It successfully connects to the shared folder, and I can list the directory contents, as well as changing the current directory. The problem is that I cannot read nor write any file in the shared folder. If I try to run a shell command like this: ! gunzip myfile.gz Then I get the error "myfile.gz: No such file or directory" Or if I try to print a file like this: print myfile.txt Then I get the error "Error opening local file myfile.txt" (btw, I don't understand why it says "local file", since I understand it should say "remote file"). Any ideas on what could be happening here? As I said, I checked that the shared directory permissions are set to 777. I also tried to look at the smb.conf file, but found no entry for my shared folder... it seems ubuntu configures shared folders in another place apart from sm
by: [ date ] [ thread ] [ subject ] [ author ] rh61, 2.2.14 + smbfs-nls.patch SAMBA_2_0 as of 17 Jan 2000 19:43 GMT === 1) smbclient 2_0 does not output anymore the line with security=share or security=user or connected as guest security=user or ... after commands as "smbclient '\\srv\shr'". It was useful. === 2) ls to an empty dirs **** 2_0 or 1.9.18 doing "ls" to an empty win9x/winnt dir: smb: \> ls . D 0 Wed Aug 11 07:05:12 1999 .. D 0 Wed Aug 11 07:05:12 1999 65248 blocks of size 16384. 4658 blocks available **** 1.9.18 doing "ls" to an empty samba dir: smb: \> ls 49550 blocks of size 16384. 33754 blocks available **** 2_0 doing "ls" to an empty samba dir: smb: \> ls ERRDOS - ERRbadfile (File not found.) listing \* https://ubuntuforums.org/showthread.php?t=1651519 49550 blocks of size 16384. 33754 blocks available - Samba as a server never shows the 2 dirs . and .. - 2_0 gives an error. === 3) putting I have a linux dir with dir1/file1 dir2/file2 I cannot find a way to connect to another smb server share and transferring just the dir1 with the file within. smb: \> recurse directory recursion is now on smb: \> prompt prompting is now off smb: \> mask * smb: \> put dir1 dir1 does not exist smb: \> mput https://lists.samba.org/archive/samba-technical/2000-January/006558.html dir1 (dir1 is transferred without file1, no output) smb: \> mput dir* (dir1 and dir2 transferred without files, no output) smb: \> mput * (dir1 and dir2 transferred with files, output to screen) putting file dir1/file1 as \dir1\file1 (0.781235 kb/s) (average 0.78125 kb/s) putting file dir2/file2 as \dir2\file2 (1.46481 kb/s) (average 1.08507 kb/s) smb: \> === 4) winpopup charset problem character set = iso8859-1 client code page = 850 samba -> win98 and win98 --> samba both give garbled chars in place of accented chars in winpopup messages. === 5) "put" of empty dirs give no output to the screen (even if the dirs are actually transferred) This causes confusion: smb: \> prompt prompting is now off smb: \> mput emptydir smb: \> recurse directory recursion is now on smb: \> mput emptydir smb: \> The 2nd mput really transfers the dir, the 1st does not, but the output is the same for both. === 6) weirdness linux dirs: dir1/file1 (size > 0) dir2/file2 (size > 0) smb: \> prompt prompting is now off (with or without smb: \> mask *) smb: \> mput dir1 Error opening local file file1 smb: \> an empty file1 is created on the target share. if recurse is not set I think that smbclient should either transfer nothing or just the top dir -- giulioo at pobox.com Previous message: mapping from NT users to Unix users. question. Next message: [SAMBA-TNG] using and createing libsmb and libmsrpc Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] More information abou
HCL Search Reviews Search ISOs Go to Page... LinuxQuestions.org > Forums > Linux Forums > Linux - Networking running samba inside ssh server User Name http://www.linuxquestions.org/questions/linux-networking-3/running-samba-inside-ssh-server-246766/ Remember Me? Password Linux - Networking This forum is for any https://bbs.archlinux.org/viewtopic.php?id=182000 issue related to networks or networking. Routing, network cards, OSI, etc. Anything is fair game. Notices Welcome to LinuxQuestions.org, a friendly and active Linux Community. You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our error opening newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today! Note that registered members see fewer ads, and ContentLink is completely disabled once you log in. Are you new to LinuxQuestions.org? Visit the following links: Site Howto | Site FAQ | Sitemap | Register error opening local Now If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here. Having a problem logging in? Please visit this page to clear all LQ-related cookies. Introduction to Linux - A Hands on Guide This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter. For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own. Click Here to receive this Complete Guide absolutely free. Search this Thread 10-24-2004, 12:51 PM #1
files Pages: 1 #1 2014-05-26 04:38:56 m00se Member Registered: 2014-05-26 Posts: 3 [SOLVED] Samba: Can browse shared folders, but can't open files Hi all, I've been using Samba to share some folders from my Arch box over the local network, and have not had any issues until just now. As the title says, I am able to browse (via Samba, both on a different device and from the Arch box itself) the folders being shared as well as see their contents, but trying to open a file fails, as does attempting to create a file in one of the shared folders. Accessing the files from the computer itself directly (not via Samba) works fine.The error given by Thunar when trying to create a file is simply:Failed to create empty file "test file".Invalid argument.Trying to read a file results in the same "invalid argument" error being given by the app that should open the file.I've removed Samba and reinstalled, following the steps on the wiki to get it set up. Still have the issue.Further, I only seem to be able to add shares via the smb.conf file - previously I was able to share folders via Thunar or the net usershare command, but now those also give an error:$ net usershare add tmp /tmp "tmp" everyone:F guest_ok=y net usershare add: cannot convert name "everyone" to a SID. Undetermined error.Any ideas on what could be causing the problems would be greatly appreciated!edit: my smb.conf file:# This is the main Samba configuration file. You should read the # smb.conf(5) manual page in order to understand the options listed # here. Samba has a huge number of configurable options (perhaps too # many!) most of which are not shown in this example # # Any line which starts with a ; (semi-colon) or a # (hash) # is a comment and is ignored. In this example we will use a # # for commentry and a ; for parts of the config file that you # may wish to enable # # NOTE: Whenever you modify this file you should run the command "testparm" # to check that you have not made any basic syntactic errors. # #=======================