HEADS UP: Important bug fix in ZFS replay code!

Matthias Andree matthias.andree at gmx.de
Thu Nov 12 17:53:28 UTC 2009


Am 12.11.2009, 15:23 Uhr, schrieb Tom Evans <tevans.uk at googlemail.com>:

>> So how about these refinements:
>>
>> find / -perm -7777 -exec ls -ldb '{}' +
>> find / -perm -7777 -ls (not sure what that does with escapes)
>>
>>
>>  You can locate and fix such files with the following command:
>>>
>>>        # find / -perm -7777 -print0 | xargs -0 chmod a-s,o-w,-t
>>>
>>
>> find / -perm -7777 -exec chmod a-s,o-w,-t '{}' +
>>
>> --
>> Matthias Andree
>>
>>
>> -exec causes a fork()/exec() for each file found doesn't it? xargs  
>> would be
> more efficient (since we're bikeshedding :)

That's the subtle difference between "+" and "\;" at the end if using '{}'  
:)

-- 
Matthias Andree


More information about the freebsd-fs mailing list