Re: FC6 mount ntfs-3g problem.



Ian Malone wrote:

Robert McBroom pretty much has it covered from the mounting point of view: normally the users option given in fstab will let anyone mount the device (only root or the user who mounted it can then unmount it), however FUSE filesystems apparently need setuid style permissions to operate like this.

One small correction - there is a difference between user and users.

user Allow an ordinary user to mount the file system. The name of
the mounting user is written to mtab so that he can unmount
the file system again. This option implies the options
noexec, nosuid, and nodev (unless overridden by subsequent
options, as in the option line user,exec,dev,suid).

users Allow every user to mount and unmount the file system. This
option implies the options noexec, nosuid, and nodev (unless
overridden by subsequent options, as in the option line
users,exec,dev,suid).

If any user should be able to unmount, then use users instead of user in the fstab line. The owner option is similar to the user option, with the restriction that the user must be the owner of the special file. This may be useful e.g. for /dev/fd if a login script makes the console user owner of this device. The group option is similar, with the restriction that the user must be member of the group of the special file.

Mikkel
--

Do not meddle in the affairs of dragons,
for thou art crunchy and taste good with Ketchup!

Attachment: signature.asc
Description: OpenPGP digital signature

--
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list

Relevant Pages

  • RE: Machine not Booting - Continued
    ... The fstab is not to blame for this issue as i have just run mkraid /dev/md0 ... and then a mount -a and the area mounted straight away. ... it has no proper file system to mount. ...
    (RedHat)
  • Re: nfs bug & df: Can I lock up my kernel and overflow this buffer?
    ... > plus any additional options appropriate to the file system type. ... mount -o option, or it doesn't work for all of the mount_nfs stuff I ... the -o option seems to not like any of the many switches ... And that precludes using it in fstab. ...
    (freebsd-stable)
  • Re: jail getfsstat patches.
    ... > exact right thing from a jail. ... the file system is visible. ... This introduces the same dependency found in the mount system call ... mount table and reject it rather than unmount by path. ...
    (freebsd-current)
  • Re: auto mount
    ... 'mount /media/Sony' mount the automatically discovered file system. ... Allow file system to be mounted by users. ... the line in fstab should read something like: ... click the icon with the right button and select ...
    (alt.os.linux.suse)
  • Re: /bin/sh: permission denied -- fstab error?
    ... > should I change fstab? ... users Allow every user to mount and unmount the file system. ...
    (Debian-User)