call to lnusertemp failed (temporary directories full ?).Check your installation

Not for nothing, if you try

man intro

or

info intro

you could get something to start with. It is alot to read… but it may save you some headaches. Personally I have trouble settling down to read stuff, but I have reinstalled many times with many OS’s because of it… in part any way.

Good luck!

-a5’

Maybe you did a chmod to /home as well?

Check the permissions:

ls -la /home

They should be rwxr-xr-x.

Do this to fix it:

chown root:root /home
chmod 0755 /home

YEEEEEES that was it!!! Thanks wolfiiii!!! Now it worked, thanks for everything you all!!! :smiley:

On 2013-12-12 14:36, qdsk wrote:

>
> I wanted to connect via ftp my desk computer (OpenSUSE) with my OS X
> laptop, and I saw at the web that it was needed an FTP server that was
> not already installed, so I did everything on the website that I posted

It as simple as running the FTP module in YaST. Maybe you have to
install that module first. I currently can not test it to write here the
details, later.


Cheers / Saludos,

Carlos E. R.
(from 12.3 x86_64 “Dartmouth” at Telcontar)

In fact what Carlos says, I will say it in another way. Do not follow some internet advice untill you are sure that it is applicable to your version of openjSUSE. Note, that none of use has even tried to read that link you gave us. It is waste of time. You better ask here first when you are not 1000% sure you know what you are going to do and why. Setting up an FTP server is such a basic thing that it must be clear to you that it most probably

  • can be done using YaST;
  • many people here can advice you.

And never again jump around your system doing all sorts of permission and owner changes that you can not easily revert because you forgot to take notes on what the original owners and permissions were.

It was my first time really asking for help in this forum and I didn’t know how people in general would react, I’ve been in some dead/useless forums… But now that I really know how you are, I’ll take your advice and ask when I want to do something instead of searching at the web, now that I know what scary things can you do in just one command without knowing… Thanks for all :slight_smile:

On 2013-12-12 22:53, Carlos E. R. wrote:
> On 2013-12-12 14:36, qdsk wrote:
>
>>
>> I wanted to connect via ftp my desk computer (OpenSUSE) with my OS X
>> laptop, and I saw at the web that it was needed an FTP server that was
>> not already installed, so I did everything on the website that I posted
>
> It as simple as running the FTP module in YaST. Maybe you have to
> install that module first. I currently can not test it to write here the
> details, later.

Ok, I can now test the procedure on a virtual machine running 13.1.

First, install this module:

yast2-ftp-server - YaST2 - FTP configuration

Once installed, restart yast, if you used it for install. Choose the
module “FTP server” in the “Network services” section of yast.

You probably get a dialog prompting you to choose an FTP server, from
vsftp or pure-ftp. I choose the first one (default). It automatically
installs it.

Now you see a dialog.

First entry is about choosing when to start up the service - choose
xinetd, unless you are setting up a very busy FTP server, full time, in
which case a daemon might be better.

However, with systemd socket triggering, the difference might be futile.

Choose another section on the left side. It might ask to start xinetd,
accept.

Notice that the default FTP directory for anonymous users is “/srv/ftp”
(general section). You can also set the default umasks, or leave it as
it is (blank). Do not use chroot now, leave it for later if you wish.

The important choice now may be on “authentication”. If you want to
share home, you need “authenticated”. Or leave “both” if you wish.

Don’t forget to open port on firewall on the “expert settings” section.

When happy, just click on accept.

There is also a help button.

Test it:


cer@Telcontar:~> ftp 192.168.74.119
Connected to 192.168.74.119.
500 OOPS: could not bind listening IPv4 socket
ftp>

Ok, bug in configurator. You need:


listen=NO

I put that after the PAM section in “/etc/vsftpd.conf”.

Test it:


cer@Telcontar:~> ftp 192.168.74.119
Connected to 192.168.74.119.
220 Welcome to number four
Name (192.168.74.119:cer): cer
331 Please specify the password.
Password:
230 Login successful.
Remote system type is UNIX.
Using binary mode to transfer files.
ftp> ls
229 Entering Extended Passive Mode (|||30063|).
150 Here comes the directory listing.
drwxr-xr-x    2 1000     100          4096 Oct 19 17:08 Desktop
drwxr-xr-x    2 1000     100          4096 Oct 19 17:08 Documents
drwxr-xr-x    2 1000     100          4096 Oct 19 17:08 Downloads
drwxr-xr-x    2 1000     100          4096 Oct 19 17:08 Music
drwxr-xr-x    2 1000     100          4096 Oct 19 17:08 Pictures
drwxr-xr-x    2 1000     100          4096 Oct 19 17:08 Public
drwxr-xr-x    2 1000     100          4096 Oct 19 17:08 Templates
drwxr-xr-x    2 1000     100          4096 Oct 19 17:08 Videos
drwxr-xr-x    2 1000     100          4096 Oct 22 11:57 bin
-rw-r--r--    1 1000     100             8 Dec 07 23:48
dificultcharsinvmware.txt
drwxr-xr-x    2 1000     100          4096 Oct 19 18:49 public_html
-rw-r--r--    1 1000     100        100000 Oct 21 10:29 sample
226 Directory send OK.
ftp>


That’s my home directory on the virtual machine, so it is working.

Lets try anonymous. First I prepare a file:


Eleanor4:~ # echo "En un lugar de La Mancha" > /srv/ftp/El_Quijote.txt
Eleanor4:~ #

Then I try from “outside”:


cer@Telcontar:~> ftp anonymous@192.168.74.119
Connected to 192.168.74.119.
220 Welcome to number four
331 Please specify the password.
Password:
230 Login successful.
Remote system type is UNIX.
Using binary mode to transfer files.
ftp> ls
229 Entering Extended Passive Mode (|||30048|).
150 Here comes the directory listing.
-rw-r--r--    1 0        0              25 Dec 13 21:17 El_Quijote.txt
226 Directory send OK.
ftp> get El_Quijote.txt
local: El_Quijote.txt remote: El_Quijote.txt
229 Entering Extended Passive Mode (|||30090|).
150 Opening BINARY mode data connection for El_Quijote.txt (25 bytes).
100% |**************************|    25     659.83 KB/s    00:00 ETA
226 Transfer complete.
25 bytes received in 00:00 (90.75 KB/s)
ftp>
ftp> bye
221 Goodbye.
cer@Telcontar:~> cat El_Quijote.txt
En un lugar de La Mancha
cer@Telcontar:~>


Cheers / Saludos,

Carlos E. R.
(from 12.3 x86_64 “Dartmouth” at Telcontar)

Many many thanks for this step by step manual, it has been really useful :smiley: Now I have the ftp server perfectly working and I have some way of configuring it, not as the other way :slight_smile: Sorry for answering this late :S

On 2013-12-17 21:36, qdsk wrote:

> Many many thanks for this step by step manual, it has been really useful
> :smiley: Now I have the ftp server perfectly working and I have some way of
> configuring it, not as the other way :slight_smile: Sorry for answering this late :S

Welcome! :slight_smile:


Cheers / Saludos,

Carlos E. R.
(from 12.3 x86_64 “Dartmouth” at Telcontar)