Bienvenido! - Willkommen! - Welcome!

Bitácora Técnica de Tux&Cía., Santa Cruz de la Sierra, BO
Bitácora Central: Tux&Cía.
Bitácora de Información Avanzada: Tux&Cía.-Información
May the source be with you!

Monday, June 15, 2009

User access in NTFS partitions

Change in /etc/fstab
users,gid=users,fmask=133,dmask=022,locale=de_DE.UTF-8 0 0
defaults 0 0
users, umask=000 0 0

If you are the only user of this machine you could use
to give you full exclusive access.
/dev/disk/by-id/ata-ST3250310AS_6RYFZQM8-part7 /home        ext3       acl,user_xattr        1 2
/dev/disk/by-id/ata-ST3250310AS_6RYFZQM8-part3 /WinXP ntfs-3g users,gid=users,fmask=133,dmask=022,locale=de_DE.UTF-8 0 0
/dev/disk/by-id/ata-ST3250310AS_6RYFZQM8-part8 /DATEN ntfs-3g uid={user name},fmask=177,dmask=077,locale=de_DE.UTF-8 0 0

fmask is a umask just for files. The 'x' bit is cleared for owner. The 'wx' bits are cleared for group and others.
dmask clears the write permission bit for group and others. The 'x' bit is different for directories. It allows you to enter a directory.

No comments: