- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- User unable to edit file, permissions problem
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-18-2007 06:48 AM
07-18-2007 06:48 AM
A user's home directory is created in another user's home directory and the former is unable to edit it's .profile. Why is that?
And what is this "home/aitest/Ex10871" stuff?
[devbiz][/apps/aitest/Trantest50]: whoami
aitest50
[devbiz][/apps/aitest/Trantest50]: grep aitest /etc/passwd
aitest:ZI9b1tWBRIvHs:1040:20:AI Test User ,,,:/apps/aitest:/usr/bin/ksh
aitest50:GtFhf4C8qlAZY:1041:20:2nd AI Test User,,,:/apps/aitest/Trantest50:/usr/bin/ksh
[devbiz][/apps/aitest/Trantest50]: pwd
/apps/aitest/Trantest50
[devbiz][/apps/aitest/Trantest50]: touch a
[devbiz][/apps/aitest/Trantest50]: vi a
"/home/aitest/Ex10871" Permission denied
[devbiz][/apps/aitest/Trantest50]: ll /apps/aitest
total 20
drwxrwx--x 19 aitest users 3072 Jul 18 14:35 Trantest50
drwxrwxr-x 2 aitest users 96 May 10 10:48 lost+found
-rw-rw---- 1 aitest users 6421 May 31 15:23 vpd.properties
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-18-2007 07:48 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-18-2007 07:51 AM
07-18-2007 07:51 AM
Re: User unable to edit file, permissions problem
I think that the user should be recreated with its own home directory?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-18-2007 08:06 AM
07-18-2007 08:06 AM
Re: User unable to edit file, permissions problem
The 'Ex10871' is a unique filename generated by a call to 'tmpnam()'. You see these files as recovery files from 'vi' sessions in '/var/preserve'. What, exactly, this file is doing in your $HOME directory apparently as a part of a 'vi' session, I'm not sure.
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-18-2007 08:13 AM
07-18-2007 08:13 AM
Re: User unable to edit file, permissions problem
Try changing the permissions of '/apps/aitest' from 771 (drwxrwx--x) to 775 (drwxrwxr-x) and repeat your test.
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-18-2007 09:33 AM
07-18-2007 09:33 AM
Re: User unable to edit file, permissions problem
I am going to abandon this whole structure and create new users in their own directories... thanks for your help anyway.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-18-2007 10:27 AM
07-18-2007 10:27 AM
Re: User unable to edit file, permissions problem
Right. This would happem if TMPDIR was changed from the default /var/tmp/.
For /var/perserve/, I see Exaaa*.