diff options
author | Jeremy Allison <jra@samba.org> | 2005-09-27 17:42:11 +0000 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 2005-09-27 17:42:11 +0000 |
commit | ebf9ecd31a1f69b069398cbdadccf4a311a6e306 (patch) | |
tree | fcf053f112267ac5d982697eb1f2a5ff1bd72fef /source/lib/data_blob.c | |
parent | f9576df0aa3942f298b37d8e278f87dccf31e348 (diff) | |
download | samba-ebf9ecd31a1f69b069398cbdadccf4a311a6e306.tar.gz samba-ebf9ecd31a1f69b069398cbdadccf4a311a6e306.tar.xz samba-ebf9ecd31a1f69b069398cbdadccf4a311a6e306.zip |
r10551: We need to check if the source path is a parent directory of the destination
(ie. a rename of /foo/bar/baz -> /foo/bar/baz/bibble/bobble. If so we must
refuse the rename with a sharing violation. Under UNIX the above call can
*succeed* if /foo/bar/baz is a symlink to another area in the share. We
probably need to check that the client is a Windows one before disallowing
this as a UNIX client (one with UNIX extensions) can know the source is a
symlink and make this decision intelligently. Found by an excellent bug
report from <AndyLiebman@aol.com>.
Jeremy.
Diffstat (limited to 'source/lib/data_blob.c')
0 files changed, 0 insertions, 0 deletions