Andreas Schwab wrote:
> Larry Finger <[EMAIL PROTECTED]> writes:
> 
>> Andreas Schwab wrote:
>>> Larry Finger <[EMAIL PROTECTED]> writes:
>>>
>>>> +You are then ready to rewrite the sprom with
>>>> +
>>>> +sudo cat ssb_sprom_copy > $SSB_SPROM
>>> This won't work as an unprivileged user who won't be able to open the
>>> file for writing. You probably need to use cp instead.
>> Doesn't the sudo give the necessary privilege?
> 
> The redirection happens earlier.
> 
>> I haven't tested writing the sprom, but it certainly does for the
>> read, which I have tested. As the file has 600 as its permissions, I
>> thought that read and write would be symmetric.
> 
> Try this for symmetry: sudo cat < $SSB_SPROM

That one gets a message "bash: $SSB_PROM: ambiguous redirect".

I have modified the README to use cp as you suggested. Thanks for the tutorial 
on redirect. I've 
always been weak on that part of shell programming.

Larry
_______________________________________________
Bcm43xx-dev mailing list
[email protected]
https://lists.berlios.de/mailman/listinfo/bcm43xx-dev

Reply via email to