Ah.  Slight problem folks.  The instructions appear to have reset all 
the files in the music folder so that the owner (diana) and group (root) 
are set to 'list, create/delete, no access' and no file permissions 
(---).  When I try to use nautilus to look at files, they vanish!  Very 
worrying.  A little more help?

--
Diana

Tony Arnold wrote:
> Robert,
> 
> Robert McWilliam wrote:
>> On Thu, 07 Jun 2007 08:45:48 +0100
>> Tony Arnold <[EMAIL PROTECTED]> wrote: 
>>> Try this instead:
>>>
>>> find ~/music -group diana -exec chgrp root {} && chmod 664 {} \;
>>>
>> 
>> That wont work - the shell sees the && and terminates the command there
>> than tries to chmod {}. It might work with a \&\& (I haven't tried it
>> though). 
> 
> Doh! Obvious now you point it out:-)
> 
>>> I'm pretty sure the first \; terminates the whole find command.
>>>
>> 
>> It doesn't I tried it before posting as using && in the one exec was my
>> first thought. 
> 
> Thanks. I never did quite understand why the ; had to be escaped. It all
> makes sense now!
> 
> Regards,
> Tony.


-- 
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-uk
https://wiki.kubuntu.org/UKTeam/

Reply via email to