You are not logged in.
i need a working user account where i can mount/unmount,play music, video,blah blah..basically do everything i can as root ,(but obviously not edit system files..) ...what groups do i need to add this user to? ive added this user to some groups, and strangely im able to access my fat32, but not my ntfs partition using this account..(fstab has "defaults,user" for both partitions)
oh and how do i give this user write access to these partitions?(ntfs/vfat and backup reiser partition)?
is there anyway to give user access to pacman? what do groups like bin.adm,tty,daemon do exactly? (manpage?)
thanks very much!
Offline
i think you need to add a umask to the ntfs fstab entry, IINM
Offline
if i remember correctly, umask=000 should be added to fstab ...such as:
/dev/discs/disc0/part2 / reiserfs defaults,user,umask=000 0 0
thats what i tried...however when i try to mount, i get an error ..and a dmesg | tail gives me
ReiserFS: hda2: warning: unknown mount option "umask=000"
ReiserFS: hda2: warning: unknown mount option "umask=000"
ReiserFS: hda2: warning: unknown mount option "umask=000"
so where do i shove umask=000 ??
Offline
NTFS in linux still does not have full write support. you can only overwrite an existing file and may not change it in size. read <kernelsource>/Documentation ;p
I recognize that while theory and practice are, in theory, the same, they are, in practice, different. -Mark Mitchell
Offline
Maybe try umask=0002 0 0 or umask=0007 0 0
for pacman you can get the sudo package and run it as sudo -u root pacman -you_command. The user has to be added to the wheel group and the sudoers config files has to have wheel group uncommented
Offline
ok umask doesnt seem to work..i managed to get the vfat and backup reiserfs partition to work by removing the default line in fstab and just using the "user" option...however, im still not able to see my ntfs partition...(i dont need to write, just read)
Offline
Here's the ntfs line from my fstab:
/dev/discs/disc0/part1 /mnt/winxp ntfs noauto,user,ro,umask=022 1 0
Just modify the first two items to reflect your ntfs partition and mount point.
Offline
thanks...it worked fine!
Offline
You can list all available groups with :
cat /etc/group
Usually, here is how a set up a simple user :
useradd username -m -G users,wheel,audio,optical,games -s /bin/bash
Offline
You'll have to add the games group yourself...
(Hmm... I don't think a games group is needed to play games in Arch by default. I could see why you'd want to set it up that way, but if nobody else is using your box, I don't really see the need. Then again, I am a newbie.)
Also, bash is used as the shell by default, unless my command line is lying to me.
Offline