[Slackbuilds-users] [PATCH] misc/ibus: merge with new template and add kde4 integration
Grissiom
chaos.proton at gmail.com
Mon Jun 7 06:05:53 UTC 2010
On Sun, Jun 6, 2010 at 11:35 PM, <xgizzmo at slackbuilds.org> wrote:
> cp preserves some file modes this is bad because it depends on the source
> file having correct permissions.
>
> # cp test test3
> [root at slacker:/home/gizzmo/test]
> # ls -l
> total 0
> -rwxrwxrwx 1 root root 0 2010-06-06 10:59 test
> -rwxr-xr-x 1 root root 0 2010-06-06 11:01 test3
>
>
This is correct according to the doc(minus umask which is usually 022). I
admit this is a little bit magic in some condition.
> cp -a preserves ownership and permissions, this is also bad because it
> depends on the source file having the correct ownership and permissions.
> # cp -a test test5
> [root at slacker:/home/gizzmo/test]
> # ls -l
> total 0
> -rwxrwxrwx 1 nobody root 0 2010-06-06 10:59 test
> -rwxrwxrwx 1 nobody root 0 2010-06-06 10:59 test5
>
> cp can be made to work as we need it to but it takes a long list of flags
> and in the end works no better than the simple cat something > somewhere.
Thanks for the detailed explanation. Then I know I should have a look at the
ap -a in my SlackBuilds(template use it to copy docs) ;-)
--
Cheers,
Grissiom
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.slackbuilds.org/pipermail/slackbuilds-users/attachments/20100607/9ae125ad/attachment.htm>
More information about the SlackBuilds-users
mailing list