|
#33
| ||||
| ||||
| 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 |
|
#34
| ||||
| ||||
| 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 ... 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 |
|
#35
| |||
| |||
| 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. |
|
#36
| |||
| |||
| Quote:
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!" |
|
#37
| |||
| |||
| 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 |
|
#38
| |||
| |||
| 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!" |
|
#39
| |||
| |||
| 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!!! |
|
#40
| |||
| |||
| 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. |
![]() |
| Thread Tools | |
|
|
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 |