Change Case option doesn't seem to work on an SMB share

Aperta
#89 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
3/5
Tempo stimato
1-2 giorni
Idoneità per principianti
48/100
Tipo di issue
Bug
Chiarezza
Abbastanza chiara
Stato di attività
Tranquilla
Stack tecnologico
python
Ambito
desktop

Direzione di ricerca

Start by tracing how Bulky applies the Change Case Title Case option and handles rename errors; the issue names no source files or tests. Reproduce the rename on an SMB share and compare it with a local file. Done means case changes succeed on the share without reporting that the existing filename conflicts.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

I know Linux users historically like command line utils, but I like a GUI when it gives more options. File renaming is a case in point and although it took me a few tries to get to grips with Bulky, it can do about 70% of what I commonly use Bulk Rename for in Windows.

However, having become used to it being quick and easy I downloaded files direct to an SMB share (why download to my PC then upload to the server, do it direct!).
I then attempted to change the name on the files. I wanted to Capitalise various bits of the filename, so the Change Case Title Case option does this nicely.
However while it works fine on files on my local machine and it can do many of the other rename functions, iit completely barfs on the files on the SMB share. I get the error message
Unable to rename can't rename file, filename already exists.

The same behaviour can be seen if I access the files via a mount point in the file system that mounts the server share directly at boot.

Clearly this suggests something to do with the fact that it's an SMB share and case sensitivity on the rename but why?

All I can find through searching that's relevant are old posts about an SMB parameter (case sensitive = yes) that was an SMBv1 thing therefore shouldn't apply with v2 and 3

If it makes a difference it's a TrueNAS server, current version of appliance, having taken all the default options when setting up the share.

Anyone else encountered this and found a way round?

Lingua principale
Python
Stelle
118
Fork
22
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Preparare l'ambiente

Questo progetto non fornisce container di sviluppo, Dockerfile né guida per i contributori, quindi l'ambiente è a tuo carico: parti dal suo README e consulta la nostra guida al primo contributo per i passaggi generali.

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di linuxmint/bulky

Tutte le issue di linuxmint/bulky

Issue simili

Altre issue su Python

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.