- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Error code2: Access violation when using "put" wit...
Operating System - HP-UX
1748143
Members
3663
Online
108758
Solutions
Forums
Categories
Company
Local Language
юдл
back
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Forums
Discussions
юдл
back
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-06-2006 11:34 AM
тАО12-06-2006 11:34 AM
Error code2: Access violation when using "put" with tftp
I'm trying to "put" a file in the tftpdir using tftp. The directory is wide open but the file does not exist as a default. When I attemp this I get the error "Error code 2: Access violation"
However, when I pre-create and open up the file at the destination using:
> touch junk.filename
> chmod 777 junk.filename
I can successfully write or in this case overwrite the file. Is there somewhere in the inetd.conf file or elsewhere where I can allow "put" to create a file in the tftpdir?
I'm using HP/UX 11.11
Regards.
Jason
However, when I pre-create and open up the file at the destination using:
> touch junk.filename
> chmod 777 junk.filename
I can successfully write or in this case overwrite the file. Is there somewhere in the inetd.conf file or elsewhere where I can allow "put" to create a file in the tftpdir?
I'm using HP/UX 11.11
Regards.
Jason
2 REPLIES 2
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-06-2006 11:45 AM
тАО12-06-2006 11:45 AM
Re: Error code2: Access violation when using "put" with tftp
I don't know, but I doubt it. It's a
general property of TFTP servers to allow a
PUT only to an existing file. With the basic
security limitations of TFTP, this limitation
is supposed to help prevent people from
filling your file system with junk (which
would otherwise be even easier).
If you can allow it, you might be wiser not
to.
"man tftpd"?
[...] Furthermore, tftp
clients can only read files in that directory if they are
readable by the pseudo-user tftp, and tftp clients can only
write files in that directory if they exist and are writable by
the pseudo-user tftp.
general property of TFTP servers to allow a
PUT only to an existing file. With the basic
security limitations of TFTP, this limitation
is supposed to help prevent people from
filling your file system with junk (which
would otherwise be even easier).
If you can allow it, you might be wiser not
to.
"man tftpd"?
[...] Furthermore, tftp
clients can only read files in that directory if they are
readable by the pseudo-user tftp, and tftp clients can only
write files in that directory if they exist and are writable by
the pseudo-user tftp.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-06-2006 08:46 PM
тАО12-06-2006 08:46 PM
Re: Error code2: Access violation when using "put" with tftp
Hi,
and welcome to the forums !
OldSchool's answer in
http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=999726
"If the server is to receive a file, it must already exist and be writeable by the user tftp."
Confirmed in "Common tftp problems"
http://docs.hp.com/en/5991-6548/ch03s05.html
Please also read:
http://forums1.itrc.hp.com/service/forums/helptips.do?#33 on how to reward any useful answers given to your questions.
and welcome to the forums !
OldSchool's answer in
http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=999726
"If the server is to receive a file, it must already exist and be writeable by the user tftp."
Confirmed in "Common tftp problems"
http://docs.hp.com/en/5991-6548/ch03s05.html
Please also read:
http://forums1.itrc.hp.com/service/forums/helptips.do?#33 on how to reward any useful answers given to your questions.
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
News and Events
Support
© Copyright 2024 Hewlett Packard Enterprise Development LP