[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: sudo and globbing



On Mon, 2003-02-03 at 08:34, Tim Waugh wrote:

> > I didn't notice anything in man sudo to explain why globbing doesn't
> > work using sudo.  At least in this instance
> 
> Globbing is done by your shell, i.e. before sudo is executed.  The
> shell can't read those files, so you lose.
> 
> Perhaps use: sudo sh -c 'ls /root/inst*'

	That doesn't work either.  FWLIW, I use "sudo mc" what I need to manage
files not owned by me.  :-)

-- 
"It's time to KISS your BOT goodBYYYYYYEEEEEE!!!!!"
                -- Metabee, 'Medabots'





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]