mount windoze partition for user automatically




I've got a 40GB drive and the first 20GB contains Windoze XP. I can
mount this manually fine. I can mount it automatically too. But if I
try to access it as non-root I get:

$ cd /windoze
bash: cd: /windoze: Permission denied

Permissions on my /windoze directory are:

dr-x------ 1 root root 8192 2007-07-29 17:49 windoze

If I umount /windoze and change the permissions they seem to revert back
to the above after I reboot. Accessing it as root works fine, but I
would like to access it as a regular user. Aside: I read in some tux
documentation that for Windows 2000 and Windows XP you can change the
type to vfat and get read/write access to the partition. This would be
great but I am sceptical that it is dangerous to mount rw under ntfs
type but okay under vfat.

My fstab file is:

# /etc/fstab: static file system information.
#
# <file system> <mount point> <type> <options> <dump> <pass>
proc /proc proc defaults 0 0
/dev/sda1 /windoze ntfs user,auto,noexec,ro 0 0
/dev/sda2 / ext3 defaults,errors=remount-ro 0
1
/dev/sda8 /home ext3 defaults 0 2
/dev/sda7 /tmp ext3 defaults 0 2
/dev/sda5 /usr ext3 defaults 0 2
/dev/sda6 /var ext3 defaults 0 2
/dev/sda3 none swap sw 0 0
/dev/hda /media/cdrom0 udf,iso9660 user,noauto 0 0

$ fdisk -l

Disk /dev/sda: 40.0 GB, 40007761920 bytes
255 heads, 63 sectors/track, 4864 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Device Boot Start End Blocks Id System
/dev/sda1 * 1 2432 19535008+ 7 HPFS/NTFS
/dev/sda2 2433 2493 489982+ 83 Linux
/dev/sda3 4621 4863 1951897+ 82 Linux swap /
Solaris
/dev/sda4 2494 4620 17085127+ 5 Extended
/dev/sda5 2494 3101 4883728+ 83 Linux
/dev/sda6 3102 3466 2931831 83 Linux
/dev/sda7 3467 3527 489951 83 Linux
/dev/sda8 3528 4620 8779491 83 Linux

Partition table entries are not in disk order

$

Any help is appreciated.

Phill



--
To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx
with a subject of "unsubscribe". Trouble? Contact listmaster@xxxxxxxxxxxxxxxx



Relevant Pages

  • Re: Trying to Mount New 2-Gig Zenstone MP3 Player
    ... and I haven't been able to mount it to save my soul. ... ZEN STONE FAT32 ... To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx ...
    (Debian-User)
  • RE: undo rm deleteing /etc very urgent
    ... I got the HD and connect it as slave HD and mount it then I ... > filesystem /etc was stored on. ... And that is to grab the FC install ... To unsubscribe: http://www.redhat.com/mailman/listinfo/fedora-list -- ...
    (Fedora)
  • Re: Cant read any DVD, and cant mount the dvd drive
    ... mount: special device /dev/sdc0 does not exist ... I guess I will have some work tomorrow and will change the dvd drives to see ... Modify settings or unsubscribe at: ...
    (Ubuntu)
  • Re: SUDO
    ... the pre-lvm era], and it contains a partition hda16, and I must put it ... drive is to use the "offset" parameter of mount. ... separate things (operating system from data, ... To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx ...
    (Debian-User)
  • Re: Why all the futzing with boot loaders
    ... I've found it's easier to actually start the partitioner, ... drivers will be loaded and it's easy to mount /dev/hdx. ... addition to the installer disk. ... To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx ...
    (Debian-User)