[ILUG] Mounting XP Partition

Peter McEvoy pete at yerma.org
Fri Apr 9 22:00:00 IST 2004


On Fri, Apr 09, 2004 at 09:32:26PM +0100, Mark Page wrote:
> I have set up a /mnt/windows directory pointing to /dev/hda1. I can 
> mount as root and as a normal user no problem but always get permission 
> denied when I attempt to 'ls' or 'cd' the directory as a normal user.
> 
> I have tried modifying permission for the directory with both 'chmod 
> a+r' and chmod 777' all to no avail. My /etc/fstab line reads as follows:
> 
> //dev/hda1               /mnt/windows    ntfs            
> noauto,user,ro          0 0

Chmod wont work on a windows filesystems, you set the permissions at
mount time, try this:

mount -t ntfs /dev/hda1 /mnt/windows -o umask=022

captive ntfs looks promising for r/w if you're interested.

--
Pete



More information about the ILUG mailing list