bug#8749: mkdir: feature request --reference

2011-05-30 Thread Voelker, Bernhard
Bob Proulx wrote: I generally dislike combining the functionality of several different commands into one command. In this case combining mkdir and chmod and I don't see any reason they can't be used individually. Plus mkdir already allows you to create directories with a specified

bug#8749: mkdir: feature request --reference

2011-05-30 Thread Shaun Jackman
Hi Bob, I was using exactly that shell function that you described, but it doesn't work for mkdir -p foo/bar I'm using the alias you gave, which works better. Thanks. I've noticed one issue, which I feel is a bug in mkdir. When using mkdir -pm, the specified mode is applied only to the

bug#8766: Bug in sha1sum?

2011-05-30 Thread Theo Band
Hi I'm not sure, but I think I found a bug in sha1sum. It's easy to reproduce with any file that contains a backslash (\) in the name: echo test test $ sha1sum test 4e1243bd22c66e76c2ba9eddc1f91394e57f9f83 test $ mv test 'test\test' $ sha1sum 'test\test'

bug#8766: Bug in sha1sum?

2011-05-30 Thread Alan Curry
Theo Band writes: Hi I'm not sure, but I think I found a bug in sha1sum. It's easy to reproduce with any file that contains a backslash (\) in the name: echo test test $ sha1sum test 4e1243bd22c66e76c2ba9eddc1f91394e57f9f83 test $ mv test 'test\test' $ sha1sum 'test\test'

bug#8767: cp: --preserve=all doesn't work for the parents when --parent is used

2011-05-30 Thread Christoph Anton Mitterer
Hi. When doing something like: cp --no-dereference --preserve=all --parents --no-clobber ${pathname} ${destination} Then the file (if it's not a directory) will be copied to ${destination}/${pathname} including all the directories within ${pathname} (e.g. ./foo/bar/file). While the owner

bug#8749: mkdir: feature request --reference

2011-05-30 Thread Paul Eggert
On 05/30/11 10:29, Shaun Jackman wrote: When using mkdir -pm, the specified mode is applied only to the final directory and not the parent directories That behavior is required by POSIX; see http://pubs.opengroup.org/onlinepubs/9699919799/utilities/mkdir.html. Perhaps an argument could be