[cs631apue] HW2 permissions question

Jan Schaumann jschauma at stevens.edu
Fri Sep 18 21:53:08 EDT 2015

Julian Sexton <jsexton at stevens.edu> wrote:
> >> Under what circumstances does this not happen?  See if you can figure out
> when/why this would happen.
> After some research it looks like it's subtracting the "umask" value from
> the source's permissions. Should we do this too?

You should.  The good news is that you don't have to do anything special
to account for the umask.  open(2) will automatically consider it.


More information about the cs631apue mailing list