View previous topic :: View next topic |
Author |
Message |
newky2000 n00b
Joined: 13 Jan 2003 Posts: 36
|
Posted: Fri Jan 31, 2003 6:51 pm Post subject: User Problems |
|
|
Hi I'm havin a few problems
When I create a new user(including them in user,audio,wheel groups) i find that I can't do the following:
1)access my hardrives, including the window ntfs ones(which work in root)
2)play dvd's in xine
3)access any drives though konqueror that I mount with su.
Can you please help as I'm getting fed up of logging in everytime I boot the computer and having to run in root just to get it all to work.
Thanks |
|
Back to top |
|
|
Hysteric n00b
Joined: 31 Jan 2003 Posts: 46 Location: Québec
|
Posted: Fri Jan 31, 2003 6:56 pm Post subject: Group |
|
|
There should be a group that permit the user to access the drives, but I can't tell you which one... you should look for that group tho... |
|
Back to top |
|
|
rac Bodhisattva
Joined: 30 May 2002 Posts: 6553 Location: Japanifornia
|
Posted: Fri Jan 31, 2003 7:15 pm Post subject: |
|
|
The answer to this depends on the filesystem types. For Windowsy things, see UN2: Mounting MS Windows partitions (FAT,NTFS). For others, mount the filesystem and then use chown/chmod on the mount point. _________________ For every higher wall, there is a taller ladder |
|
Back to top |
|
|
Delphiki Guru
Joined: 04 Oct 2002 Posts: 337 Location: A2
|
Posted: Fri Jan 31, 2003 7:44 pm Post subject: |
|
|
if you add the user flag in fstab, i.e.
/dev/sda2 /mnt/ipod vfat users 0 0
then you can mount them with any user, so you don't need to su to mount them, though if you mount them as root normal users won't have access. This is what I do for my cdrw, dvd and ipod. _________________ Excellent.. |
|
Back to top |
|
|
newky2000 n00b
Joined: 13 Jan 2003 Posts: 36
|
Posted: Fri Jan 31, 2003 8:17 pm Post subject: |
|
|
will this work even if the "/mnt/" folder is root only? |
|
Back to top |
|
|
Delphiki Guru
Joined: 04 Oct 2002 Posts: 337 Location: A2
|
Posted: Fri Jan 31, 2003 8:34 pm Post subject: |
|
|
Users have to have x bit set on /mnt, but they don't need write access to /mnt. _________________ Excellent.. |
|
Back to top |
|
|
newky2000 n00b
Joined: 13 Jan 2003 Posts: 36
|
Posted: Fri Jan 31, 2003 8:40 pm Post subject: |
|
|
I tried this but mount complained of errors in the /etc/fstab
Delphiki wrote: | if you add the user flag in fstab, i.e.
/dev/sda2 /mnt/ipod vfat users 0 0
then you can mount them with any user, so you don't need to su to mount them, though if you mount them as root normal users won't have access. This is what I do for my cdrw, dvd and ipod. |
|
|
Back to top |
|
|
Delphiki Guru
Joined: 04 Oct 2002 Posts: 337 Location: A2
|
Posted: Fri Jan 31, 2003 8:43 pm Post subject: |
|
|
What was the line you had in fstab? _________________ Excellent.. |
|
Back to top |
|
|
newky2000 n00b
Joined: 13 Jan 2003 Posts: 36
|
Posted: Fri Jan 31, 2003 8:53 pm Post subject: |
|
|
I'm new to linux and am finding this a bit hard going.
I'm mounting /dev/hda1 to /mnt/win2k.
I've tried mounting it to a new folder that I created in the home folder of one of the users but it then showed a lock and said I didn't have enough permissions to access it.
I'd like just to automatically boot into root(I know the implications of this) but kde login manager will not allow me to select root for autologin. |
|
Back to top |
|
|
Delphiki Guru
Joined: 04 Oct 2002 Posts: 337 Location: A2
|
Posted: Fri Jan 31, 2003 8:58 pm Post subject: |
|
|
Read the thread that rac posted to learn how to mount an ntfs partition. If it's a vfat partition you should be able to just moutn it using the line I posted except changing /mnt/ipod to wherever you want it and changing /dev/sda2 to /dev/hda1. _________________ Excellent.. |
|
Back to top |
|
|
pjp Administrator
Joined: 16 Apr 2002 Posts: 20097
|
Posted: Fri Jan 31, 2003 10:06 pm Post subject: |
|
|
Moved from Desktop Environments. _________________ Quis separabit? Quo animo? |
|
Back to top |
|
|
newky2000 n00b
Joined: 13 Jan 2003 Posts: 36
|
Posted: Sat Feb 01, 2003 10:59 am Post subject: |
|
|
I've now made it so that I can look at mounted devices now as a non-root user but I can't umount or remount them. It says only "root can mount XXX" This makes ejecting cd's a pain in the arse.
Any ideas? |
|
Back to top |
|
|
fifo Guru
Joined: 14 Jan 2003 Posts: 437
|
Posted: Sun Feb 02, 2003 1:01 am Post subject: |
|
|
If you put the "user" option in your fstab then ordinary users should be able to mount/umount (though not remount):
Code: |
/dev/cdroms/cdrom0 /mnt/cdrom iso9660 user,noauto,ro 0 0
|
|
|
Back to top |
|
|
newky2000 n00b
Joined: 13 Jan 2003 Posts: 36
|
Posted: Sun Feb 02, 2003 12:06 pm Post subject: |
|
|
brilliant , thanks |
|
Back to top |
|
|
|