# default directory/file modes

- Thread: https://externals.io/message/14036
- Original archive: https://news-web.php.net/php.internals/14036
- Started by Gareth Ardron on 2004-12-09T17:24:56+00:00
- Messages: 1
- Reply by email to internals@lists.php.net
- More for agents: search with https://externals.io/search.md?q={query} · JSON API at https://externals.io/api · documentation at https://externals.io/llms.txt

---

## #14036 — Gareth Ardron — 2004-12-09T17:24:56+00:00

URL: https://externals.io/message/14036#14036

Guys,

Been all through the documentation on this one and it's doing my head in 
a bit. I can't find any way to specify a default directory mask to use 
for file and/or directory creation at all.

Now, if I'm just being blind, can somebody help me out - otherwise, I'd 
like to propose this as an addition. I'm happy to code it up myself if 
nobody else wants to do it and if it's ok to put it in. It would require 
an ini entry however (I know, I know) and I can't see how it'd work 
outside of a *nix environment as well - those points aside, it'd be 
really really useful.

Oh, and another one I'd like to propose (but don't know enough about 
webservers internals to code myself) is like we have can php_value in 
apache configs on a per-virtualhost directive, we can't currently 
specify extensions to use on per-virtualhost directive which is kinda 
irritating. I've got several users I trust, and several I don't. I'd 
rather limit what those few can do by knocking out extensions for their 
virtualhosts if at all possible - or more accuratly, explicitly enabling 
extensions for users I do trust.

Cheers,

-- 
Gareth Ardron
