Weird Samba issue can transfer directories or files but not both

Im running in to a weird issue where when i try to move a folder to my samba server (hosted on manjaro) from my desktop (garuda) it will move the directories and sub directories but not the files inside, I can move the files individually but that would take forever.

Im usually pretty good at figuring stuff out but i dont know where to start with this one

testparm -s

Global parameters

[global]
map to guest = Bad User
name resolve order = bcast host
security = USER
server string = mainframe
idmap config * : backend = tdb

[data 1]
create mask = 0664
directory mask = 0775
force create mode = 0664
force directory mode = 0775
force group = sambashare
force user = sambauser
guest ok = Yes
path = /media/data1
read only = No

[data 8tb]
create mask = 0664
directory mask = 0775
force create mode = 0664
force directory mode = 0775
force group = sambashare
force user = sambauser
guest ok = Yes
path = /media/8tbdata
read only = No

[data 2]
create mask = 0664
directory mask = 0775
force create mode = 0664
force directory mode = 0775
force group = sambashare
force user = sambauser
guest ok = Yes
path = /media/data2
read only = No

I figured it out, turns out it was invalid characters in the files, I was able to remove them using detox

DETOX(1) BSD General Commands Manual DETOX(1)

NAME
detox — clean up filenames

SYNOPSIS
detox [-hnLrv] [-s sequence] [-f configfile] [–dry-run] [–special] file …

DESCRIPTION
The detox utility renames files to make them easier to work with. It removes spaces and other such
annoyances. It’ll also translate or cleanup Latin-1 (ISO 8859-1) characters encoded in 8-bit ASCII,
Unicode characters encoded in UTF-8, and CGI escaped characters.

Sequences
detox is driven by a configurable series of filters, called a sequence. Sequences are covered in more
detail in detoxrc(5) and are discoverable with the -L option. Some examples of default sequences are
iso8859_1 and utf_8.

1 Like

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.