Hi everybody,
I am trying to write to a filesystem in which the root directory belongs to `root`. This works on other platform but fails for some reason on Mac. Can anyone help me?
Steps:
1/ Mount the virtual file system to `filesystem/` using a custom executable. The implementation of the file system is RedoxFS. I'm not the author of said executable.
2/ Check that it is mounted (succeeds)
```
$ ls -lah filesystem/
total 0
drwxr-xr-x 1 root wheel 0B Jan 1 1970 .
drwxr-xr-x 19 david staff 646B Oct 31 21:21 ..
```
3/ Attempt to write anything to it as myself (fails, should succeed)
```
$ touch filesystem/foo
touch: filesystem/foo: Permission denied
```
4/ Attempt to write anything to it as `root` (fails, as expected)
```
$ sudo touch filesystem/foo
Password: XXXXXXXX
touch: filesystem/foo: Operation not permitted
```
On Linux, step `3/` works as expected and step `4/` fails as expected. So what am I doing wrong?
Thanks,
David