- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- permission
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
10-14-2008 05:26 AM
10-14-2008 05:26 AM
permission
Any help will highly appreciated.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-14-2008 05:33 AM
10-14-2008 05:33 AM
Re: permission
chmod 644 file
regards,
ivan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-14-2008 05:35 AM
10-14-2008 05:35 AM
Re: permission
My Computer /tmp =>chmod 644 abcd
My Computer /tmp =>ls -lrt|grep -i abcd
-rw-r--r-- 1 root sys 0 Oct 14 14:26 abcd
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-14-2008 05:41 AM
10-14-2008 05:41 AM
Re: permission
If your question is how to make a character device, then use 'mknod'. For example:
# umask 022
# mknod /tmp/chardev1 c 64 0x000000
# mknod /tmp/chardev2 c 205 0x000000
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-14-2008 05:46 AM
10-14-2008 05:46 AM
Re: permission
Couly you explain what you trying to do?
It looks you have copied the device file to tmp and trying to change the permission.
You can change the device file permission with chmod but not the type of file(charactor or block).
you need to use mknod command to create the device file either block or raw.
You can even use insf -e to recreate the missing device files
Ganesh.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-14-2008 06:19 AM
10-14-2008 06:19 AM
Re: permission
400 Owner has read permission
200 Owner has write permission
100 Owner has execute permission
040 Group has read permission
020 Group has write permission
010 Group has execute permission
004 Others have read permission
002 Others have write permission
001 Others have execute permission
I found this useful but they are actually simple to memorize.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-14-2008 08:16 PM
10-14-2008 08:16 PM
Re: permission
You can forget about this deprecated octal foolishness: :-)
u+r Owner has read permission
u+w Owner has write permission
u+x Owner has execute permission
g+r Group has read permission
g+w Group has write permission
g+x Group has execute permission
o+r Others have read permission
o+w Others have write permission
o+x Others have execute permission
Besides "+", you can use "-" and "=".