[cs631apue] HW2 Access Mode Question

Tyler Romeo tromeo at stevens.edu
Sat Sep 19 16:31:17 EDT 2015


*Always* read the man page! Obviously it's preferred running "man 2 open"
locally, but the following web page contains the answer to your question:
http://linux.die.net/man/2/open

-- 
Tyler Romeo
Stevens Institute of Technology
Class of 2016

On Sat, Sep 19, 2015 at 4:27 PM, Yanqiao Zhan <yzhan14 at stevens.edu> wrote:

> Hi all,
> I'm dealing with destination file's access mode, but even I explicit mode
> = 777 in *open(const char *path,..., mode_t mode) *function. The new
> created file's access mode still miss write privilege like below.
> -rwxr-xr-x+ 1 yzhan14 student  9881 Sep 19 16:05 b3
>
> I have tried other mode values, regardless of missing write privilege, all
> are correct.
>
> Anyone else meet the same problem?
> Thanks,
> Yanqiao
>
>
> _______________________________________________
> cs631apue mailing list
> cs631apue at lists.stevens.edu
> https://lists.stevens.edu/mailman/listinfo/cs631apue
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.stevens.edu/pipermail/cs631apue/attachments/20150919/10cfd044/attachment.html>


More information about the cs631apue mailing list