Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

Most of the time when I share a folder from Ubuntu, the name field is made yellow and it says "Share name too long". But even if I keep this name, it works fine. So what is it too long for? What is the limit?

"Share name is too long" dialog

share|improve this question
    
Name should not contain space i guess. –  karthick87 Jan 15 '11 at 18:19
add comment

1 Answer 1

There is a bug in the dialogue. Add another character and you'll notice the warning disappears!

The warning is there because some systems that can access Samba filesystems also have fairly extreme filename-length limits. For example you can connect to a SMB server with Windows 3.11 which has the same file restrictions as DOS.

Samba will still host the share but other people might not be able to see it. Similar rules apply if you stick restricted character (eg: a question mark) in the share name. Other POSIX systems will cope. Windows will fall over.

share|improve this answer
    
So it's just for obsolete Windows? I can access them from Windows 7. –  endolith Jan 15 '11 at 18:35
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.