image
image

Go Back   macosx.com > Mac Help Forums > Mac OS X System & Mac Software

Reply
 
Thread Tools
  #1  
Old November 29th, 2001, 09:06 AM
Registered User
 
Join Date: Nov 2001
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
jechter is on a distinguished road
anonymous ftp access restrictions

i have set up an anonymous ftp server on my mac to share some of my files to the public. i have created an ftp user, set up an ftp directory with the required subdirectories, etc. all the files in the ftp directory belong to myself. i had set up the files and subdirectories in the ~ftp/pub directory as rwxr-xr-x, assuming that anonymous ftp users would not be able to change anything here. however i was just made aware of the fact that anyone had full write access to my pub directory. i had to change the pub directory to r-xr-xr-x - so i can no longer change anything in the finder! why is this? any suggestions for a setup to let others access my files read-only, while still giving me full read/write access?

thanks in advance,

jonas
Reply With Quote
  #2  
Old December 3rd, 2001, 10:54 PM
Nalmar's Avatar
Registered User
 
Join Date: Oct 2001
Location: Montréal
Posts: 18
Thanks: 0
Thanked 0 Times in 0 Posts
Nalmar is on a distinguished road
What you wrote there in very similar to my setup any it work perfectly for me. Are you sure your pub directory is owned by you and not ftp ? ( ls -l in terminal in the /Users/ftp folder ) and that only the owner has full rights ?

go to /User folder
chown -R [youruser] ftp
chmod -R 755 ftp

after that, if your anonymous user still have write access somewhere, something is definetly wrong.
Reply With Quote
  #3  
Old December 4th, 2001, 02:37 AM
Registered User
 
Join Date: Nov 2001
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
jechter is on a distinguished road
problem solved

the problem was that the user ftp had the same uid than myself. (i created the user in netinfo by copying my user, and modifying the necessary fields. obviously i forgot about the uid field).

jonas
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
AFP, FTP user access question for OSX Server Guriboy Design & Media 2 June 17th, 2003 12:00 AM
[HOWTO] - Setup FTP access on your OSX machine. swizcore HOWTO & FAQs 43 February 8th, 2003 09:33 AM
enabling anonymous ftp [tutorial] vertigo Mac OS X System & Mac Software 2 July 28th, 2001 01:20 AM
ftp user access (restrictions)??? bolindilly Mac OS X System & Mac Software 6 December 22nd, 2000 12:35 PM
ftp user access (restrictions)??? bolindilly Apple News, Rumors & Discussion 1 December 21st, 2000 12:18 PM


All times are GMT -5. The time now is 02:01 PM.


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.