[PLUG] Partition mounting (fstab)
Mel Andres
mel97215 at comcast.net
Mon Aug 30 07:38:02 UTC 2004
Robert Kopp wrote:
> I am currently using SuSE 9.1. It is the only Linux
> distro I have ever used that does not add the Windows
> partition to fstab if it finds it. Anyhow, I did:
>
> /dev/hda1 ntfs /mnt/hda1 user,ro 0 0
>
> It was my intention to allow unprivileged users to
> access this partition in read-only mode, and once
> again, in any other Linux distro, it has worked. But
> the error message I get is "Permission not granted."
>
> Probably the permissions on the mount point are the
> problem. How should they be assigned? I am willing to
> use a different mount point, if that makes things
> easier, but preferably not in a specific home directory.
>
> =====
> Robert "Tim" Kopp
> http://analytic.tripod.com/
>
> _______________________________________________
> PLUG mailing list
> PLUG at lists.pdxlinux.org
> http://lists.pdxlinux.org/mailman/listinfo/plug
>
I am running Suse 9.0, which did add this entry into /etc/fstab:
/dev/hda2 /windows/C ntfs
ro,users,gid=users,umask=0002,nls=iso8859-1 0 0
(all one line)
The umask field is where the permissions are set, and are the inverse of
the numerical chmod settings. In my case, root, and my group have all
permissions (0's), others have read only (the 2). The umask settings can
not be over-ridden by chmod. In any case, ntfs will disallow writes.
Mel
-------------- next part --------------
A non-text attachment was scrubbed...
Name: mel97215.vcf
Type: text/x-vcard
Size: 284 bytes
Desc: not available
URL: <http://lists.pdxlinux.org/pipermail/plug/attachments/20040830/74e401a2/attachment.vcf>
More information about the PLUG
mailing list