- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- how to give permission to users, group and owers
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
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
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-24-2005 08:02 PM - last edited on 08-24-2014 08:19 PM by Lisa198503
07-24-2005 08:02 PM - last edited on 08-24-2014 08:19 PM by Lisa198503
how to give permission to users, group and owers
Hi all,
i m having hp-ux 11i, can sombody tell me how to give the permission to user,groups and owner
thanks in advance
P.S. This thread has been moved from HP-UX Technical Documentation to HP-UX > sysadmin. -HP Forum Moderator
- Tags:
- Permission
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-24-2005 08:15 PM
07-24-2005 08:15 PM
Re: how to give permission to users, group and owers
chmod u+r
u+r - read permission (4)
u+w - write permission (2)
u+x - execution permission (1)
chmod 700 file will give -rwx------ permission to file.
Like that it will be for group and others.
chmod g+
chmod o+
If you view ls -l
-rw-rw-rw- (666 permission file)
drwxrw-rw- (766 permission directory)
More details, refere, chmod(1) and chmod(2) man pages.
hth.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-24-2005 08:15 PM
07-24-2005 08:15 PM
Re: how to give permission to users, group and owers
The command used to give the permission is chmod.But before that for having a better knowledge about file permission you can verify the attached man page of chmod
Regards
S.Arunkumar
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-24-2005 08:19 PM
07-24-2005 08:19 PM
Re: how to give permission to users, group and owers
You can change file-permissions with chmod:
there are two ways of using it: with symbolic or numeric
example
chmod g+rwx filename
will give read/write/execute to the group,
or use numeric
chmod 775 filename
which will grant read/write/execute to user and group + read/execute to other
each number represent user/group/other
check out the man-page for chmod
Cheers,
Kasper
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-25-2005 02:11 AM
07-25-2005 02:11 AM