Welcome to the MacNN Forums.

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

You are here: MacNN Forums > Software - Troubleshooting and Discussion > Mac OS X > Can't get to root of hard disk via FTP

Can't get to root of hard disk via FTP
Thread Tools
Mac Elite
Join Date: Sep 2000
Location: New York
Status: Offline
Reply With Quote
Mar 7, 2003, 11:46 PM
 
I have a computer running Mac OS X Server 10.1 and I can't figure out how to get to the root level of the hard disk when connecting via FTP. I have tried connecting using different administrator accounts but regardless I cannot connect cd out of my home directory. I can cd to anywhere via SSH but not with FTP.

When FTPing to my 10.2 computer I have no problem getting anywhere. Does anyone know how to fix this in 10.1 server? Thanks.
     
Addicted to MacNN
Join Date: Sep 2000
Status: Offline
Reply With Quote
Mar 8, 2003, 10:21 AM
 
That's a security feature.

Don't know how to bypass. I think you can do something, but don't know the specifics.
I always use protection when fscking my Mac... Do you?
     
Mac Enthusiast
Join Date: Sep 2000
Location: France
Status: Offline
Reply With Quote
Mar 8, 2003, 01:54 PM
 
There might be a file named ftpchroot in /etc
This file should contain the name of the users on the machine that are restricted to their home folder when FTPing on the machine. Deleting the appropriate names should do the trick.
Note that this is how it works on OS X Client with the default FTP server, so that might not be the case on your configuration.
I hope it helps though...
     
Mac Elite
Join Date: Sep 2000
Location: New York
Status: Offline
Reply With Quote
Mar 8, 2003, 07:11 PM
 
The file doesn't exist. There's an ftpusers file but that says it only lists the users that are denied ftp access. I kind of need ftp access to the webserver directory which is /Library/WebServer/Documents. I guess I could move the directory though.
     
Mac Elite
Join Date: Sep 2000
Location: New York
Status: Offline
Reply With Quote
Mar 10, 2003, 12:33 AM
 
anyone?
     
Mac Elite
Join Date: Oct 2000
Location: Caracas, Bolivarian Republic Of Venezuela
Status: Offline
Reply With Quote
Mar 10, 2003, 01:10 AM
 
Originally posted by waffffffle:
When FTPing to my 10.2 computer I have no problem getting anywhere. Does anyone know how to fix this in 10.1 server?
MacOSXS 10.1 uses a different FTP server; the relevant files are in /Library/FTP.
     
Mac Elite
Join Date: Sep 2000
Location: New York
Status: Offline
Reply With Quote
Mar 11, 2003, 02:21 AM
 
THANK YOU!!!


Now... which document do I modify? Thanks.
     
Mac Elite
Join Date: Sep 2000
Location: Edmond, OK USA
Status: Offline
Reply With Quote
Mar 12, 2003, 01:46 PM
 
Originally posted by waffffffle:
THANK YOU!!!


Now... which document do I modify? Thanks.
I would think that the absolute simplest approach - and one that doesn't modify any system files - would be to simply create a symbolic link in your home directory to the directory tree you are interested in.

That way you don't risk mucking up anything.
     
Mac Elite
Join Date: Sep 2000
Location: New York
Status: Offline
Reply With Quote
Mar 13, 2003, 05:28 AM
 
That was the first thing I tried. I get permission denied when I try to cd out of my home directory.
     
   
Thread Tools
Forum Links
Forum 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 On
Pingbacks are On
Refbacks are On
Top
Privacy Policy
All times are GMT -5. The time now is 07:42 PM.
All contents of these forums © 1995-2011 MacNN. All rights reserved.
Branding + Design: www.gesamtbild.com
vBulletin v.3.8.7 © 2000-2011, Jelsoft Enterprises Ltd., Content Relevant URLs by vBSEO 3.3.2