- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Write 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
11-12-2002 10:12 AM
11-12-2002 10:12 AM
Write permissions
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-12-2002 10:12 AM
11-12-2002 10:12 AM
Re: Write permissions
/etc/profile
Users .profile
Regards,
John
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-12-2002 10:20 AM
11-12-2002 10:20 AM
Re: Write permissions
What is the umask set to in /etc/profile?
Is it different then what is set up for the user remsh'ing into as?
You may want to source in the .profile prior to running commands, like in the example given in the man pages:
# remsh otherhost . .profile 2>&- \; command
Hope this helps
Chris
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-12-2002 10:21 AM
11-12-2002 10:21 AM
Re: Write permissions
You can check umask on server server3.
Kind regards,
Robert-Jan.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-12-2002 10:31 AM
11-12-2002 10:31 AM
Re: Write permissions
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-12-2002 11:00 AM
11-12-2002 11:00 AM
Re: Write permissions
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-12-2002 11:04 AM
11-12-2002 11:04 AM
Re: Write permissions
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-12-2002 11:25 AM
11-12-2002 11:25 AM
Re: Write permissions
when logged in as each user. Something you may have missed in the description: are you using Xwindows? If so, you may be getting messed up with the no-profile startup that is the default (dumb as it sounds) for CDE environment. The key is that there must be an explicit umask set for the default creation of files. Another thing is the method of creation: are you using vi or touch? Or are you using an Oracle program to create the files?
To simplify, use an explicit telnet session to each server, then touch a file in /var/tmp (there is no such thing as /usr/tmp--it was obsolete 10 years ago and replaced with a temporary symlink, see man tlinstall). Check the results. Then do the same with rlogin. NOTE: this is from Unix to Unix...using Unix commands on a Windows PC throws in some additional uncertainty.
And finally, remsh will always bypass the login profiles so you must explicitly set permissions. rcp requires -p to retain the permissions of the source file at the destination. telnet, remsh, rlogin and remsh are not equivalent commands nor do they inherit the same environment.
Bill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-13-2002 04:21 AM
11-13-2002 04:21 AM
Re: Write permissions
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-13-2002 04:45 AM
11-13-2002 04:45 AM
Re: Write permissions
What are the permissions (umask) of this user when you 1st started the services ?
Jean-Luc
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-13-2002 04:47 AM
11-13-2002 04:47 AM
Re: Write permissions
Also, I'd look to add the umask command to the script that starts the application, rather than relying on .profile. That way you know exactly what the umask setting is and are not relying on the inherited setting.
Regards,
John
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-13-2002 09:21 AM
11-13-2002 09:21 AM
Re: Write permissions
Gerhard
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-14-2002 03:41 AM
11-14-2002 03:41 AM