Pankaj Mathur forced the electrons to say:
> but could not manage to change the permission or ownership. As a root I
> should
> have complete control over such changes but it is not happening. Please send
> me

Of course, you have complete control over such things. The only problem is
that you should know how to exercise your control. :-)

For you to create files inside a directory, you need w and x permissions in
the directory. So, For everyone to create files inside a root owned directory,
the perms should look like:

drwxrwxrwx

It will be safer if you set the sticky bit on the directory, so that this will
look like:

drwxrwxrwt

a la /tmp and /var/tmp.

Binand

-- 
#include <stdio.h>                                   | Binand Raj S.
char *p = "#include <stdio.h>%cchar *p = %c%s%c;     | This is a self-
int main(){printf(p,10,34,p,34,10);return 0;}%c";    | printing program.
int main(){printf(p,10,34,p,34,10);return 0;}        | Try it!!

--------------------------------------------------------------------------
LI is all for free speech, but this list was created for a purpose --
to help popularise Linux in India. If your messages are counterproductive
to that purpose, your privileges to submit messages can and will be revoked.

Reply via email to