LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 10-05-2012, 06:47 AM   #1
isourabh.wadhwa
LQ Newbie
 
Registered: Jul 2010
Posts: 21

Rep: Reputation: 0
is this really unusual or it happens everytime ?


I have a Filesystem shared to two linux servers.

server1 > Red Hat Linux Advanced Server release 2.1AS (Pensacola)
server2 > Red Hat Enterprise Linux Server release 5.7 (Tikanga)

whenver we create a file in server 1 and change ownership to oracle:dba
uid=600(oracle)
gid=110(dba)

on server2 we see ownership as 600:110.

What could be the problem? I know its showing uid and gid of oracle and dba from server1, do we really have to make the passwd and group file in sync to overcome this or there is any other way to bypass this situation?


I'll give you one more example:
my uid on server1 is 967 and on server2 its 1123. and 967 on server2 belongs to a "jesse" when i do
Code:
chown my_id:my_id filenameon server1
it shows ownership of jesse on server2
 
Old 10-05-2012, 06:49 AM   #2
pan64
LQ Guru
 
Registered: Mar 2012
Location: Hungary
Distribution: debian/ubuntu/suse ...
Posts: 9,172

Rep: Reputation: 2672Reputation: 2672Reputation: 2672Reputation: 2672Reputation: 2672Reputation: 2672Reputation: 2672Reputation: 2672Reputation: 2672Reputation: 2672Reputation: 2672
probably you have configured local users and groups and oracle:dba defined only on the server1 (therefore it could not be recognized by server2)
 
1 members found this post helpful.
Old 10-05-2012, 07:23 AM   #3
isourabh.wadhwa
LQ Newbie
 
Registered: Jul 2010
Posts: 21

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by pan64 View Post
probably you have configured local users and groups and oracle:dba defined only on the server1 (therefore it could not be recognized by server2)


My point is if "Řid" of "dba" is 600 on server1 and on server2 "600" is uid of "me", it'll show that the file is owned by "me" when checked from server2 but I want it should reamain "dba" whose "uid" on server2 is something else, say "601".
 
Old 10-05-2012, 07:42 AM   #4
TobiSGD
Moderator
 
Registered: Dec 2009
Location: Germany
Distribution: Whatever fits the task best
Posts: 17,133
Blog Entries: 2

Rep: Reputation: 4836Reputation: 4836Reputation: 4836Reputation: 4836Reputation: 4836Reputation: 4836Reputation: 4836Reputation: 4836Reputation: 4836Reputation: 4836Reputation: 4836
Not possible. If you want it to show the correct ownership you have to use the same UID and GID on both systems for the same user/group.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
mounting everytime kangaro Linux - Software 3 02-16-2007 09:36 AM
Ktorrent crashing EVERYTIME rahilrai Linux - Software 3 03-16-2006 07:00 AM
Have to install everytime to come to X. c3nturion Linux - Hardware 2 02-02-2005 12:30 AM
Set up everytime? St4ckHOu5e Linux - Wireless Networking 8 01-20-2005 05:42 PM
Why do 'insmod' everytime? chem1 Linux - Hardware 3 02-23-2004 01:26 PM


All times are GMT -5. The time now is 12:55 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration