image
image

Go Back   macosx.com > Mac Help Forums > HOWTO & FAQs

Reply
 
Thread Tools
  #33  
Old November 24th, 2002, 01:32 PM
satanicpoptart's Avatar
X
 
Join Date: Jun 2001
Location: Lawrence, KS
Posts: 660
Thanks: 0
Thanked 0 Times in 0 Posts
satanicpoptart is on a distinguished road
i would make a new thread for this question but for some reason i dont have acces...

how do i make files outside of the home directory? i have two hard drives and i want to make all my music available by ftp. my music is all located on the slave drive, how can i access those files on the slaves drive via ftp?
__________________
setup:
dual 500 G4, 768 ram, 30 and 80 gigHD, dvd cdrw, radeon 9000 w/ 19 inch KDS, 17 inch Apple Studio Display
Powerbook g3 "Prismo", 400 mhz, 128 ram 6 gigHD, dvd
AIM-ihatestuf

Reply With Quote
  #34  
Old December 5th, 2002, 07:15 PM
Ebonit's Avatar
Registered User
 
Join Date: Dec 2001
Location: Netherlands
Posts: 42
Thanks: 0
Thanked 0 Times in 0 Posts
Ebonit is on a distinguished road
You do this by making a symbolic link to the drives you want. a symboli link is like an alias but it cannot be seen within the mac interface but it can when you use a browser or from windows.

To make a symbolic link you have to use the terminal.

When you open terminal, the directory you are in is your home directory. that means that when you create a link to another directory/file, that link will sit in you homedir.

type:
ln -s /volumes/yourharddrivename

or... if you have used spaces in the harddirve name:
ln -s "/volumes/your hard drive name" (within perenthesis)

that's it...you have created the link and when you connect through ftp, html or windows to your home directory, you will see the disk you want as a directory.

Now, in terminal, if you give the command
ls -al
you will see all files that sit in your homedir. So you will see the link like this:

Code:
[woodstox:~] eric% ln -s /volumes/data_2
[woodstox:~] eric% ls -al
total 22
...
lrwxr-xr-x   1 eric  unknown     15 Dec  6 00:58 data_2 -> /volumes/data_2
...
(as a matter of fact you will see a lot more lines here but I only show the first three and the line that really matters)
this link will tell you that in this case data_2 links to /volumes/data_2
__________________
500Mhz G4 powerbook "Wallstreet" - MacOS X 10.2.4 + 350Mhz G4 Umax S900 - MacOS X 10.2.4 + 233Mhz iMac - MacOS 9.2.2 + 200Mhz Powermac 4400 Mac OS 8.1 + P4 2.4 Ghz - Windows2000Server & XP pro + 366 Mhz Celeron - Redhat Linux 7.3 pro + 150 Mhz Pentium I - Susu Linux
Reply With Quote
  #35  
Old December 22nd, 2002, 02:32 AM
Registered User
 
Join Date: Nov 2001
Location: Kansas City, MO
Posts: 34
Thanks: 0
Thanked 0 Times in 0 Posts
coolgrafix is on a distinguished road
Problem with this approach

Swizcore mentioned:

"7. Johnny can now access your system via any FTP protocol. But with this setup he only has access to his user directory-which should be fine for most users just wanting to share files."

But this isn't the case. Sure, Johnny will start his FTP session in his home directory, but nothing prevents him from browsing the whole bloody hard drive.

With 10.2.3 using lukemftpd, things have changed a bit. There no longer seems to be a way to trap the user in a directory with the ftpchroot method, as evidence by the meriad of posts in other threads. FYI.
Reply With Quote
  #36  
Old December 22nd, 2002, 10:26 AM
Mac Abuser
 
Join Date: Oct 2002
Location: The Burning Depths of Hell, AZ
Posts: 80
Thanks: 0
Thanked 0 Times in 0 Posts
NickBurns is on a distinguished road
Quote:
Don't know if you got an answer to this already (someplace else), but the way to do that from a browser is:

