Tuesday, March 18, 2008

Mounting Windows Shares In Ubuntu

I have been looking for a permanent solution to annoying ways to mount a Windows share on my Ubuntu box and this reference comes handy:

Reference: http://note2.industriousone.com/mounting-windows-shares-ubuntu

More specifically the steps are:

1. create a mount in your /mnt folder

$ sudo mkdir /mnt/mount_point

2. create the following entry in your /etc/fstab file

//windows_share/specific_folder /mnt/mount_point cifs exec,credentials=/etc/cifspw 0 0

3. Create a password file /etc/cifspw with the login credentials for your Windows account.

username=MyUser
password=MyPassword

4. Secure the password file
$ sudo chmod 600 /etc/cifspw

5. Run this command to get the mount

$ sudo mount -a

Be a happy child.

Monday, February 25, 2008

Error Message: "Access Is Denied" When You Try to Open NTFS File System Folders

I connected am external HDD to my laptop which was previously used with another installation of windows and surprising got this error for almost all the folders:
Access Denied
After spending an hour or so I figured out the solution which is:
http://support.microsoft.com/default.aspx?scid=kb%3Ben-us%3B823306