[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: changing directories and getting filedates
> stat(2)
>Does not work correctly. Every time I get a SIGSEGV.
You must allocate a suitable structure and pass its address as the
second parameter. If not, it will almost certainly SEGV...
> >...changing directories without using popen() ?
>
> chdir(2)
>Does not work correctly. The directories created with mkdir are
>unsccessable by the programme.
Check the permissions of the process and the dir. See if the process can access
them when run from
a root prompt.