CHMOD testing?
am 18.04.2008 00:43:41 von ReGenesis0
I know you can set the CHMOD using php (well, depending on the
environment variables- this may be restricted...)
But can you find out the current chmod values of a file or directory
without imposing a new
set?
-Derik
Re: CHMOD testing?
am 18.04.2008 01:08:24 von Michael Fesser
..oO(Derik)
>I know you can set the CHMOD using php (well, depending on the
>environment variables- this may be restricted...)
>
>
>But can you find out the current chmod values of a file or directory
>without imposing a new
>set?
fileperms()
Micha
Re: CHMOD testing?
am 18.04.2008 03:52:08 von ReGenesis0
On Apr 17, 6:08 pm, Michael Fesser wrote:
> >But can you find out the current chmod values of a file or directory
> >without imposing a new
> >set?
>
> fileperms()
*grumbles*
Now why isn't this documented under the 'see also' on chmod()...?
Thanks BTW. That was really quick!
-Derik
Re: CHMOD testing?
am 18.04.2008 05:16:18 von Michael Fesser
..oO(Derik)
>On Apr 17, 6:08 pm, Michael Fesser wrote:
>
>> >But can you find out the current chmod values of a file or directory
>> >without imposing a new
>> >set?
>>
>> fileperms()
>
>*grumbles*
>Now why isn't this documented under the 'see also' on chmod()...?
Good question, would make sense indeed. Want to file a documentation bug
report? ;-)
>Thanks BTW. That was really quick!
You're welcome.
Micha