[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Probleme mit umask, habe keine Schreibrechte



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1


Hallo,

Jens Schüßler schrieb:
>> /dev/hdf1  /mnt/eigenes   ntfs  uid=(meineUID),gid=(meineGID),umask=0027,nls=utf8   0  0
>> wobei ich befürchte, dass "nls" überflüßig ist
> 
> Mit der umask setzt du immer nur die Berechtigungen für neu erstellte
> Dateien auf dem Filesystem, das gilt nicht für vorhandene Dateien die
> schon andere Rechte gesetzt haben. Wie gesagt, lies dir zu so
> grundsätzlichen Sachen die Fibel durch.

Naja...
Für Dateisysteme, die keine Eigene Rechte/Eigentümer...-Verwaltung machen,
gilt dann die umask => FAT.
Bei NTFS gibt es aber eigene Rechte, wie die dann allerdings in
Linux dargestellt werden weiß ich auch nicht so genau (grad kein NTFS in Reichweite ;) )

> Aber von NTFS-Zugriff hab ich ehrlich gesagt keinen Plan, noch nie benutzt.

Lesen funktioniert normalerweise, schreiben sollte man noch vorsichtig nutzen...

Hab grad nochmal im 2.6.21.5er Kernel nachgeschaut:

 CONFIG_NTFS_RW:                                                                                                                 │
  │                                                                                                                                 │
  │ This enables the partial, but safe, write support in the NTFS driver.                                                           │
  │                                                                                                                                 │
  │ The only supported operation is overwriting existing files, without                                                             │
  │ changing the file length.  No file or directory creation, deletion or                                                           │
  │ renaming is possible.  Note only non-resident files can be written to                                                           │
  │ so you may find that some very small files (<500 bytes or so) cannot                                                            │
  │ be written to.                                                                                                                  │
  │                                                                                                                                 │
  │ While we cannot guarantee that it will not damage any data, we have                                                             │
  │ so far not received a single report where the driver would have                                                                 │
  │ damaged someones data so we assume it is perfectly safe to use.                                                                 │
  │                                                                                                                                 │
  │ Note:  While write support is safe in this version (a rewrite from                                                              │
  │ scratch of the NTFS support), it should be noted that the old NTFS                                                              │
  │ write support, included in Linux 2.5.10 and before (since 1997),                                                                │
  │ is not safe.                                                                                                                    │
  │                                                                                                                                 │
  │ This is currently useful with TopologiLinux.  TopologiLinux is run                                                              │
  │ on top of any DOS/Microsoft Windows system without partitioning your                                                            │
  │ hard disk.  Unlike other Linux distributions TopologiLinux does not                                                             │
  │ need its own partition.  For more information see                                                                               │
  │ <http://topologi-linux.sourceforge.net/>                                                                                        │
  │                                                                                                                                 │
  │ It is perfectly safe to say N here.                                                                                             │

> Für feinere Zugriffskontrolle könnte man aber vielleicht auch die Platten
> als SMB-Shares einbinden, ich glaub die normalen Mountoptionen geben da
> nicht so viel her.

Ich glaube er wollte nicht noch ein virtuelles Windows starten,
um auf seine Daten zuzugreifen ...


@Alice: Wenn du die Daten von Windows und Linux beschreiben willst, solltest
 du Sie auf eine FAT-Partition kopieren. Wenn du bei Linux bleiben willst,
 mach ein Backup und kopiere Sie auf eine Linux-Partition (z.b. ext3)


Viele Grüße

Thomas Sesselmann

- --
Dipl.-Inf. Thomas Sesselmann         __O
Kirchhoff-Institut für Physik      _\-<,
Universität Heidelberg           _(_)/(_)_
INF227 / D-69120 Heidelberg
Tel.:   +49/6221/54-9132
E-Mail: Thomas.Sesselmann@kip.uni-heidelberg.de
gpg-key: 0x9392E54B  or finger -l tsesselm@ix.urz.uni-heidelberg.de
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFGqZRVEQVslJOS5UsRAtFHAJ9T3QL6BS0U0q3uq/GPImTOtJwuvQCfSI9C
kyrynw9TBBeg8DTKZoLuCrQ=
=KPX3
-----END PGP SIGNATURE-----



Reply to: