- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- giving user 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
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
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
тАО10-10-2006 04:23 AM
тАО10-10-2006 04:23 AM
giving user write permissions
Thanks.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-10-2006 04:25 AM
тАО10-10-2006 04:25 AM
Re: giving user write permissions
chmod 777 /mountpoint
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-10-2006 04:28 AM
тАО10-10-2006 04:28 AM
Re: giving user write permissions
Managing Systems and Workgroups: A Guide for HP-UX System Administrators
http://docs.hp.com/en/B2355-90950/index.html
For your current question, have a look at Chapter 8 - "Administering a System: Managing System Security":
http://docs.hp.com/en/B2355-90950/ch08.html
Specifically the section on "Managing Access to Files and Directories":
http://docs.hp.com/en/B2355-90950/ch08s04.html
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-10-2006 04:31 AM
тАО10-10-2006 04:31 AM
Re: giving user write permissions
'man chmod'for more info
-Uday
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-10-2006 04:31 AM
тАО10-10-2006 04:31 AM
Re: giving user write permissions
You absolutely DO NOT want to EVER do a 'chmod 777'. That command should be outlawed! You need to look closer at permission requirements, specifically group memberships to allow write access!
If you do a chmod 777, then you can never trust anything in that file again! Anyone has the ability to change it or delete it.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-10-2006 04:41 AM
тАО10-10-2006 04:41 AM
Re: giving user write permissions
Bill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-10-2006 07:02 AM
тАО10-10-2006 07:02 AM
Re: giving user write permissions
you should never use 777. Listen to Patrick and Bill.
sp,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-12-2006 03:05 AM
тАО10-12-2006 03:05 AM
Re: giving user write permissions
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-12-2006 03:15 AM
тАО10-12-2006 03:15 AM
Re: giving user write permissions
What are the permissions of the parent directory ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-12-2006 04:42 AM
тАО10-12-2006 04:42 AM
Re: giving user write permissions
When you say "unable to execute", what is the error message? Permission to run a program or script depends on both the file's permissions AND ALL the directories. So the user must be able to perform:
ls /path/somescript
And as you have seen, 777 does *NOT* solve anything. It does however make it very easy to trash the file by anyone on your system. Change the permissions back to 755 and look at the directories. They must be 755 or 775 top down to your script. If this still doesn't work, what is the error message? And more important, what is the file -- is it a script or binary program? If it is a script, is it properly written with the interpreter directive as line 1?
Bill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-12-2006 09:15 AM
тАО10-12-2006 09:15 AM
Re: giving user write permissions
Its kinda tricky!!!!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-12-2006 09:24 AM
тАО10-12-2006 09:24 AM
Re: giving user write permissions
The trick is figuring out exactly what user the application is running as (not the user using the browser) and what permissions are required for that user.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-12-2006 11:44 AM
тАО10-12-2006 11:44 AM
Re: giving user write permissions
Bill Hassell, sysadmin