HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- FTP and permissions
Operating System - HP-UX
1833787
Members
2459
Online
110063
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
Forums
Discussions
Discussions
Discussions
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
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Go to solution
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
05-08-2003 08:12 AM
05-08-2003 08:12 AM
How can I set the permissions that will set all files being ftp'ed into a specific directory to 666. I have tried to set a umask within the .profile but that did not do it. I know that coming from anther UNIX box I can do it on the ftp command line but that is not the case here. Is there some file within the ftp tree that will allow this?
rbarr
Solved! Go to Solution.
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-08-2003 08:22 AM
05-08-2003 08:22 AM
Re: FTP and permissions
Hi Rick:
Have a look at the man pages for 'ftpaccess(4)'.
Regards!
...JRF...
Have a look at the man pages for 'ftpaccess(4)'.
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-08-2003 09:24 AM
05-08-2003 09:24 AM
Solution
hi,
to add to the above reply..
You need to alter the ftp daemon definition, for this you need to change the line in /etc/inetd.conf
from:
[example]
ftp stream tcp nowait root /etc/ftpd ftpd -l
to:
ftp stream tcp nowait root /etc/ftpd ftpd -l -u002
see: http://forums.itrc.hp.com/cm/QuestionAnswer/1,,0xde9d3a1c04ffd61190050090279cd0f9,00.html
for more info.
You .profile settings will NOT affect the FTPD.
hope this helps!
Best Regards
Yogeeraj
to add to the above reply..
You need to alter the ftp daemon definition, for this you need to change the line in /etc/inetd.conf
from:
[example]
ftp stream tcp nowait root /etc/ftpd ftpd -l
to:
ftp stream tcp nowait root /etc/ftpd ftpd -l -u002
see: http://forums.itrc.hp.com/cm/QuestionAnswer/1,,0xde9d3a1c04ffd61190050090279cd0f9,00.html
for more info.
You .profile settings will NOT affect the FTPD.
hope this helps!
Best Regards
Yogeeraj
No person was ever honoured for what he received. Honour has been the reward for what he gave (clavin coolidge)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-08-2003 09:58 AM
05-08-2003 09:58 AM
Re: FTP and permissions
slight elaboration on JRF's post.
in ftpaccess you can set umask, just like you can for file creation from a Unix shell.
You can not however set up files to be executable(if my pea brain molecules are correct).
Also explore chroot() configuration. This makes the default login directly appear to be the root. It prevents ftp users from exploring your system and dropping files all over the place.
SEP
in ftpaccess you can set umask, just like you can for file creation from a Unix shell.
You can not however set up files to be executable(if my pea brain molecules are correct).
Also explore chroot() configuration. This makes the default login directly appear to be the root. It prevents ftp users from exploring your system and dropping files all over the place.
SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
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.
Company
Events and news
Customer resources
© Copyright 2025 Hewlett Packard Enterprise Development LP