On Fri, 22 Aug 2008 12:26:01 GMT
hitechchef <hitechchef@no-mx.forums.opensuse.org> wrote:
> Yes, I have 2 hard drives. Seagate 320G. This is partitioned into 125G
> for Linux and 175G NTFS. Hitachi 500G. This is all NTFS.
>
> They are mounted read/write for root. But in normal login they are
> reead only.
>
> I formatted both drives, and also ran scandisk from Windows. Still no
> luck.
>
> linux-neon:/home/nittin # cat /etc/fstab
> /dev/disk/by-id/scsi-SATA_MAXTOR_6L040J2_362209121618-part1 /windows/C
> ntfs-3g
> users,gid=users,fmask=133,dmask=022,locale=en_US.UTF-8 0 0
> /dev/disk/by-id/scsi-SATA_ST3320620AS_6QF45FF3-part1 /windows/D
> ntfs-3g users,gid=users,fmask=133,dmask=022,locale=en_US.UTF-8 0 0
> /dev/disk/by-id/scsi-SATA_Hitachi_HDP7250_GEB531RE0YWR4B-part1
> /windows/E ntfs-3g
> users,gid=users,fmask=133,dmask=022,locale=en_US.UTF-8 0 0
Actually, looks like there’s three drives in the system, a Seagate 320GB, a
Maxtor 40GB and the Hitachi 500GB… but that’s not the issue.
I believe you cannot get WRITE access to the files because you’ve masked it
out.
The fmask and dmask options to ntfs-3g act as ‘blocks’ to the permissions
actually show to a user.
Think of the permissions as the triplets:
rwxrwxrwx = 777
The fmask=133 options TURNS OFF those bits… so you get
rwxrwxrwx = 777
–x-wx-wx = 133 (these are cleared)
rw-r–r-- = 644 (all that is given)
Your dmask = 022, so:
rwxrwxrwx = 777
----w–w- = 022 (to be cleared)
rwxr-xr-x = 755 (passed to system)
The question now is… who’s the owner? You’ve got ‘users’ in the mount
options, meaning that any user should be able to mount and umount the
partitions… but when they’re initially mounted… who owns the mounts?
If they’re automounted at boot, then the owner at that time would be root…
and since root owns the mount, everyone else (group and other), get read only
access.
Adding the ‘noauto’ option should help resolve this, although someone would
have to mount the fuse mounts at some time.
Hope this helps
Loni
–
L R Nix
lornix@lornix.com