AW: AW: AW: [Kolab-devel] Re: kolab_bootstrap -b fails on Solaris 8Sparc

ComCept Net GmbH Soliva soliva at comcept.ch
Wed Oct 5 21:34:26 CEST 2005


Hi 

Mmmhhh the symbolic links would not be copied it means an example for better
understanding:

If in a directory would exists:

/opt/directory1-2-3-4

And to this directory a link

/opt/directory  -> /opt/directory1-2-3-4

And now I would give a copy command like:

 cp -Rp /opt/directory* /ohterlocation/

It would copy the stuff but after looking to the /otherlocation dir I would
see two directorys:

 /opt/directory
 /opt/directory1-2-3-4

And the dir /opt/directory which should be a symbolic link is not anymore a
symbolic link it is now a real directory!

Andrea

-----Ursprüngliche Nachricht-----
Von: kolab-devel-bounces at kolab.org [mailto:kolab-devel-bounces at kolab.org] Im
Auftrag von Bernhard Reiter
Gesendet: Mittwoch, 5. Oktober 2005 20:50
An: kolab-devel at kolab.org
Betreff: Re: AW: AW: [Kolab-devel] Re: kolab_bootstrap -b fails on Solaris
8Sparc

Am Mittwoch, 5. Oktober 2005 18:30 schrieb ComCept Net GmbH Soliva:
> The issue about ps aux (-elf) is done it means this is not anymore a
> problem also because I saw that in the next release the command will be
> posix like!

Good.
>
> The case with cp -pRP seems to me not really posix like it means I do not
> know where it can be loked at it but what I can say is that on Solaris a
cp
> -pRP does not exist it means:
>
> User Commands                                               cp(1)
>
> NAME
>      cp - copy files

> The option -P does not exists on Solaris 8 see also
> http://bama.ua.edu/cgi-bin/man-cgi (enter under "Set comamnd name" the
> required command and on the fly you will see the man pages).
>
> I would not say that Solaris is overall posix but this command cp is under
> normal circumstances and under Solaris posix like?

I cited my copy of the standard so it might be that your version of Solaris 
is not fully posix compatible?  
Can you try if your "cp -Rp" will copy symbolic links?
If so, you could leave the "-P" out.

> The other stuff I would test in the next days...coming back with the
> results!

Great!

_______________________________________________
Kolab-devel mailing list
Kolab-devel at kolab.org
https://kolab.org/mailman/listinfo/kolab-devel




More information about the devel mailing list