- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: umask issue!!
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
06-29-2005 01:39 AM
06-29-2005 01:39 AM
umask issue!!
I am facing a problem:
One application is generating some text files and one user is putting these files(via ftp) in a directory.
Files that are placed in this folder are not having the read permission for
"others". The user belongs to "others" and they are not able to read these files.
When the ftp files to this location,
UMASK is set to 027. How can we change the UMASK so that files
placed in this folder should have read access to "others".
Required help on this issue.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-29-2005 01:48 AM
06-29-2005 01:48 AM
Re: umask issue!!
Try changing the umask of the ftp user via its .profile.
or
vi /etc/inetd.conf
ftp stream tcp nowait root /usr/lbin/ftpd ftpd -l
add -u 007 or the umask that you want
ftp stream tcp nowait root /usr/lbin/ftpd ftpd -l -u 007
regards,
Paul
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-29-2005 02:02 AM
06-29-2005 02:02 AM
Re: umask issue!!
As its ftp the .profile will not be exported in this case.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-29-2005 02:08 AM
06-29-2005 02:08 AM
Re: umask issue!!
tail /var/adm/syslog/syslog.log
Bill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-29-2005 02:09 AM
06-29-2005 02:09 AM
Re: umask issue!!
Is the ftp process controlled by ftpaccess or simple ftp. IF it is controlled by ftpaccess, you can change the file permissions over there.
You can also use the umask command at the ftp command level to change the permission of the file ftp'ed after that. The umask will be applicable for that session only.
ftp some_system
umask 022
put some_file
bye
Hope this helps.
Regds
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-29-2005 02:40 AM
06-29-2005 02:40 AM
Re: umask issue!!
Sanjay: There is no ftpaccess file
So, any other suggestions?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-01-2005 01:48 AM
07-01-2005 01:48 AM
Re: umask issue!!
Bill Hassell, sysadmin