-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 2012-10-06 09:49, doiggl@velocitynet.com.au wrote:
Hello, I have an external drive formatted and attached at bootup. The /etc/fstab entry is this: /dev/sdb1 /media/disk reiserfs acl,user_xattr 1 2
The problem is that a ordinary user cannot write to the disk , only root can. I am using opensuse 12.1 on this machine.
Questions. -How can the disk be mounted so a ordinary user can write to the disk ? -What commands do I need to run to to do this, examples would be useful ?
Several things. As you are using fstab, change the mount point to /mnt/myexternal or any other place you like - but never /media. Leave /media for the automatic system. Do not use device names as /dev/sdb1. Never. You can instead create a label on that disk: reiserfstune --label MyExternal /dev/sdb1 Then, 1st question. fstab line: LABEL=MyExternal /mnt/myexternal reiserfs acl,user_xattr,user,nofail,noauto 1 2 noauto is optional. 2nd question: · Chown the /mnt/myexternal to your user. · Or create a subdirectory that belongs to your user · Or instead of chowning, change the permission (chattr) so that the group has rxw permissions, and then your user belongs to that group. - -- Cheers / Saludos, Carlos E. R. (from 12.1 x86_64 "Asparagus" at Telcontar) -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.18 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://www.enigmail.net/ iEYEARECAAYFAlBwHTsACgkQIvFNjefEBxpCqACdH7ruuk95PfDhNKrtKY13uMGL b+4AmwSO/Agf4gWIC4CH/8hAQsXqNzL0 =7++z -----END PGP SIGNATURE----- -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org