ftp://username@<ftp address>

where <ftp address:> is the IP address or DN (like ftp.myftpserver.xxx or www.mydomainname.xxx>. The browser should prompt for a password in order to log in. I also think there is a way to include the password in the URL, but forget how to do it exactly.

Robert Templeton
Thanks Robert.....but no go....
Does anyone have a link to a step by step way of doing this???? Im still having problems making this happen......

Thanks again
__________________
"Its Nick Burns, your company's computer guy" -"He'll fix your computer, then he's gonna make fun of you!"
Reply With Quote
  #37  
Old December 22nd, 2002, 11:09 AM
Registered User
 
Join Date: Sep 2002
Location: Parker, Colorado
Posts: 39
Thanks: 0
Thanked 0 Times in 0 Posts
kuroyume is on a distinguished road
That' s the way to do it from a browser:

ftp://username: password@ ftp_address: port/path

username, password, port, path may be excluded. No spaces (just to get around smiley problems)

Check this link:

http://www.cs.tut.fi/~jkorpela/ftpurl.html

If you can't do it, than something is wrong with your browser ftp access, not the semantics.
__________________
Kuroyume's DevelopmentZone
Reply With Quote
  #38  
Old December 22nd, 2002, 01:14 PM
Mac Abuser
 
Join Date: Oct 2002
Location: The Burning Depths of Hell, AZ
Posts: 80
Thanks: 0
Thanked 0 Times in 0 Posts
NickBurns is on a distinguished road
Thanks again Robert....

I checked out that link, helped out alot.
I set my machine up exactly how everyone said to. Now Im gonna go to my buddys house and see if his is the same.....

Thanks again
__________________
"Its Nick Burns, your company's computer guy" -"He'll fix your computer, then he's gonna make fun of you!"
Reply With Quote
  #39  
Old December 23rd, 2002, 05:27 AM
Registered User
 
Join Date: Dec 2002
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
SouthOfHeaven is on a distinguished road
Ok, I think I've followed every instruction. There's a slight problem however… even though I log in as "the other user" (not Admin), I can still see ALL files on my computer, not only the "other users" files. Is it because I'm trying it from my OWN Mac, logged in as Admin or what? I only want the people who logs in to see what I want them to see!!!
Reply With Quote
  #40  
Old December 23rd, 2002, 10:41 AM
~departed~
 
Join Date: Jul 2002
Location: Kansas City, MO
Posts: 457
Thanks: 0
Thanked 0 Times in 0 Posts
gatorparrots is on a distinguished road
chrooting broken in Jaguar

What you want is called chrooting.

You will either have to fix the built-in FTP daemon or replace it altogether in order to obtain that functionality, as it is broken in 10.2.x (unless someone can confirm that it was otherwise fixed with the 10.2.3 update).

http://www.macosx.com/forums/showthr...threadid=25129
http://www.macosx.com/forums/showthr...threadid=12942
http://www.macosx.com/forums/showthr...threadid=22849

Last edited by gatorparrots; December 23rd, 2002 at 10:50 AM.
Reply With Quote
Reply

Thread Tools

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 On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
How can I Setup direct messaging between two OSX Macs Colleen Unix & X11 5 September 15th, 2006 07:58 AM
AFP, FTP user access question for OSX Server Guriboy Design & Media 2 June 17th, 2003 12:00 AM
[HOWTO] - Setup a chroot jail for your FTP users (10.0-10.1.x only) Jadey HOWTO & FAQs 13 December 15th, 2002 02:18 AM
Login mask on OS 9 & UNIX/Linux - How ? Stephan H Mac OS X System & Mac Software 21 May 10th, 2002 12:07 PM
Can a NetInfo Domain be setup w/o OSX Server??? hfastedge Mac OS X System & Mac Software 6 October 1st, 2001 01:25 AM


All times are GMT -5. The time now is 10:30 AM.


Mac Support® Version 3.7.2
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.1.0
Copyright 2000-2008 DigitalCrowd, Inc.