Hello! On 7/1/05, MHD.Tayseer <gilmour@xxxxxxxxxxx> wrote: > Hi everyone: > i'm implementing mkdir so i must set the uid and the gid of my newly > created inode, but i've noticed that all of : > current->uid > current->euid > current->fsuid > are zeros ? am i doing something wrong or this result is right and i'm > missing something ? Just trying my first guess: are you running mkdir as root? > and what is the fsuid ? "difference from uid ? second guess: maybe has something to do with the uid eventually assigned through mount options? -- mattia :wq! -- Kernelnewbies: Help each other learn about the Linux kernel. Archive: http://mail.nl.linux.org/kernelnewbies/ FAQ: http://kernelnewbies.org/faq/