LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 05-06-2002, 04:31 PM   #1
andjules
LQ Newbie
 
Registered: May 2002
Distribution: mandrake 8.2
Posts: 14

Rep: Reputation: 0
FTP please help


I'm a real newbie, working with a pretty fresh Mandrake 8.2 install.
I've installed linux because i have clients who want dynamic websites based on php/mysql (or postgres). So, i have this mandrake box (test server) sitting on my network, I want to be able to ftp to it from another (non-server) box on the network, and i'd like my ftp client (on the other machine) to end up looking at the Apache root html directory (whatever you call it - the directory where the server's html files are going to be), so i can dump my files in.
I HAVE NO IDEA where to start. I can login with my main user account ("admin"), this drops me into /home/admin. I can even backtrack in my client to /var/www/html, but i don't have permissions to write.

Where do i can configure this stuff (and what commands or programs do i have to use)?

HELP!!!
and what's the best 'linux for people who want to setup an intranet linux server' book you've read?
 
Old 05-06-2002, 05:18 PM   #2
zmedico
Member
 
Registered: Feb 2002
Location: Mission Viejo, California, USA
Distribution: Gentoo
Posts: 707

Rep: Reputation: 30
Re: FTP please help

Quote:
Originally posted by andjules
I want to be able to ftp to it from another (non-server) box on the network, and i'd like my ftp client (on the other machine) to end up looking at the Apache root html directory (whatever you call it - the directory where the server's html files are going to be), so i can dump my files in.
Sounds like you need to pick an ftp server.
 
Old 05-07-2002, 09:25 AM   #3
andjules
LQ Newbie
 
Registered: May 2002
Distribution: mandrake 8.2
Posts: 14

Original Poster
Rep: Reputation: 0
thanks, but no. proFTPd is up and running, and like I said, I can ftp the machine by logging in with my main user account. WHAT i can't do is a) get access to my web folder (Apache's default html folder), b) log in anonymously, and c) I'm not sure how to create a user, set it's default ftp folder, etc.
 
Old 05-07-2002, 10:04 AM   #4
Mara
Moderator
 
Registered: Feb 2002
Location: Grenoble
Distribution: Debian
Posts: 9,568

Rep: Reputation: 164Reputation: 164
a) In my MDK 7.2 /var/www/html is owned by root, group root. If it's the same in 8.2, you'll need to
* create a new group (for users who will have writing permission to Apache main directory)
* add those users to the group
* change group owning the directory to this newly-created group
* add the group writing permission to the directory
I think you can do this using MDK's nice configuration tools.
b) anymous login? Maybe not anonymous, because you're going to give this user writing prmission to Apache directory...

* edit /etc/ftpaccess
* set guest-root to /var/www/html (so this will be the starting directory)

c) new user
useradd username
OR you can use linuxconf, for example, or SWAT, or Webmin...
Ftp folder seetings are in /etc/ftpaccess
 
Old 05-07-2002, 10:15 AM   #5
andjules
LQ Newbie
 
Registered: May 2002
Distribution: mandrake 8.2
Posts: 14

Original Poster
Rep: Reputation: 0
thanks - i think this'll get me going in the right direction. and you are right anonymous is neither necessary nor appropriate (although it is just a test server on a local network)

i'll repost when i get stuck - joy of newbie.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Ftp(through web site access to ftp server) kelper Linux - Software 4 07-03-2015 06:14 PM
ftp server - Pure ftp - logs in OK but no files visible tp11235 Linux - Networking 2 08-30-2005 06:11 AM
FTP Server Up and running... how do I hide ftp users from local login screen? joe1031 Mandriva 2 03-18-2005 05:24 PM
problem with ftp on mandrake 10.1 Official, ftp speeds system wide (anybody noticed?) equinox Mandriva 15 11-10-2004 03:07 PM
how can I restrict ftp users listing files from a pure-ftp server adrianmak Linux - Networking 2 12-31-2002 09:23 AM


All times are GMT -5. The time now is 10:53 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration