[illumos-Developer] RFE 604: Proposal to allow CIFS server to traverse mount points

wessels wessels147 at gmail.com
Tue Jan 25 05:00:51 PST 2011


Hi,

how would deletion of a directory structure in an exported CIFS share
by a client be handled after RFE 604 is delivered?
For example:
# zfs list
tank
tank/fsroot
tank/fsroot/a1
tank/fsroot/b1
tank/fsroot/a1/a11

# zfs set sharesmb=recursive,name=mysmbshare tank/fsroot

On a smb client
> net use t: \\server\mysmbshare
> dir /b /s t:\
a1
a1\a11
b1

> rmdir /S t:\a1

What would happen in this case?
Expected behaviour would be the deletion of a1 and a11 and all
contained within them. But this would mean the destruction of both
filesystems tank/fsroot/a1 and tank/fsroot/a1/a11 Which can be
desired. Throwing an access denied at the user might prevent some
confusion in case we don't want the underlying filesystem to be
destroyed. But an administrator would than try to take ownership which
should fail than as well but would introduce more confusion. "Why
can't I remove this directory???"
Similar cases are the renaming and moving of directories which are
child filesystems of the shared filesystem.
How are these cases handled in the DFS protocol?

Regards



More information about the Developer mailing list