- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: ftp permissions on a files
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
07-28-2009 10:08 AM
07-28-2009 10:08 AM
When users ftp a file , the permissions at the moment are -rw-r----- 1 rblab_dd rb 2583 Jul 15 15:15 dd2306092.csv (as an example)
We require -rw-rw-rw- 1 rblab_dd rb 2583 Jul 15 15:15 dd2306092.csv
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-28-2009 10:22 AM
07-28-2009 10:22 AM
Re: ftp permissions on a files
ftp chmod
might reveal something.
Some description of the software on the
systems involved here, and their roles, might
also be interesting,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-28-2009 04:06 PM
07-28-2009 04:06 PM
Re: ftp permissions on a files
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-28-2009 09:35 PM
07-28-2009 09:35 PM
SolutionYou need to set the umask value for ftpd daemon in /etc/inetd.conf like below.
ftp stream tcp nowait root /usr/lbin/ftpd ftpd -l -u 000
After that you will have to re-read the conf file using this command.
#inetd -c
Ganesh.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-28-2009 11:45 PM
07-28-2009 11:45 PM
Re: ftp permissions on a files
Specifically Ganesan R , if I carry out the tasks you advise , will that affect ftp running ? , and also will it affect other users of a different Application that are running ftp ? my gut feeling is it wont cause any major issue ?
Thanks a mill
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-29-2009 02:39 AM
07-29-2009 02:39 AM
Re: ftp permissions on a files
Just an update , I added in the -u 000 to that line in the inetd.conf as you suggessted and ran the
inetd -c. Got the Apps team to re-run the ftp from 2 users (which are in the same group by the way) and have two different results
Hi Dave
Still the same for rblab_dd
-rw-r----- 1 rblab_dd rb 1535339 Jul 29 10:37 ELAINE.DAT
For rbsys it is OK
-rw-rw-rw- 1 rbsys rb 1535339 Jul 29 10:39 ELAINE.DAT
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-29-2009 03:47 AM
07-29-2009 03:47 AM
Re: ftp permissions on a files
I don't know, why it is not working for one user. If you set the umask value of 000 for ftpd daemon, then all the incoming ftp files will be created with 666.
By the way, could you confirm the the umask value for both the users? Just verify though it is not going to make any changes.
Ganesh.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-29-2009 04:38 AM
07-29-2009 04:38 AM
Re: ftp permissions on a files
HTH
UNIX because I majored in cryptology...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-29-2009 05:57 AM
07-29-2009 05:57 AM