# Why the folder ownership is "nobody"..?

**URL:** <https://forum.kirupa.com/t/why-the-folder-ownership-is-nobody/171169>\
**Category:** Uncategorized\
**Created:** [December 2, 2005, 11:50am UTC](https://forum.kirupa.com/t/why-the-folder-ownership-is-nobody/171169 "2005-12-02T11:50:52Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![bejoy](https://avatars.discourse-cdn.com/v4/letter/b/5e9695/32.png) [@bejoy](https://forum.kirupa.com/u/bejoy)\
**Post date:** [December 2, 2005, 11:50am UTC](https://forum.kirupa.com/t/why-the-folder-ownership-is-nobody/171169/1 "2005-12-02T11:50:52Z")

</div>

why the ownership is set to ‘nobody’ for dynamicaly created folders

I am using the following command to copy the folders;

The ‘$from’ folder have ownership that is not “nobody” and have 777 permision also.  
$cmd = `cp -rp $from $to`;

And when I use the following command to find out the owner of the file which is included the above copy script.

```
exec("whoami",$err);
echo "&lt;br&gt;";print_r($err);    

then this display 

Array ( [0] =&gt; nobody )

But the files also have ownership that is not 'nobody'

what may be the problem. plesssssssssss help me.

```

Thanks in advance…
