Re: [AD] Re: file_select_ex patch

[ Thread Index | Date Index | More lists.liballeg.org/allegro-developers Archives ]


On Friday 16 September 2005 04:05 pm, Michal Molhanec wrote:
> Chris wrote:
> > The ISCL.. International Standard of Common Logic. ;) A directory marked
> > read-only would be.. read-only.
>
> and what is common logic with RO directories? should it mean that all
> files in the dir are RO? or that you can add/rename/delete files in that
> dir? or both? or something another?

Think of it this way. For a file, the attributes effect the data inside the 
file. For a directory, it effects the file listing (the directory's data). A 
directory is read-only, so you can't modify the file listing.. you can't 
change the attributes of files or folders in it, and you can't change the 
list of files and folders in it (add to or remove from it). If a specific 
file or directory in that directory is marked writeable, then you can change 
the data *in that file or directory*.




Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/