mount ntfs-ro

Pagina: 1
Acties:

  • DAzN
  • Registratie: April 2000
  • Niet online
Voor RedHat 7.2 heb ik een nieuwe kernel (2.4.17) gecompileerd waarin ik ntfs partities read-only wil benaderen. Het vreemde is echter dat ik de partities inderdaad met root kan benaderen, maar niet als gewone gebruiker.

De opdracht:
code:
1
$mount -t ntfs -o ro /dev/hdb6 /mnt/docs

biedt geen soelaas. Ook de /mnt/docs dir chownen naar de gebruiker (voor het mounten) biedt geen uitkomst, mount chowned terug naar root :(
Wie heeft voor mij de oplossing?

  • ThaEagle
  • Registratie: November 2001
  • Laatst online: 29-10-2024

ThaEagle

Debian GNU/Linux

Ik mount ook af en toe mijn ntfs partitie-tje onder linux en daarvoor geef ik het volgende commando:

mount -t ntfs /dev/hde4 /mnt/xpdisk

Ik kan em dan gewoon als user gebruiken, dus probeer het eens zonder -o ro :)

Suc6 !

Epox 8KRA2+ AMD Athlon 2400+ 768 Mb DDR Club3D Nvidia Geforce 5900 XT Asus 50x CD-rom AOpen 4x CD-R Maxtor 60 GB UDMA 133 Seagate 160 GB UDMA100 HP M700 WinXP


  • DAzN
  • Registratie: April 2000
  • Niet online
mount -t ntfs /dev/hde4 /mnt/xpdisk
Helaas, ook geprobeerd. Geen oplossing voor het probleem. Zowel in de filemanager als op de shell krijg ik een *permission denied* :'(

edit: uiteraard wel de schijf en directory aangepast :p

  • deadinspace
  • Registratie: Juni 2001
  • Laatst online: 16-08 16:08

deadinspace

The what goes where now?

Uit de mount manpage:
code:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
Mount options for ntfs
     iocharset=name
          Character set to use when returning file names.  Unlike VFAT, NTFS suppresses names that contain unconvertible characters.

     utf8   Use UTF-8 for converting file names.
          
     uni_xlate=[0|1|2]
          For  0  (or  `no'  or `false'), do not use escape sequences for unknown Unicode characters.  For 1 (or `yes' or `true') or 2, use
          vfat-style 4-byte escape sequences starting with ":". Here 2 give a little-endian encoding and 1 a byteswapped  bigendian  encod-
          ing.
          
     posix=[0|1]
          If enabled (posix=1), the file system distinguishes between upper and lower case. The 8.3 alias names are presented as hard links
          instead of being suppressed.
          
     uid=value, gid=value and umask=value
          Set the file permission on the filesystem.  By default, the files are owned by root and not readable by somebody else.

  • DAzN
  • Registratie: April 2000
  • Niet online
Oeps, word ik zo even terechtgewezen. Sorry!