Hi Sir,
can you please help me on similar issue.
I created a file from root with below permission:
lrwxrwxrwx 1 root pdx 43 Sep 11 05:23 abc
the did cmod like below:
chmod (06551, abc);
I used tar cf command to tar it:
but while doing untar on diff machine having root machine,I am getting below ownership:
-r-sr-s–x 1 2276 pdx 1443135 Sep 11 14:54 abc
please help me why i am getting 2276 instead of root,kindly help me on the same.
Thanks-
Akshay
Please give me your inputs,wat option i should use while doing zip so that on other root machine,i will get userid as root not 2276.
thanks in advance-
Akshay
Use the options --preserve and --same-owner while extracting.
is there any option which I can use while zipping so that while extracting i can use normal command for root as well as not root.
Thanks in advance-
Akshay
did some possible options but no luck 
akshay52144 wrote:
> Hi Sir,
>
> can you please help me on similar issue.
> I created a file from root with below permission:
> lrwxrwxrwx 1 root pdx 43 Sep 11 05:23 abc
> the did cmod like below:
> chmod (06551, abc);
> I used tar cf command to tar it:
> but while doing untar on diff machine having root machine,I am getting
> below ownership:
> -r-sr-s–x 1 2276 pdx 1443135 Sep 11 14:54 abc
>
> please help me why i am getting 2276 instead of root,kindly help me on
> the same.
> Thanks-
> Akshay
Again, you are using a symbolic link and its properties will not be
reflected when tar copies it. Read up about symbolic links and about tar.
Hi,
Issue solve while using -o option while extraction.
Thanks-
Akshay