Re: [Dorset] dorset Digest, Vol 359, Issue 4
On 18/11/10 12:00, dorset-requ...@mailman.lug.org.uk wrote: The command I put in was rm -rf ~/ .shotwell/Examples You are not alone, we had a UNIX administrator do a; chown -R .* username Only to discover that it had changed all the above directories and then down. Whereas they should have typed; chown -R .[a-z]* username The saying comes to mind, measure twice, cut once. Brian M. -- Next meeting: Somewhere quiet, Bournemouth, ???day 2010-12-?? 20:00 Meets, Mailing list, IRC, LinkedIn, ... http://dorset.lug.org.uk/ How to Report Bugs Effectively: http://goo.gl/4Xue
Re: [Dorset] dorset Digest, Vol 359, Issue 4
I still do that chown command when necessary but only as a normal user. On 18 Nov 2010 17:02, Brian R Masterman b...@seahues.net wrote: On 18/11/10 12:00, dorset-requ...@mailman.lug.org.uk wrote: The command I put in was rm -rf ~/ .shotwell/Examples You are not alone, we had a UNIX administrator do a; chown -R .* username Only to discover that it had changed all the above directories and then down. Whereas they should have typed; chown -R .[a-z]* username The saying comes to mind, measure twice, cut once. Brian M. -- Next meeting: Somewhere quiet, Bournemouth, ???day 2010-12-?? 20:00 Meets, Mailing list, IRC, LinkedIn, ... http://dorset.lug.org.uk/ How to Report Bugs Effectively: http://goo.gl/4Xue -- Next meeting: Somewhere quiet, Bournemouth, ???day 2010-12-?? 20:00 Meets, Mailing list, IRC, LinkedIn, ... http://dorset.lug.org.uk/ How to Report Bugs Effectively: http://goo.gl/4Xue
Re: [Dorset] dorset Digest, Vol 359, Issue 4
On 18/11/10 17:02, Brian R Masterman wrote: On 18/11/10 12:00, dorset-requ...@mailman.lug.org.uk wrote: The command I put in was rm -rf ~/ .shotwell/Examples You are not alone, we had a UNIX administrator do a; chown -R .* username Only to discover that it had changed all the above directories and then down. I did that once. The fact that .* matches .. as well as everything else is definitely a Trap For Young Players, and might even be considered a design flaw. Running a command on everything in parent directories -- especially when it's doing things recursively -- as well as sub-directories is rarely what you'd expect or want. cheers Chris -- Chris Dennis cgden...@btinternet.com Fordingbridge, Hampshire, UK -- Next meeting: Somewhere quiet, Bournemouth, ???day 2010-12-?? 20:00 Meets, Mailing list, IRC, LinkedIn, ... http://dorset.lug.org.uk/ How to Report Bugs Effectively: http://goo.gl/4Xue