- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- FTP user with File Creation permissions
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
Forums
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
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
09-29-2003 11:34 PM
09-29-2003 11:34 PM
I create a user with only ftp access.
What I want is the following :
How I can modify the ftpaccess file so I make the user with ftp permission whenever he put any file in the server it is created with the followin permission
Read/Write Read Read --> 022 or -rw-r--r--
I do not know how to use umask in this file !
Kind Regards
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-29-2003 11:36 PM
09-29-2003 11:36 PM
Solution- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-29-2003 11:39 PM
09-29-2003 11:39 PM
Re: FTP user with File Creation permissions
Take a look at next doc,
http://www5.itrc.hp.com/service/cki/docDisplay.do?docLocale=en_US&docId=200000063231675
Hope it helps,
Robert-Jan.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-29-2003 11:41 PM
09-29-2003 11:41 PM
Re: FTP user with File Creation permissions
ie.e. rw-rw-rw-
you can do a
ftp>umask 022
which should put files with the required permission.
If it is for all users change in your /etc/inetd.conf file
ftp stream tcp nowait root /etc/ftpd ftpd -u022
Re-read your /etc/inetd.conf file using
/usr/sbin/inetd -c
Revert
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-30-2003 05:09 AM
09-30-2003 05:09 AM
Re: FTP user with File Creation permissions
http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=207772
Best of luck.
Regards,
dl
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-30-2003 05:20 AM
09-30-2003 05:20 AM
Re: FTP user with File Creation permissions
Edit inetd.conf the line for ftpd from:
ftp stream tcp nowait root /usr/lbin/tcpd /usr/lbin/ftpd -ld
to:
ftp stream tcp nowait root /usr/lbin/tcpd /usr/lbin/ftpd -ld -u 022
Then HUP the inetd process. kill -HUP PID-of-inetd
HTH.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-30-2003 05:40 PM
09-30-2003 05:40 PM
Re: FTP user with File Creation permissions
BIG THANKX TO ALL OF YOU.
It works fine.
Kind Regards