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

Re: Ownership of external usb hard drive



On Thu, Dec 22, 2011 at 01:50:57AM GMT, Ashton Fagg wrote:
> On 22/12/11 11:39, Sharon Kimble wrote:
> >As the drive is owned by root should it be run as sudo?
> 
> Yes, or as root (su -c 'chown blah blah').

What's the point of running "su" as root?
Your example will only change user "blah" permissions for "blah"
file/directory. Example above is better as it changes the permissions
recursively and group ones as well.

Regards,
-- 
Raf


Reply to: