[PLUG] Who's right.. student or system?

Charles Allen crallen@purdue.edu
Thu, 19 Oct 2000 13:58:47 -0600


Hello,
	I am a freshman in the school of engineering and just recieved my mid-term
exam back from the graders.  There were a few questions about unix on the
exam that I had points taken off where I feel they should not have been
taken off.  Would you please review these questions and point out the
faults:

1.Someone with uid: IMAENG has some files to move arround.  Using
finger...his home directory is discovered to be /home/lookout/a/IMAENG  I
won't bother re-creating the directory sturcture because I did not get
points taken off for improper directory names.  I did, however, loose points
for the following:

mv try_1.xls ~IMAENG/memories/try_1.xls    /*Supposed to move from current
to said directory*/
cp ../../UNIX/hmwk2 ~IMAENG/MEMORIES/hmk2  /*Supposed to copy to user's
MEMORIES directory*/

The reason I had points deducted is because the ~uid reference 'does not
work' according to my TA.  I have, however, had it work before and would
like to know if I was just under some special circumstance.

Another problem I had with the exam is the following:

2.I may be wrong on this one:

-rwx------  part_a.xls

"What UNIX command(s) are needed to make part_a.xls readable to anyone?"

I wrote:     chmod a+r part_a.xls

but was deducted points because I was suposed to write:  chmod go+x
part_a.xls
Does "chmod a+r part_a.xls"  dissallow some users from reading the file?

I know it sounds like I'm griping... but I seriously want to know what the
difference is for future reference.

Thanks,
-chuck