I'm trying to read
/dev/ttyUSB0 of another computer mounted via sshfs, however commands such as
cat /mnt/tmp1/dev/ttyUSB0 return "Permission denied" (I'm mounting the filesystem to
- I've mounted the file system as root
# The machine whos serial port I want to access is called "trogdor" sudo sshfs -o allow_root -o IdentityFile=$HOME/.ssh/id_rsa root@trogdor:/ /mnt/tmp1/
- I can do other things in the file system as root so I'm pretty sure I have root permissions on the mounted file system.
- When in an ssh session I cat
cat /dev/ttyUSB0with no problem.