 |
 |
Can't get to root of hard disk via FTP
|
 |
|
 |
|
Mac Elite
Join Date: Sep 2000
Location: New York
Status:
Offline
|
|
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
|
|
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
|
|
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
|
|
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
|
|
|
|
|
|
| |
|
|
|
 |
|
 |
|
Mac Elite
Join Date: Oct 2000
Location: Caracas, Bolivarian Republic Of Venezuela
Status:
Offline
|
|
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
|
|
THANK YOU!!!
Now... which document do I modify? Thanks.
|
|
|
| |
|
|
|
 |
|
 |
|
Mac Elite
Join Date: Sep 2000
Location: Edmond, OK USA
Status:
Offline
|
|
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
|
|
That was the first thing I tried. I get permission denied when I try to cd out of my home directory.
|
|
|
| |
|
|
|
 |
 |
|
 |
|
|
|
|
|

|
|
 |
Forum Rules
|
 |
 |
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
|
HTML code is Off
|
|
|
|
|
|
 |
 |
 |
 |
|
 |