- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- problem with "chatr"?
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
05-06-2003 10:55 PM
05-06-2003 10:55 PM
problem with "chatr"?
chatr(error): cannot open file for writing
Why?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-06-2003 11:54 PM
05-06-2003 11:54 PM
Re: problem with "chatr"?
If you do a man on chatr it will explain you quiet some, you even need a lot of time :)
In fact it's the same as "chmod". I don't know why you are calling chatr directly.
Just use chmod 777 /path/to/file
or other options to change permissions.
-------
The reason because of the error is in this case mostly that the directory is not writeable by you. When you do an ls there is nothing more done then a kind of cat from the directory, so the directory is a file. When changing filepermissions you therefor edit the (directory)file. check this using : ls -lad /path/to/dir/
This on it's turn you could change by a chown or again the "chmod xxx /path/to/dir/"
For any more questions please let us know.
Regs David
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-07-2003 12:10 AM
05-07-2003 12:10 AM
Re: problem with "chatr"?
see this link, may help u.
http://forums.itrc.hp.com/cm/QuestionAnswer/1,,0x60d891ccb36bd611abdb0090277a778c,00.html
Regards
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-07-2003 03:00 AM
05-07-2003 03:00 AM
Re: problem with "chatr"?
Note that chatr is *not* the same as chmod.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-07-2003 03:21 AM
05-07-2003 03:21 AM
Re: problem with "chatr"?
You are right, chatr does more. As he stated he tried to change a program's attribute I mentioned it this way.
Thanks for setting things straight.
Regs David