[cs631apue] Marlon Help Please!
mseaton
mseaton at stevens.edu
Sat Sep 17 23:06:25 EDT 2016
Hello,
I have written my program and I have tested all of the usage cases that
has been given in the man page for this assignment. Everything seems to
work fine on linux lab and my ubuntu linux system.
That is:
./tcp file1 file2
./tcp file1 DIR
etc all work. I have also made sure to test cases like cp file1 file1
and cp file1 . ,etc. This should generate error messages and it does.
I can use some help into understanding all that is going on here.
ln: failed to create hard link `big' => `/tmp/big': Operation not
permitted
cp: cannot create regular file `/tmp/f': Permission denied
Expected success, but command failed:
/home/mseaton/tcp.c /etc/passwd file
Expected success, but command failed:
/home/mseaton/tcp.c /tmp/f file
Expected success, but command failed:
/home/mseaton/tcp.c /etc/passwd .
Expected success, but command failed:
/home/mseaton/tcp.c g ./sub/dir/.
Expected success, but command failed:
/home/mseaton/tcp.c /etc/passwd ./sub/dir/.
Expected success, but command failed:
/home/mseaton/tcp.c /etc/passwd /tmp/f
Expected success, but command failed:
/home/mseaton/tcp.c zero file
Expected success, but command failed:
/home/mseaton/tcp.c big file
Expected success, but command failed:
/home/mseaton/tcp.c small existing
Files 'small' and 'existing' differ.
Thanks
Marlon
More information about the cs631apue
mailing list