Samba: cannot open a file with : in name.
by camerabambai from LinuxQuestions.org on (#5ERFY)
This is my share
Code:[Video]
comment = Public Stuff
path = /var/video
public = yes
writable = no
printable = no
guest ok = no
follow symlinks = no
mangled names = noI don't want to use mangled names because the names become incomprensible.
I can read the name correctly, but if names has characters like or : in names I cannot open remotely.
I mount the share with those options
Code://nas/Video on /media/cifs/Video type cifs (rw,relatime,vers=3.1.1,sec=krb5,cruid=1000,cache=strict,username=myname,uid=10005,forceuid,gid=10016,forcegid,addr=192.168.0.3,file_mode=0755,dir_mode=0755,seal,soft,nounix,serverino,mapposix,rsize=4194304,wsize=4194304,bsize=1048576,echo_interval=60,actimeo=1)This is an example..
Code:file Brom\ Day\ III\:\ last\ tiss.mkv
Brom Day III: last\ tiss: executable, regular file, no read permissionFiles with regular names don't give problems
Code:file Chantasm.avi
Chantasm.avi: RIFF (little-endian) data, AVI, 640 x 480, 25.00 fps, video: XviD, audio: Dolby AC3Any solution?Thanks


Code:[Video]
comment = Public Stuff
path = /var/video
public = yes
writable = no
printable = no
guest ok = no
follow symlinks = no
mangled names = noI don't want to use mangled names because the names become incomprensible.
I can read the name correctly, but if names has characters like or : in names I cannot open remotely.
I mount the share with those options
Code://nas/Video on /media/cifs/Video type cifs (rw,relatime,vers=3.1.1,sec=krb5,cruid=1000,cache=strict,username=myname,uid=10005,forceuid,gid=10016,forcegid,addr=192.168.0.3,file_mode=0755,dir_mode=0755,seal,soft,nounix,serverino,mapposix,rsize=4194304,wsize=4194304,bsize=1048576,echo_interval=60,actimeo=1)This is an example..
Code:file Brom\ Day\ III\:\ last\ tiss.mkv
Brom Day III: last\ tiss: executable, regular file, no read permissionFiles with regular names don't give problems
Code:file Chantasm.avi
Chantasm.avi: RIFF (little-endian) data, AVI, 640 x 480, 25.00 fps, video: XviD, audio: Dolby AC3Any solution?Thanks