[Slackbuilds-users] [PATCH] misc/ibus: merge with new template and add kde4 integration

Grissiom chaos.proton at gmail.com
Sun Jun 6 14:34:48 UTC 2010


On Sun, Jun 6, 2010 at 1:49 PM, JK Wood <joshuakwood at gmail.com> wrote:
>
> Permissions.  cp can misbehave where cat won't.
>
>
Hmm, could you give concrete examples? In `info coreutils 'cp invocation'`:

     In the absence of this option, each destination file is created
     with the mode bits of the corresponding source file, minus the
     bits set in the umask and minus the set-user-ID and set-group-ID
     bits.  *Note File permissions::.

AFAIK, cat + > will create a file in "default mode", which is masked by
umask. Originally, umask is set to 022. But who knows what would happen
after the system run for years? ;-)

IMHO, cp will preserve file modes in some degree while cp + > will create
files in "default mode". Feel free to correct me if I have something wrong.

-- 
Cheers,
Grissiom
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.slackbuilds.org/pipermail/slackbuilds-users/attachments/20100606/4f55dde7/attachment-0001.htm>


More information about the SlackBuilds-users mailing list