- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- FTP file permission.
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Discussions
Forums
Discussions
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
Community
Resources
Forums
Blogs
- 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
07-09-2009 01:29 AM
07-09-2009 01:29 AM
I need to ftp one file from my windows system to HP-UX machine, and how can I set the 777 permission for that file? In ftp prompt ‘ remote site chmod 777
Thanks in Advance,
Davis Paul.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-09-2009 01:33 AM
07-09-2009 01:33 AM
Re: FTP file permission.
At the time of ftping you cannot change the file permission into 777, for that you need to login and use chmod command.
or you can set umask 000 to get the file permisson value 777
Suraj
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-09-2009 02:39 AM
07-09-2009 02:39 AM
Re: FTP file permission.
You need to set/change the umask value in inetd.conf file like below.
ftp stream tcp nowait root /usr/lbin/ftpd ftpd -l -u 000
#inetd -c
But note that, files will get only 666 only directories will get 777
Ganesh.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-09-2009 02:45 AM
07-09-2009 02:45 AM
Re: FTP file permission.
you can set umask value 000 to users profile in HPUX to create files and folders with maximum permission and then logout and login again, but it will also make files with the permission of 666 through normal user login into HPUX server and 640 with ftp from windows.
you have to be change the file permission from HPUX with chmod command according to your requirement.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-09-2009 05:35 AM
07-09-2009 05:35 AM
Re: FTP file permission.
But its not working....Please check the attached output.
Davis
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-09-2009 06:14 AM
07-09-2009 06:14 AM
Re: FTP file permission.
remote site chmod 777
or:
site chmod 777
Is chmod enabled on the server?
man ftpaccess
(Look for "Permission Capabilities".)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-14-2009 11:34 PM
07-14-2009 11:34 PM
Re: FTP file permission.
----------------------------------------------------------------------------
# all the following default to "yes" for everybody
delete no guest,anonymous # delete permission?
overwrite no guest,anonymous # overwrite permission?
rename no guest,anonymous # rename permission?
chmod yes anonymous # chmod permission?
umask yes anonymous # umask permission?
mkd no guest,anonymous,ftpguest
------------------------------------------------------------
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-15-2009 12:31 AM
07-15-2009 12:31 AM
SolutionOn windows you can use the below command to change the umask .
ftp> quote site umask 000
example:-
ftp> quote site umask 222
200 UMASK set to 222 (was 000)
ftp> put profile
200 PORT command successful.
150 Opening ASCII mode data connection for profile.
226 Transfer complete.
ftp: 2605 bytes sent in 0.00Seconds 2605000.00Kbytes/sec.
ftp> bye
221 Goodbye.
Regards,
Aneesh
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-15-2009 03:58 AM
07-15-2009 03:58 AM
Re: FTP file permission.
example:
> I need to ftp one file from my windows
> system to HP-UX machine, [...]
Which system is the FTP client, and which is
the server?
HP-UX version? ("uname -a".)
Are you using anonymous FTP or a real user
name and password?
> chmod yes anonymous # chmod permission?
> umask yes anonymous # umask permission?
These seem to grant chmod and umask
permission to "anonymous" users, but not to
"real" users.
man ftpaccess
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-15-2009 09:10 AM
07-15-2009 09:10 AM
Re: FTP file permission.
666 is almost as bad. It means that every user on the system has the right to destroy and corrupt the data inside the file. Files should be sent to the correct user and assigned proper permissions such as 600 or 640. Allowing anyone except the owner to read or write the file is asking for trouble.
Bill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-19-2009 12:25 AM
07-19-2009 12:25 AM
Re: FTP file permission.
ftp client :- windows machine.
ftp server :-HP-UX machine.
Version:-
HP-UX B.11.31 U ia64 3370267362 unlimited-user license
Using real user and password for ftp file transfer. I have edited the ftp access file as follows:
chmod yes root # chmod permission?
Regards
Davis Paul