Re: [AD] Re: file_select_ex patch

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


On Friday 16 September 2005 04:01 pm, Elias Pschernig wrote:
> No, I have /home/web there. My home dir is not outside readable, so
> apache accessible files have their own home under the web user. Oh,
> and /var/www is another example of a directory which would get
> inaccessible with -r with your change. /var is read-only, still /var/www
> is where I drop apache files into.

You can still type in /var/www or /home/web into the path bar. Or, you can 
create symlinks in your home folder to those areas.

> Well, from the implementation view, I'd agree, -r should not show
> read-only directories. But from any possible use scenario, I think it
> must show all directories which may contain writeable files in them -

You can say the same about hidden directories, though. Should it show hidden 
directories because they may contain unhidden files? And it is far more 
likely for a directory to be marked hidden with unhidden files than to be 
read-only with writeable files.

> the "-r" is for files after all, and not directories.

Directories can have a read-only attribute. It affects all files created in 
them, and has an affect that you can't delete/move it, or its contents. At 
most, you can only modify files in it *if* (and that's a big if) there's 
files marked writeable to you.




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