Operating System - HP-UX
1823113
Members
3288
Online
109646
Solutions
Forums
Categories
Company
Local Language
юдл
back
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
юдл
back
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
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Go to solution
Topic Options
- 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
тАО04-27-2007 11:52 AM
тАО04-27-2007 11:52 AM
how to check following mentioned permission in oracle
check for the permissions of the /tmp and /var/tmp directories.
They should be 6777.
check for the permissions of the /tmp and /var/tmp directories.
They should be 6777.
Solved! Go to Solution.
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-27-2007 12:04 PM
тАО04-27-2007 12:04 PM
Re: oracle
Hi:
Well, for 6777 your directory would look like:
# ls -ld /tmp
drwsrwsrwx
That is, the setuid bit is on (4000) as is the setgid bit (2000) and read/write/execute permissions for the owner, group and world (777).
Normally the '/tmp' and '/var/tmp' directory permissions are set as 1777; that is with the sticky-bit on to allow only the owner of a file to delete it.
Regards!
...JRF...
Regards!
...JRF...
Well, for 6777 your directory would look like:
# ls -ld /tmp
drwsrwsrwx
That is, the setuid bit is on (4000) as is the setgid bit (2000) and read/write/execute permissions for the owner, group and world (777).
Normally the '/tmp' and '/var/tmp' directory permissions are set as 1777; that is with the sticky-bit on to allow only the owner of a file to delete it.
Regards!
...JRF...
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-27-2007 12:22 PM
тАО04-27-2007 12:22 PM
Re: oracle
cd /tmp
ls -la
Look for an 's' where the user 'x' bit is normally found (setuid bit, 4000) and another 's' in the group 'x' position (setgid bit, 2000).
ls -la
Look for an 's' where the user 'x' bit is normally found (setuid bit, 4000) and another 's' in the group 'x' position (setgid bit, 2000).
If it ain't broke, I can fix that.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-27-2007 05:19 PM
тАО04-27-2007 05:19 PM
Solution
hi vilas,
6777 is a 4-digit Octal notation method for representing Unix permissions.
With 3-digit octal notation, each numeral represents a different component of the permission set: user class, group class, and "others" class respectively.
Each of these digits is the sum of its component bits. As a result, specific bits add to the sum as it is represented by a numeral:
The read bit adds 4 to its total,
The write bit adds 2 to its total, and
The execute bit adds 1 to its total.
These values never produce ambiguous combinations; each sum represents a specific set of permissions.
Below a few examples of the Symbolic notation in octal notation:
"-rwxr-xr-x" would be represented as 755 in 3-digit octal.
"-rw-rw-r--" would be represented as 664 in 3-digit octal.
"-r-x------" would be represented as 500 in 3-digit octal.
Coming back to 6777, this is a 4-digit form of octal notation. In this scheme, the standard 3-digits described above becomes the last 3 digits. The 1st digit represents the additional permissions. On some systems, this 1st digit cannot be omitted - the 1st digit is then 0.
e.g. 0777
This 1st digit is also the sum of component bits:
The setuid bit adds 4 to the total,
The setgid bit adds 2 to the total, and
The sticky bit adds 1 to the total.
E.g. "-rwsr-Sr-x" would be represented as 6745 in 4-digit octal.
hope this helps!
kind regards
yogeeraj
6777 is a 4-digit Octal notation method for representing Unix permissions.
With 3-digit octal notation, each numeral represents a different component of the permission set: user class, group class, and "others" class respectively.
Each of these digits is the sum of its component bits. As a result, specific bits add to the sum as it is represented by a numeral:
The read bit adds 4 to its total,
The write bit adds 2 to its total, and
The execute bit adds 1 to its total.
These values never produce ambiguous combinations; each sum represents a specific set of permissions.
Below a few examples of the Symbolic notation in octal notation:
"-rwxr-xr-x" would be represented as 755 in 3-digit octal.
"-rw-rw-r--" would be represented as 664 in 3-digit octal.
"-r-x------" would be represented as 500 in 3-digit octal.
Coming back to 6777, this is a 4-digit form of octal notation. In this scheme, the standard 3-digits described above becomes the last 3 digits. The 1st digit represents the additional permissions. On some systems, this 1st digit cannot be omitted - the 1st digit is then 0.
e.g. 0777
This 1st digit is also the sum of component bits:
The setuid bit adds 4 to the total,
The setgid bit adds 2 to the total, and
The sticky bit adds 1 to the total.
E.g. "-rwsr-Sr-x" would be represented as 6745 in 4-digit octal.
hope this helps!
kind regards
yogeeraj
No person was ever honoured for what he received. Honour has been the reward for what he gave (clavin coolidge)
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
Company
Learn About
News and Events
Support
© Copyright 2025 Hewlett Packard Enterprise Development LP