I'm reviewing the server.c source code to better understand it because I believe this particular pset is largely about understanding source code not written by us and how the internet works generally.
I'm trying to precisely understand what access() does. On a high level I believe it is used to test whether a file exists and/or how it can be manipulated. But how exactly does it do this?
Does it need to be given the full file path (i.e., ~/workspace/pset6/public/test/…)? Otherwise, how would it know where to locate the file to determine its accessibility.
Lastly, when determining accessibility, is it reading through the files access permissions (i.e., read, write and append) to determine this?