Posted by ykgoh on 11/16/05 15:44
Hi Gordon. I followed your instruction and things seem to be improving
though not there yet. Basically I set umask(0) before the running mkdir
and it works.
Now the directory shows that it has write permission granted to
everyone. Below is the line I copied after running "ls -la"
drwxrwxrwx 2 www 84 512 Nov 16 21:16 2005_11
It shows that the newly created directory is owned by user "www". And
it has read, write, execute (777) for everyone. But still the file
write operation fails when it tries a fopen("./2005_11/test.txt", "w")
What is still wrong I wonder?
Navigation:
[Reply to this message]
|