Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

The title pretty much says it all, for example:

myth:/media/saga_c/2005> pwd
/media/saga_c/2005
myth:/media/saga_c/2005> ls
ls: cannot open directory .: Permission denied
myth:/media/saga_c/2005> cd 2005_05_08
myth:/media/saga_c/2005/2005_05_08> pwd
/media/saga_c/2005/2005_05_08
myth:/media/saga_c/2005/2005_05_08> ls

ls: cannot open directory .: Permission denied

I am thinking it is probably a permissions issue but maybe I am missing something more fundamental here. Am I not able to work with a windows shared folders from Ubutnu (ver 10.04)?

Any suggestions would be appreciated.

share|improve this question

2 Answers 2

I agree it sounds like a permission problem.

I hadn't mounted a Windows share in a while, but there seems to be two patterns I see on the internet. [First] [Second] I can't recall which I've used, they both look familiar.

Hopefully one of these will point you in the right direction.

share|improve this answer

In general, you should be able to mount a Windows (CIFS) share on modern Linux distros just fine, so a permissions issue is quite likely.

You might try the following:

  • Try specifying Windows username and password when mounting, like so:

    mount -t smbfs -o username=$username,password=$password //$win-box/$share t/$name-of-mountpoint

Windows has its fair share of irks when it comes to authentication, especially when usernames on server and client are identical, but the passwords don't match. Ideally, there should be a user/password combination on the Windows server that matches the one on the intended client.

  • Check for NTFS and network permissions on the Windows machine. Try setting both to "Everyone" and see if you can connect.
share|improve this answer

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.