[1.7.27] cannot redirect output to /dev/clipboard: "write error: Permission denied"
Jeremy Hetzler
jeremyhetzler@gmail.com
Tue Jan 7 05:30:00 GMT 2014
I am getting errors when using bash redirect syntax to write to
/dev/clipboard. Reading works ok.
# this does not work
$ echo "foo bar" >file.txt
$ cat file.txt >/dev/clipboard
cat: write error: Permission denied
# nor this
$ ls -la >/dev/clipboard
ls: write error: Permission denied
# but this does
$ echo "foo bar" >/dev/clipboard
$ cat /dev/clipboard
foo bar
# this works too
$ dd if=file.txt of=/dev/clipboard
0+1 records in
0+1 records out
8 bytes (8 B) copied, 0.000127467 s, 62.8 kB/s
# more information
$ ls -la /dev/clipboard
crw-rw-rw- 1 steveb None 13, 254 Nov 30 2006 /dev/clipboard
$ uname -a
CYGWIN_NT-6.1-WOW64 box3 1.7.27(0.271/5/3) 2013-12-09 11:57 i686 Cygwin
I have rebooted and updated Cygwin (cygcheck attached).
Any ideas?
Yours,
Jeremy Hetzler
-------------- next part --------------
A non-text attachment was scrubbed...
Name: cygcheck.out
Type: application/octet-stream
Size: 29479 bytes
Desc: not available
URL: <http://cygwin.com/pipermail/cygwin/attachments/20140107/5f36dc96/attachment.obj>
-------------- next part --------------
--
Problem reports: http://cygwin.com/problems.html
FAQ: http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
More information about the Cygwin
mailing list