[gentoo-user] Re: k3b and now NTFS access rights
Neil Bothwick wrote: > > user or users. The difference is that with user, only the user that > mounted a filesystem, or root, can umount it. With users, user A can > mount a filesystem and user B can umount it. What a right 'carry on' this access issue is. I eventually got on the machine in question. Two NTFS partitions. When I add noauto,ro,user,uid=1001 the user in question can mount and read the various files. The respective mount point under /mnt/Suzy_WinXP is shown as suzy:root. As soon as I remove the uid number from fstab the user can no longer access the files! Konqueror comes up with this error: "Unable to enter file:///mnt/Suzy_WinXP. You do not have access rights to this location." The /mnt/Suzy_WinXP is now shown as root:root and Konqueror shows "Locked Folder". The funny thing is that the NTFS partition *is* mounted as shown in mount: === /dev/sda14 on /mnt/Suzy_WinXP type ntfs (ro,noexec,nosuid,nodev) === So, if I want to mount NTFS partitions by different users what am I supposed to do? Pile up the uid Nos? There must be a better way. Unlike VFAT partitions which do not recognise/require ownership NTFS does not seem to want to play. Are your experiences different? -- Regards, Mick -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Re: k3b and now NTFS access rights
On Wed, 04 Jan 2006 22:01:51 +, Mick wrote: > So, if I want to mount NTFS partitions by different users what am I > supposed to do? Pile up the uid Nos? There must be a better way. There is, set a suitable umask value. By default, NTFS partitions are mounted readable only by the user that mounted them. Setting umask=222 makes them readable by everyone, but still writable by no-one (although NTFS is usually mounted ro so this makes little difference). See the NTFS section of man mount. -- Neil Bothwick Happiness is merely the remission of pain. signature.asc Description: PGP signature
RE: [gentoo-user] Re: k3b and now NTFS access rights
> -Original Message- > From: Peter Ruskin [mailto:[EMAIL PROTECTED] > Sent: 04 January 2006 22:49 > To: gentoo-user@lists.gentoo.org > Subject: Re: [gentoo-user] Re: k3b and now NTFS access rights > > > > I don't see your problem. This is how my fstab shows ntfs: > > /dev/hdf9 /mnt/win/o ntfs rw,umask=0,posix=1,users,nls=utf8 0 0 I'm lost! What does posix=1 mean? -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Re: k3b and now NTFS access rights
On 5 Jan 2006, at 12:43, Michael Kintzios wrote: I don't see your problem. This is how my fstab shows ntfs: /dev/hdf9 /mnt/win/o ntfs rw,umask=0,posix=1,users,nls=utf8 0 0 I'm lost! What does posix=1 mean? From `man mount`: Mount options for ntfs ...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. Stroller -- gentoo-user@gentoo.org mailing list
RE: [gentoo-user] Re: k3b and now NTFS access rights
> -Original Message- > From: Stroller [mailto:[EMAIL PROTECTED] > Sent: 05 January 2006 13:32 > To: gentoo-user@lists.gentoo.org > Subject: Re: [gentoo-user] Re: k3b and now NTFS access rights > > > > On 5 Jan 2006, at 12:43, Michael Kintzios wrote: > >> > >> I don't see your problem. This is how my fstab shows ntfs: > >> > >> /dev/hdf9 /mnt/win/o ntfs rw,umask=0,posix=1,users,nls=utf8 0 0 > > > > I'm lost! What does posix=1 mean? > > From `man mount`: > > Mount options for ntfs > ...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. Thanks! I've got a looot of reading to do . . . (although it's more interesting to talk it over?) So if a suitable umask sorts out the mounting of ntfs partitions, what's the recommended umask and fstab entries for a dvdrw,cdrw and dvdrom,cdrom? I note that Peter R has rw on this ntfs - is this needed for captive to work or what's the trick here? -- Regards, Mick -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Re: k3b and now NTFS access rights
On Thu, 5 Jan 2006 14:10:40 -, Michael Kintzios wrote: > So if a suitable umask sorts out the mounting of ntfs partitions, what's > the recommended umask and fstab entries for a dvdrw,cdrw and > dvdrom,cdrom? You really need to read the mount man page. umask is only for certain filesystems, it is not used with ISO9660. -- Neil Bothwick Top Oxymorons Number 2: Exact estimate signature.asc Description: PGP signature
RE: [gentoo-user] Re: k3b and now NTFS access rights
> -Original Message- > From: Neil Bothwick [mailto:[EMAIL PROTECTED] > Sent: 05 January 2006 00:55 > To: gentoo-user@lists.gentoo.org > Subject: Re: [gentoo-user] Re: k3b and now NTFS access rights > > There is, set a suitable umask value. By default, NTFS partitions are > mounted readable only by the user that mounted them. Setting umask=222 > makes them readable by everyone, but still writable by no-one > (although > NTFS is usually mounted ro so this makes little difference). > See the NTFS > section of man mount. Thanks! I've read the manual and then tried different umask options. Umask=222 seems the most reasonable for what I need. I noticed that the different subdirectories and files automatically inherit the allocated NTFS partition access rights. Is this how umask in fstab works (recursively)? On a hypothetical case where you want to give different access rights to all/some subdorectories & files, do you have to set these individually the first time after mounting the partition, use ACL's, or what else? Sorry if my questions appear silly - I've always been confused by this topic and its different permutations. -- Regards, Mick -- gentoo-user@gentoo.org mailing list