Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: Bug#251489: noclobber broken as non-root for devices



> 
> joey:~/src/d-i/installer/build/dest/hd-media/2.6>sudo zcat boot.img.gz >/dev/sda 
> zsh: file exists: /dev/sda
> zsh: exit 1     sudo zcat boot.img.gz > /dev/sda
> joey:~/src/d-i/installer/build/dest/hd-media/2.6>su
> root:/home/joey/src/d-i/installer/build/dest/hd-media/2.6>zcat boot.img.gz >/dev/sda
> 
> This is very annoying, it seems to think that because I'm not root,
> I cannot write to devices. I can, and I'm using sudo anyway..

Well, the sudo is irrelevant.  The question is how NO_CLOBBER should
behave with devices nodes.



Messages sorted by: Reverse Date, Date, Thread, Author