Mark C. Casey
2004-Sep-21 14:30 UTC
[Samba] Filename problem (filenames containing slashes aka. \and /)
I'm still looking but is it possible to use mangled maps? -----Original Message----- From: samba-bounces+markcc=jadepress.co.uk@lists.samba.org [mailto:samba-bounces+markcc=jadepress.co.uk@lists.samba.org]On Behalf Of Simon Hobson Sent: 21 September 2004 15:10 To: samba@lists.samba.org Subject: Re: [Samba] Filename problem (filenames containing slashes aka. \and /) rruegner wrote:>as far i know, >\ / are interpreted as path signs, i am not clear why any software >should interpret this in another way. >using special signs as filenames are a bug in user brain not in the >software of fileservers, whatever you useExcept that the Mac uses neither (internally it uses ':' as a path element separator) and both are valid for use in filenames (as are ?, *, -, and a whole pile more). So in the context of the original query, there is no element "bug in user brain" - the users have simply been using what the OS allows. Interestingly, with OS X if I create a folder called Test/Folder, in a terminal shell ls shows it as Test:Folder. Simon PS - and no this isn't an attempt to start a "my OS is better than yours" war ! -- Simon Hobson MA MIEE, Technology Specialist Colony Gift Corporation Limited Lindal in Furness, Ulverston, Cumbria, LA12 0LD Tel 01229 461100, Fax 01229 461101 Registered in England No. 1499611 Regd. Office : 100 New Bridge Street, London, EC4V 6JA. -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Mark C. Casey
2004-Sep-21 16:03 UTC
[Samba] Filename problem (filenames containing slashes aka. \and /)
I've since got it partially working with Netatalk. I can access it on OS 9 machines but not OS 10 for some reason. For example, I created a directory called "test / sedrs \ sfg" and according to ls the actual filename under linux is "test :2f sedrs \ sfg". So, it displays great on the Mac. So i'm sortof halfway there since the OS 10 machines cannot access the netatalk share. :D Still, I would prefer if there was a way to do this using Samba 3 instead. Mark -----Original Message----- From: samba-bounces+markcc=jadepress.co.uk@lists.samba.org [mailto:samba-bounces+markcc=jadepress.co.uk@lists.samba.org]On Behalf Of rruegner Sent: 21 September 2004 16:53 To: Simon Hobson Cc: samba@lists.samba.org Subject: Re: [Samba] Filename problem (filenames containing slashes aka. \and /) Sorry Simon, for sure the users does what their os allows them to do, but that musnt be named as inteligent in anyway. Building filenames which are not compatibel between varias oses is simply brainbugged, in my proffesional setups, i never gave support to users which worked so.My oppinion is , thats simply their problem. If i would know a solution, i would work it out ,but i dont know a solution which will help out with creating filesnames in any case, so the simple advice not to do so, seems to me the best way, until some wonder may come . Regards Simon Hobson schrieb:> rruegner wrote: > >> as far i know, >> \ / are interpreted as path signs, i am not clear why any software >> should interpret this in another way. >> using special signs as filenames are a bug in user brain not in the >> software of fileservers, whatever you use > > > Except that the Mac uses neither (internally it uses ':' as a path > element separator) and both are valid for use in filenames (as are ?, *, > -, and a whole pile more). So in the context of the original query, > there is no element "bug in user brain" - the users have simply been > using what the OS allows. > > Interestingly, with OS X if I create a folder called Test/Folder, in a > terminal shell ls shows it as Test:Folder. > > Simon > > PS - and no this isn't an attempt to start a "my OS is better than > yours" war !-- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Mark C. Casey
2004-Sep-21 16:17 UTC
[Samba] Filename problem (filenames containing slashes aka. \and /)
If I can add more to that... It needs to be accessible from both OS 9.x, 10.x and possibly (maybe) from Windows. So, for me Samba seems like the best option since all three can access Samba. Netatalk seems to have the most elegant solution of file naming but that isn't accessible from Windows unless I have both Netatalk and Samba running on the same machine sharing the same directory. (which I currently do) I guess you need to see my other post to understand. The whole "test / sedrs \ sfg" and "test :2f sedrs \ sfg" thing. Mark -----Original Message----- From: samba-bounces+markcc=jadepress.co.uk@lists.samba.org [mailto:samba-bounces+markcc=jadepress.co.uk@lists.samba.org]On Behalf Of Mark C. Casey Sent: 21 September 2004 17:10 To: rruegner Cc: samba@lists.samba.org Subject: RE: [Samba] Filename problem (filenames containing slashes aka. \and /) They use a mixture of OS 9.x (primary Mac OS they use) and 10.x. So NFS is probably out of the question. Mark -----Original Message----- From: rruegner [mailto:robert@ruegner.org] Sent: 21 September 2004 17:04 To: rruegner Cc: Mark C. Casey; samba@lists.samba.org Subject: Re: [Samba] Filename problem (filenames containing slashes aka. \ and /) Hi Mark, as thought about your problem.... did you try nfs or ssh for this file types, as your users use mac os 10 this maybe a possible solution, but i am nearly sure that windows will fail to open it , if your try to catch them afterwards from a win client. but perhaps its a workaround Regards rruegner schrieb:> Hi Mark, > i had this problems too, when i worked with some grafics , > i wrote a bash script which renamed there special filenames every day. > Maybe a guru has an solution for you , but in case of /\ i dont know any > Regards > > Mark C. Casey schrieb: > >> Unfortunately this is something that is extremely important. >> >> There are LOTS of filenames which contain slashes. >> >> Some of these are also customer artwork, meaning we cannot go about >> renaming them either. >> >> Mark >> >> -----Original Message----- >> From: rruegner [mailto:robert@ruegner.org] >> Sent: 21 September 2004 14:50 >> To: Mark C. Casey >> Cc: samba@lists.samba.org >> Subject: Re: [Samba] Filename problem (filenames containing slashes aka. >> \ and /) >> >> >> Hi Mark, >> as far i know, >> \ / are interpreted as path signs, i am not clear why any software >> should interpret this in another way. >> using special signs as filenames are a bug in user brain not in the >> software of fileservers, whatever you use >> Regards >> >> Mark C. Casey schrieb: >> >>> I'm currently in the process of creating a fileserver so some mac >>> guys at the company I work at can save files as a backup medium. >>> (long story short i'm creating a fileserver running samba 3 with 1TB >>> of storage) >>> >>> However, a lot of the files that they want backed up contain >>> characters that samba refuses to accept (when I try transferring a >>> file to the samba share with say the filename as "test \ test / test" >>> the mac reports that it cannot transfer the file. >>> >>> I've been told there is a way to use UTF8 with Samba 3 so it can >>> accept these, how can I do this? >>> >>> Mark-- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba