kanotix.com

General Support - permissions on windows partitions

HK-47 - 05.07.2006, 16:59 Uhr
Titel: permissions on windows partitions
i just installed kanotix 2005-04 on a pc with windows xp. things went well (mostly), except that i can't access the windows partitions (hda1 & hdb1) when i'm not root. changing the permissions as root does work, but it takes a VERY long time, and it also reverts after a reboot. here's my fstab:

proc /proc proc defaults 0 0
usbfs /proc/bus/usb usbfs devmode=0666 0 0
/dev/hda5 / reiserfs defaults 0 1
/dev/hda1 /media/hda1 ntfs defaults 0 2
/dev/hdb1 /media/hdb1 ntfs defaults 0 2
/dev/hda6 none swap sw 0 0
/dev/cdrom /media/cdrom0 udf,iso9660 user,noauto 0 0

any ideas? thanks!
devil - 05.07.2006, 17:10 Uhr
Titel: permissions on windows partitions
what are you trying to do on the ntfs partitions?
they should be readable as of now.
writing is a different story.

greetz
devil
HK-47 - 05.07.2006, 21:45 Uhr
Titel: RE: permissions on windows partitions
well, i'm not brave enough to try to write to them yet. they are readable, but only as root. for some reason, normal users aren't even allowed to read hda1 and hdb1, unless i change the permissions for each and every file and folder as root every time i reboot. (and it takes a really, really, really long time too)
towo2099 - 05.07.2006, 21:47 Uhr
Titel: RE: permissions on windows partitions
Code:
/dev/hda1 /media/hda1 ntfs users,umask=022 0 0
/dev/hdb1 /media/hdb1 ntfs users,umask=022 0 0


and you can read the partitions as user.
HK-47 - 05.07.2006, 23:45 Uhr
Titel: RE: permissions on windows partitions
it worked! thanks!
arlekin - 06.07.2006, 17:53 Uhr
Titel: Re: RE: permissions on windows partitions
towo2099 hat folgendes geschrieben::

/dev/hda1 /media/hda1 ntfs users,umask=022 0 0
/dev/hdb1 /media/hdb1 ntfs users,umask=022 0 0

AFAIK <umask=022> means that you have read and write (!) access ... I'm not sure if this is a good idea on a NTFS partition ... maybe it would be more secure to set
Code:

umask=222

DustyPaws - 25.07.2006, 11:08 Uhr
Titel: Re: RE: permissions on windows partitions
Hatte das selbe Problem. Also DANKE für diesen Tipp Sehr glücklich
Hat mir echt den Tag gerettet XD
Alle Zeiten sind GMT + 1 Stunde
PNphpBB2 © 2003-2007