-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Thursday, 2011-05-19 at 06:44 +0200, James Hatridge wrote:
Look up the file /etc/fstab. There will be a line about sdb1. Post it here.
Here is my fstab file. I could edit this right?
#########
/dev/disk/by-id/ata-ST3750528AS_9VP4QKMQ-part5 swap swap defaults 0 0 /dev/disk/by-id/ata-ST3750528AS_9VP4QKMQ-part6 / ext4 acl,user_xattr 1 1 /dev/disk/by-id/ata-ST3750528AS_9VP4QKMQ-part7 /home ext4 acl,user_xattr 1 2 /dev/disk/by-id/ata-ST3750528AS_9VP4QKMQ-part1 /windows/C ntfs-3g users,gid=users,fmask=133,dmask=022,locale=en_US.UTF-8 0 0 /dev/disk/by-id/ata-ST3750528AS_9VP4QKMQ-part2 /windows/D ntfs-3g users,gid=users,fmask=133,dmask=022,locale=en_US.UTF-8 0 0 /dev/disk/by-id/ata-ST3750528AS_9VP4QKMQ-part4 /windows/E ntfs-3g users,gid=users,fmask=133,dmask=022,locale=en_US.UTF-8 0 0 proc /proc proc defaults 0 0 sysfs /sys sysfs noauto 0 0 debugfs /sys/kernel/debug debugfs noauto 0 0 usbfs /proc/bus/usb usbfs noauto 0 0 devpts /dev/pts devpts mode=0620,gid=5 0 0 /dev/disk/by-id/ata-SAMSUNG_HD103SI_S1Y5J9CZ807169-part1 /Storage ntfs-3g users,gid=users,fmask=133,dmask=022,locale=en_US.UTF-8 0 0
It is the last line. You see the gid=users? You can, for example, add a "uid=yourusername" so that files belong to you instead of to root, so that you can write - but no other can. Or, you can change the masks. I like "fmask=0117,dmask=0007". Try till you get what you like. # fmask=0113,dmask=0022 generates these permissions # -rw-rw-r-- files # drwxr-xr-x directories/ # # fmask=0117,dmask=0027 # -rw-rw---- files # drwxr-x--- directories/ # Octal permissions (man chmod): # UserID * 4 + GroupID * 2 + sticky * 1 # Read * 4 + Write * 2 + Execute * 1 ( owner ) # Read * 4 + Write * 2 + Execute * 1 ( group ) # Read * 4 + Write * 2 + Execute * 1 ( rest ) - -- Cheers, Carlos E. R. (from 11.2 x86_64 "Emerald" at Telcontar) -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.12 (GNU/Linux) iEYEARECAAYFAk3U3mAACgkQtTMYHG2NR9XnpQCgkB2WaR4MVcGvDyFUCDnu7XPv 8ZAAn17Xj7j1puYD8QiXpK3dh0zyxROD =a+Cv -----END PGP SIGNATURE----- -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org