Solomon Boulos has uploaded this change for review.
Implement MKDIR.
$ ls -l proxy-mount/
total 7020
-rw-r--r-- 1 boulos boulos 3584000 Mar 5 23:11 bytes-again.txt
-rw-r--r-- 1 boulos boulos 3584000 Mar 4 17:59 bytes.txt
-rw-r--r-- 1 boulos boulos 16 Feb 15 00:15 hello.txt
-rw-r--r-- 1 boulos boulos 8 Mar 4 23:39 new.txt
-rw-r--r-- 1 boulos boulos 0 Mar 4 22:58 nope.txt
drwxr-xr-x 2 boulos boulos 4096 Feb 22 18:12 subdir
-rw-r--r-- 1 boulos boulos 8 Feb 26 02:35 woohoo.txt
-rw-r--r-- 1 boulos boulos 11 Feb 15 00:15 yo.txt
$ mkdir proxy-mount/new-dir
$ ls -l proxy-mount/
total 7024
-rw-r--r-- 1 boulos boulos 3584000 Mar 5 23:11 bytes-again.txt
-rw-r--r-- 1 boulos boulos 3584000 Mar 4 17:59 bytes.txt
-rw-r--r-- 1 boulos boulos 16 Feb 15 00:15 hello.txt
drwxr-xr-x 2 boulos boulos 4096 Mar 6 18:08 new-dir
-rw-r--r-- 1 boulos boulos 8 Mar 4 23:39 new.txt
-rw-r--r-- 1 boulos boulos 0 Mar 4 22:58 nope.txt
drwxr-xr-x 2 boulos boulos 4096 Feb 22 18:12 subdir
-rw-r--r-- 1 boulos boulos 8 Feb 26 02:35 woohoo.txt
-rw-r--r-- 1 boulos boulos 11 Feb 15 00:15 yo.txt
And verified that chmod works on directories, too:
$ chmod 770 proxy-mount/new-dir
$ ls -l proxy-mount/
total 7024
-rw-r--r-- 1 boulos boulos 3584000 Mar 5 23:11 bytes-again.txt
-rw-r--r-- 1 boulos boulos 3584000 Mar 4 17:59 bytes.txt
-rw-r--r-- 1 boulos boulos 16 Feb 15 00:15 hello.txt
drwxrwx--- 2 boulos boulos 4096 Mar 6 18:08 new-dir
-rw-r--r-- 1 boulos boulos 8 Mar 4 23:39 new.txt
-rw-r--r-- 1 boulos boulos 0 Mar 4 22:58 nope.txt
drwxr-xr-x 2 boulos boulos 4096 Feb 22 18:12 subdir
-rw-r--r-- 1 boulos boulos 8 Feb 26 02:35 woohoo.txt
-rw-r--r-- 1 boulos boulos 11 Feb 15 00:15 yo.txt
Change-Id: I617037382f32de98e431b657669b479600a90fb6
Signed-off-by: Solomon Boulos <boulos@google.com>
---
M src/FSAL/FSAL_PROXY_V3/main.c
1 file changed, 80 insertions(+), 0 deletions(-)
git pull ssh://review.gerrithub.io:29418/ffilz/nfs-ganesha refs/changes/55/487455/1
To view, visit change 487455. To unsubscribe, or for help writing mail filters, visit settings.