LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   uid (https://www.linuxquestions.org/questions/linux-general-1/uid-806233/)

dnaqvi 05-06-2010 12:28 AM

uid
 
Hello All,

OS: Linux

Our goal is to copy the files from one server to other server without using FTP or SFTP.

Our developemnet team will place the file onto the following directory path of test server 1.


/home/abc/newdata

abc is also the user.
uid of abc is 1006.

For copying the file we setup the mount point in test server 1 as
mount IP Address /home/abc/newdata /mnt/newdata

we mounted following path to the rest of the servers (8 servers).
Now /mnt/newdata is available in all servers.
Our script can copy from /mnt/newdata to the /opt/IBM/WebSphere/ directory path of each server.

On all otehr servers we do not have user abc.
But one of the user (d2490) has same uid 1006 as abc.
Is it ok to use user d2490 to copy the file?
Is it ok to have user in other server has same uid as user on other server?
In this situation our dev team putting files under /home/abc/newdata on test server1.

From where we copy the files onto /opt/IBM/WebSphere/ of all server including test server1.

Thanks

kbp 05-06-2010 01:30 AM

The uid's across servers are irrelevant, all you need to worry about are the file permissions. If you ensure the files are created readable for everyone then you can copy them to /opt/IBM/WebSphere/ using the account that Websphere is running under and save yourself having to chown them after.

cheers


All times are GMT -5. The time now is 03:05 PM.