PDA

View Full Version : [ubuntu] Unable to access shared folders



rrroninnn
June 7th, 2009, 05:43 PM
I have samba installed on my main Ubuntu desktop with the sharing option enabled for the folders I want to share.

My Vista laptop cannot access the shared files. It shows the Ubuntu desktop on the network device window, but when I try to double click on the icon,I get a message that says Windows cannot access the Ubuntu desktop. The details arrow shows that the network path was not found.

This has me totally confused since all I want to do is access certain /home folders using my laptop. Please advise.

cmnorton
June 10th, 2009, 12:20 AM
I have samba installed on my main Ubuntu desktop with the sharing option enabled for the folders I want to share.
.
.
.


I am confused as to what the "sharing option" is.

Celauran
June 10th, 2009, 12:39 AM
I am confused as to what the "sharing option" is.

In Nautilus. Right-click -> Sharing Options. Always seems to cause problems and I'll never understand why people use this over proper shares defined in smb.conf.

superprash2003
June 10th, 2009, 07:55 AM
in your ubuntu terminal type smbtree and post output.. in windows go to windows explorer and type \\x.x.x.x where x.x.x.x is the ip of the ubuntu machine.. that should hopefully give you list of shares..

eckie
July 4th, 2010, 04:33 PM
Sorry for necro-ing this thread but I thought I'd share the solution I found to this elsewhere in the forum (where I don't seem to have sufficient privileges to post).

With the same problem as the OP I came upon this thread (links to the page containing the solution): http://ubuntuforums.org/showthread.php?t=737664&page=3. This got me trying various permission configurations for "other" users (since adjusting group permissions would be useless without changing the group of a share, which one might not always want to do).

The generic (but complex) resolution to this problem is that the user trying to access a share must also have sufficient privileges to traverse the parent directories (though not necessarily read the files in those directories).

In the specific case of guest access to a share in a user's home directory: The "execute" permission for "other" users needs to be set on the home directory.


chmod o+x /home/user

Even the 10.04 "Lucid" Nautilus filesharing GUI doesn't seem to ensure this automagically when you enable sharing for the first time.

I'll write a blogpost about how to do this with just the GNOME GUI and link to it from here later.