Re: changing permissions on mount

This was rather pointless. The users could already use the mount command. You problem is not in the command itself but in the file /etc/fstab where you specify the drive's mount settings.

The error message above specifies that the settings are configured so that only root is allowed to do this, not that only root is able to. Please note, modifying this is considered a security breach.

To fix this you edit the file /etc/fstab and modify the entry you want to be user mountable. You may also need to set the permissions on the mount point in the file system depending on the desired security. A couple of examples follows.

From left to right, the device to mount, the desired mount point, the filesystem (IIRC this is correct for Win9x-ME I don't have a Win partition,) the mount options (explained below) fs dump value and fs pass value. Note the white space between items, see the fstab file.

users = allows any user to mount or unmount a device or filesystem. Compare to user which allows anyone to mount the device/fs and only that same user or root to unmount it. This is often preferred by some users.

noauto = don't mount automatically.

defaults = apply any standard mount options not specified for the given filesystem.

nehsa wrote:

chgrp users /mnt/win-d
chmod g+wxr /mnt/win-d

This does do anything..

Sure it does. It gave the directory RWX permissions for the group. However, unless you really want everyone in that group to access these file areas, this is not a good idea. I suggest a smaller group which excludes the possibility of external access via hacking. Then again, I'm a little paranoid.

Re: changing permissions on mount

That worked, I have two questions though..

I can access partition E because it is vfat and set to group users. Problem is, drive C & D are both NTFS and set to root.root. I assume thats why I can access E but get a
"bash: cd: /mnt/c: Permission denied" when I try to access the others. Any way around this?

Second questions, I guess why it wasn't working before was because it was automounting to root? Is there a way to have it automount on bootup but still be accessible from my user account?

Re: changing permissions on mount

Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael FaradayYou assume people are rational and influenced by evidence. You must not work with the public much. -- Trilby----How to Ask Questions the Smart Way