- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Simple one - 65534 Owner Id's
Operating System - HP-UX
1753285
Members
5414
Online
108792
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
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
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
тАО12-14-2004 07:50 PM
тАО12-14-2004 07:50 PM
When root creates a file in a mounted directory, the ownership is set to 65534 ( not root )...
I'm sure there's a simple fix?
Thanks in advance.
Russ
I'm sure there's a simple fix?
Thanks in advance.
Russ
Russ
Solved! Go to Solution.
2 REPLIES 2
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-14-2004 07:58 PM
тАО12-14-2004 07:58 PM
Solution
Hi Russ,
That should be an NFS mounted directory. You have to export the NFS mount with ' root' option otherwise root users will be treated as 'unknown' or nobodies. If you don't have a 'nobody' use on the system, then the files will get created using the id 65534.
-Sri
That should be an NFS mounted directory. You have to export the NFS mount with ' root' option otherwise root users will be treated as 'unknown' or nobodies. If you don't have a 'nobody' use on the system, then the files will get created using the id 65534.
-Sri
You may be disappointed if you fail, but you are doomed if you don't try
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-15-2004 02:39 AM
тАО12-15-2004 02:39 AM
Re: Simple one - 65534 Owner Id's
Well, that's the answer but it isn't the whole answer. The conventional NFS anonymous/nobody UID is actually -2 --- but's that's 65534.
65534 is the twos-complement of -2 expressed as a 16-bit number. To represent negative numbers, you first make the ones-complement (flip even bit in the value expressed as a postitive number). You then add 1 to this value to get the twos-complement.
In our case we want -2 so we first express 2 as a binary 16-bit number.
0000000000000010 = 2
Now the ones-complement (flip every bit)
1111111111111101
Now the twos-complement by adding 1
1111111111111110 = 65534
And now you know the rest of the story.
65534 is the twos-complement of -2 expressed as a 16-bit number. To represent negative numbers, you first make the ones-complement (flip even bit in the value expressed as a postitive number). You then add 1 to this value to get the twos-complement.
In our case we want -2 so we first express 2 as a binary 16-bit number.
0000000000000010 = 2
Now the ones-complement (flip every bit)
1111111111111101
Now the twos-complement by adding 1
1111111111111110 = 65534
And now you know the rest of the story.
If it ain't broke, I can fix that.
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.
News and Events
Support
© Copyright 2024 Hewlett Packard Enterprise Development LP