Re: What errno value should I receive if trying to create a file
Web Server forum
Back To The Forum Home!Search!Private Messaging System

Web Server Talk Web Server Talk > Unix and Linux reviews > Free Unix support > Unix Programming > Re: What errno value should I receive if trying to create a file




  Last Thread   Next Thread Next
  Show Printable Version Email this Page Subscribe to this Thread      Post New Thread    Post A Reply      

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


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
07-12-07 12:19 PM

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 permissi
on
mode error should get returned.  (The CD was burned with read only permissio
n 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 co
urse
standards are wrong all the time.





[ Post a follow-up to this message ]



    Sponsored Links  




 





   All times are GMT. The time now is 09:34 AM.      Post New Thread    Post A Reply      
  Last Thread   Next Thread Next


Most Popular forums 

Forum Jump:
Rate This Thread:

Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is OFF
vB code is ON
Smilies are ON
[IMG] code is OFF
 
Medical and Health forum | Computer Games Reviews | Graphics design forum

Back To The Top
Home | Usercp | Faq | Register