Pink Sandbox

Recent Posts

Archives

Categories

Popular Tags

November 11, 2008 @ 11:20 am

Accessing Windows Shared Folder on Ubuntu

Note to self: don’t forget to add the network share permissions.

I always miss this step. Most probably the reason why I got a mount error 20 = Not a directory when I tried to mount my Windows shared folder. I know there is a mount permission denied error. Anyway, the Not-a-directory error was what I encountered prior to adding ‘Everyone’ to the shared permissions list.

To share a folder on Windows XP, you will first have to make sure that Simple File Sharing is enabled.

To check if it is enabled:

  • Double click on the My Computer icon
  • Go to Tools > Folder Options
  • Click View tab
  • Locate Use Simple File Sharing (Recommended). The checkbox beside it must be selected.

With simple file sharing on:

  • Right click on the folder to share
  • Click on Sharing and Security…
  • Check Share this folder on the network (change the shared folder name if you want)
  • On the Security tab, add Everyone on the permissions list
  • Click OK to apply changes

Take note of the PC’s IP address (192.168.1.100). Then on Ubuntu:

  • Open the Terminal application Applications > Accessories > Terminal
  • mkdir /media/pc-shared
  • sudo mount //192.168.1.100/Shared /media/pc-shared -o username=PC-User password=PC-User-pw
  • cd /media/pc-shared

Then cp all you want to your local folders.

Unmounting the shared folder will be as simple as umount /media/pc-shared

Filed under Geekology · No Comments »

Stalk Me!

Actually, it's friends only. But hey, why don't you ask? I might be tolerant of new stalkers. ;)\

>> About Me

My thoughts from their words

"We must be willing to get rid of the life we've planned, so as to have the life that is waiting for us." - Joseph Campbell.

"... baka kaya tayo iniiwan ng taong mahal natin, kasi baka may bagong darating na mas ok, na mas mamahalin tayo, yung taong di tayo sasaktan at paasahin, yung nag-iisang taong magtatama ng mali sa buhay natin, ng lahat ng mali sa buhay natin..." - Popoy, One More Chance

Recent Comments

Links

Adsense to Goodness