image
image

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

Reply
 
Thread Tools
  #1  
Old July 11th, 2001, 03:09 AM
Possibly Oblivious
 
Join Date: May 2001
Posts: 9
Thanks: 0
Thanked 0 Times in 0 Posts
ickyshuffle is on a distinguished road
TFTP permissions

Hi again.

Same thing as the previous post ... I was posting to the wrong group (I hope).

We use an AIX machine at work for our TFTP server for our switch/router configs and system images.

I tried to set up TFTP on my OS X machine but I am getting a connection error.

I have:
/tftpboot - Permissions=777
touched the file I want to upload and given it 755 permissions.

Again, TIA.
Reply With Quote
  #2  
Old July 11th, 2001, 09:48 AM
Klink's Avatar
Member
 
Join Date: Apr 2001
Location: nyc
Posts: 631
Thanks: 0
Thanked 0 Times in 0 Posts
Klink is on a distinguished road
If your trying to use OS X's built in ftp daemon your beating a dead horse. tftp is a different animal yet of the same species. tftp does not use user authentications and directory visibility as does ftp. The connection mechanism is different as well, where ftp uses tcp ports 20 and 21, tftp uses upd port 69.
If you wanted to make this fly on OS X you would need to install and configure a tftp daemon. Unfortunately I can't help you much there. Perhaps some one else on this site can shed some light.
Reply With Quote
  #3  
Old July 11th, 2001, 10:54 AM
Possibly Oblivious
 
Join Date: May 2001
Posts: 9
Thanks: 0
Thanked 0 Times in 0 Posts
ickyshuffle is on a distinguished road
I should have put this in the original post:

I have un-commented out the tftp daemon and restarted inetd. Then, when I try to upload a configuration to the OS X machine, I get a connection error message.

ONE TIME... I was able to tftp to my laptop when I was directly connected to the switch.
Reply With Quote
  #4  
Old July 11th, 2001, 12:22 PM
Klink's Avatar
Member
 
Join Date: Apr 2001
Location: nyc
Posts: 631
Thanks: 0
Thanked 0 Times in 0 Posts
Klink is on a distinguished road
Just got wind of your previous posts. I was surprised to see OS X had a tftpd, as well as some other goodies. Hoo hoo!

Back to your dilema.
-Your problem with access on a different subnet might be as simple (or complicated) as your subnets not being routed to eachother, if this is an issue anymore.
-Seems like your permissions are OK; 777 for /tftpboot, 666 for the touch file? (or is it 755 now). Perhaps for downloading images a 777 might be appropriate depending on what your device calls for and is doing with the newly downloaded image.
-Your inetd.conf.... I got this config from Cisco for the SunOS. Might be pertinent and worth a try. The -s option will chroot your /tftpboot directory so the remote host is not expected to pass the directory as part of the file name to transfer. I can't find any info on the -p option.

#
# Internet server configuration database
#
tftp dgram udp wait root /usr/libexec/tcpd tftpd -p -s /tftpboot
#

Hope this help.

Last edited by Klink; July 11th, 2001 at 12:33 PM.
Reply With Quote
  #5  
Old July 27th, 2001, 04:59 PM
Registered User
 
Join Date: Jul 2001
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
grant is on a distinguished road
tftpd mac os X ?broken?

I just did the same thing, but it appears that the tftpd in Mac os x is broken, or would somebody please clarify how to get write permissions. I set it up in a folder with perms 777 and touched the destination file, and gave it perms of 777 and even tried to write connecting through the loopback on the same box and no luck. Also, the tftp daemon is not the same as the one which shipped with the man page as it does not recognize the -s option, but it will chroot into a path provided as an argument (I know this, as I can copy files in the tftp directory down to other boxes, just can't copy a file to it).

Does changing this daemon to one that works correctly break netboot? I really don't have time to mess around with this one right now.

I would like to know though as my new employer is adverse to me bringing in my own laptop to tftp the switch configs to.

Thanks
G.
Reply With Quote
  #6  
Old July 27th, 2001, 06:33 PM
Registered User
 
Join Date: Jun 2001
Posts: 204
Thanks: 0
Thanked 0 Times in 0 Posts
howardm4 is on a distinguished road
tftp works fine under OSX. It's just a bit funky.

If your going to put a file onto the server, it has to already exist
there and have world write permissions (as does the /private/tftpboot subdir).

The funky thing is that you have to specify the absolute filepath
of the destination.

So, the put command looks like:

put foo.bar /private/tftpboot/foo.bar

Otherwise, you get an access violation.
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
Weird permissions between users...w e i r d ksignorini Unix & X11 3 November 16th, 2003 12:06 AM
Finder not "allowed" to change permissions anymore! SupaScoopa Mac OS X System & Mac Software 1 December 4th, 2002 04:30 AM
UNIX related things... (tr, cut, awk, and permissions) simX Apple News, Rumors & Discussion 5 December 19th, 2001 03:33 AM
os9 drive permissions CubiX Mac OS X System & Mac Software 0 August 14th, 2001 12:20 PM
File permissions and the drop box. ericmurphy Apple News, Rumors & Discussion 2 July 3rd, 2001 09:55 AM


All times are GMT -5. The time now is 12:49 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.