sudo issue
blind Pete
0123peter at gmail.com
Tue Aug 2 13:00:01 UTC 2016
Ralf Mardorf wrote:
> On Mon, 01 Aug 2016 21:11:14 +1000, Karl Auer wrote:
>>The permissions in force when the wildcard expansion happens are
>>yours, not root's.
>
> Thank you!
>
> Another alternative would be to use a bashism, since e.g.
>
> $ sudo cp -rp /mnt/archlinux/.chuser/.home/.jwm{rc,foo} /tmp/
>
> works.
>
> Regards,
> Ralf
You could probably pass the wild card, rather than what the
wild card expands to (as Ralf), to sudo by escaping it.
$ sudo cp -rp /mnt/archlinux/.chuser/.home/.jwm\* /tmp/
--
blind Pete
Sig goes here...
More information about the ubuntu-users
mailing list