summaryrefslogtreecommitdiff
path: root/common
diff options
context:
space:
mode:
authorCorey Berla <corey@berla.me>2023-04-11 16:14:15 -0700
committerOndrej Holy <oholy@redhat.com>2023-05-03 08:26:20 +0000
commita845ba0220fef72815ce091b92f74767d8025541 (patch)
treeaf2fe12eaf23f2b400f7100f13a12c16ee677538 /common
parentde47910648eac28779ba162884b3ee8e2cdc85b9 (diff)
downloadgvfs-master.tar.gz
smb: Allow renaming a file to the same name with a different caseHEADmaster
We check to see if the desired file name already exists before doing a renaming by stat'ing the file (to prevent smb from destroying an existing file). Since smb is not case sensitive, the check for an existing file mistakenly returns true if we are only changing the filename's case. Add a second check to see whether we are simply changing the case of the filename. Fixes: https://gitlab.gnome.org/GNOME/gvfs/-/issues/672
Diffstat (limited to 'common')
0 files changed, 0 insertions, 0 deletions