- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- FTP and file 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
10-22-2001 12:33 AM
10-22-2001 12:33 AM
Please guide.
when i FTP files to my server (k250; HP-UX10.20), the file permissions do not come out well. (775)
For Example, when after i have ftped my file wa100.sql,i get the following:
K250: home/yd>ll wa100*
-rw-r----- 1 yd it 61210 Oct 22 10:25 wa100.sql
I want the 'g' to be 'rw' and the 'o' to be 'r'
On the other hand, when i do a simple file creation operation, it is 100% OK
K250: home/yd>ls -al > test1.txt
K250: home/yd>ls -al test1.txt
-rw-rw-r-- 1 yd it 5851 Oct 22 12:18 test1.txt
K250: home/yd>
Thank you very much for your help and guidance.
Best Regards
Yogeeraj
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-22-2001 12:42 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-22-2001 12:48 AM
10-22-2001 12:48 AM
Re: FTP and file permissions
When you ftp files use the umask command (in ftp) which will reset it before you transfer.
See man ftp
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-22-2001 12:51 AM
10-22-2001 12:51 AM
Re: FTP and file permissions
when creating plain files, the user's umask is used to define file permission.
FTP however uses it's own umask (default = 027). To modify this edit /etc/inetd.conf, add -u parameter for ftpd, and reread inetd.conf file (inetd -c).
see man pages for inetd & ftpd
good luck,
Thierry.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-22-2001 01:35 AM
10-22-2001 01:35 AM
Re: FTP and file permissions
1. put -u
2. inetd -c
3. new ftp session will work with new umask
Later,