Unix Programming - Re: What errno value should I receive if trying to create a file

This is Interesting: Free IT Magazines  
Home > Archive > Unix Programming > July 2007 > Re: What errno value should I receive if trying to create a file





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author Re: What errno value should I receive if trying to create a file
Golden California Girls

2007-07-12, 7:19 am

Barry Margolin wrote:
> In article <idWdnYK_Q- lbugjbnZ2dnUVZ_uejnZ2d@championbroadband
.com>,
> Golden California Girls <gldncagrls@aol.com.mil> wrote:
>
>
> Doesn't trying to create a file "try and write" because it has to modify
> the directory immediately?
>
> The permission modes we're talking about are the directory permissions.


If the directory permission bit indicates it isn't writable the bad permission
mode error should get returned. (The CD was burned with read only permission on
the directory.) It isn't until an actual entry is attempted until the error
should return sorry can't write. The question is why is the system checking if
it can write until after it has checked the directory permission bit? Of course
standards are wrong all the time.
Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com