Mount, unmount, automount?
Hi all. I have a bit of a dilemna here. After updating my software via YOU I am unable to mount any of the cd devices I have. When I attempt to I get the message the mount: must be superuser to use mount I have the proper permissions for the devices and have tried to set different groups such as disk, users, etc and have (just to see if it made a difference) change the group and permissions for /bin/(u)mount, /usr/X11R6/bin/(u)mount to users and that made it stop and think (aka stall) and then back to no superuser = no mount. I have recently also put in a 16x DVD rom drive. I have been able to mount it since I put it in about a week ago, but I'm not sure if SuSEconfig or something else latched on the the new drive (I put the DVD in the same ide position as the former cdrom) and changed something. Any "help" would be greatly apprecieated. :) Cheers, Curtis.
On Wed, 28 May 2003 21:56:12 -0700
Curtis Rey
mount: must be superuser to use mount
Are you sure the permissions of mount and umount are correct? By default it is owned by user: root, group: root and suided. Charles -- "Nature abhors a Vacuum" -- Brian Behlendorf on OSS (Open Sources, 1999 O'Reilly and Associates)
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Wednesday 28 May 2003 22:37, Charles Philip Chan wrote:
On Wed, 28 May 2003 21:56:12 -0700
Curtis Rey
wrote: mount: must be superuser to use mount
Are you sure the permissions of mount and umount are correct? By default it is owned by user: root, group: root and suided.
Charles
I don't understand what you mean by "permissions of mount and umount". I have a friend whose system I installed 8.0 and now 8.2 on, and his cdrom and cd-rw mount/umount just fine, but I have the same problem with his M$ partition as Curtis is having with his cdrom and cd-rw. I've gone into Yast@ and played with partion, and still I can't get the M$ OS partition to mount or umount...even as root (it boots into his desktop already mounted, even though I've made his fstab exactly like mine and other varios configurations). This is really driving me (and my friend) nuts, heh. John - -- I needed fresh bugs for my SuSE gecko, and Linux penguin. So I went out and caught this huge ugly blue and red and green and yellow butterfly. They won't need fresh food for 3 months now. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.2 (GNU/Linux) iD8DBQE+1ahBH5oDXyLKXKQRAl5XAJ0ehkH1Qg9COJUJdZF4Q4yg0mfJLwCeN5Xo y3M4L3ArAev5mEXUk/awvCU= =5gs+ -----END PGP SIGNATURE-----
On Thu, 29 May 2003 01:27:06 -0500
John
I don't understand what you mean by "permissions of mount and umount".
Curtis' problem turned out to be that somehow the suid bit of mount and umount got turned off, thus he can't mount/umount outside of root.
and still I can't get the M$ OS partition to mount or umount...even as root.
What type of partition, Fat32 or NTFS? What errors does:
mount -t vfat <device>
and still I can't get the M$ OS partition to mount or umount...even as root.
Curtis, check the permissions on smbmount and smbumount. I added them to permissions.local, so that a user can mount/unmount a SMB share. -- Joe Morris New Tribes Mission Email Address: Joe_Morris@ntm.org Web Address: http://www.mydestiny.net/~joe_morris Registered Linux user 231871 God said, I AM that I AM. I say, by the grace of God, I am what I am.
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Thursday 29 May 2003 07:59, Joe Morris (NTM) wrote:
and still I can't get the M$ OS partition to mount or umount...even as root.
Curtis, check the permissions on smbmount and smbumount. I added them to permissions.local, so that a user can mount/unmount a SMB share.
-- Joe Morris
Hmmm...looks like I *did* hijack this thread. My apologies to all, I didn't mean to. You're answering my post Joe, but I don't see that as a problem, since on my own system I never had any trouble getting my windows partition to be seen and mountable/umountable, and on his system when I installed 8.0 there wasn't any problem there either...it's just this 8.2 installation that's giving his system a few hiccups here and there. Something else that's real strange about it, even after booting up and getting to his desktop and seeing it's already mounted (the windows partiton), trying to umount it as root or user does no good, but just 'click' on it and it'll open op the browser and we can read/write to the partition all we want to. That one really blew my mind, heh. I remember one other thng too, when I was in YaST2->partitoner, it of course sees the M$ partition, but offered no mount point for it in the pull down menu, so I wrote in windows/C, and then when I tried to umount it (right-clicking on the icon on the desktop), it said only root has this permission to mount/umount /dev/hda1 from inside windows/C...maybe I've written in something wrong at the mount point? His fstab looks like it should, nice and normal, and his lilo is *exactly* like mine, so I don't understand why it's wanting to fight me. John - -- I needed fresh bugs for my SuSE gecko, and Linux penguin. So I went out and caught this huge ugly blue and red and green and yellow butterfly. They won't need fresh food for 3 months now. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.2 (GNU/Linux) iD8DBQE+1iTkH5oDXyLKXKQRAkAFAJ9+5xLIlAgTDRgTuofa3BFfPmz9MgCfavJl 40XLgzcrrVWoZjAjY/a5BjE= =FpN5 -----END PGP SIGNATURE-----
* John
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
On Thursday 29 May 2003 07:59, Joe Morris (NTM) wrote:
and still I can't get the M$ OS partition to mount or umount...even as root.
Curtis, check the permissions on smbmount and smbumount. I added them to permissions.local, so that a user can mount/unmount a SMB share. [ snip ... ] Something else that's real strange about it, even after booting up and getting to his desktop and seeing it's already mounted (the windows partiton), trying to umount it as root or user does no good, but just 'click' on it and it'll open op the browser and we can read/write to the partition all we want to. That one really blew my mind, heh.
I remember one other thng too, when I was in YaST2->partitoner, it of course sees the M$ partition, but offered no mount point for it in the pull down menu, so I wrote in windows/C, and then when I tried to umount it (right-clicking on the icon on the desktop), it said only root has this permission to mount/umount /dev/hda1 from inside windows/C...maybe I've written in something wrong at the mount point? His fstab looks like it should, nice and normal, and his lilo is *exactly* like mine, so I don't understand why it's wanting to fight me.
Does your /etc/fstab have something similar to: /dev/hda1 /windows/C vfat users,gid=users,umask=0002,iocharset=iso8859-1,code=437 0 0 This mounts on boot and allows free access. -- Patrick Shanahan Please avoid TOFU and trim >quotes< http://wahoo.no-ip.org Registered Linux User #207535 icq#173753138 @ http://counter.li.org Linux, a continuous *learning* experience
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Thursday 29 May 2003 13:55, Patrick Shanahan wrote: <snip>
Does your /etc/fstab have something similar to: /dev/hda1 /windows/C vfat users,gid=users,umask=0002,iocharset=iso8859-1,code=437 0 0
Yessir, something similar. I'm going on memory at the moment, but I think I saw this: /dev/hda1/ /windows/C vfat user,noauto,iocharset=iso8859-1 0 0 It *did* have something much closer to what you put, but I went into fstab and changed it to what I have above, then I ran SuSEconfig, but it still wouldn't let me or root umount it, so I even logged out of X and back in...still the same, unable to umount. Maybe it should be user*s*? Heck, I even chmoded /dev/hda1 to 0666 and still couldn't umount it. And like I said before, I even made it *exactly* the same as in my fstab (which is exactly like what you put above, but mine has 'noauto' in it also)...still no joy. Pretty darn weird huh?
This mounts on boot and allows free access. -- Patrick Shanahan Please avoid TOFU and trim >quotes<
John - -- I needed fresh bugs for my SuSE gecko, and Linux penguin. So I went out and caught this huge ugly blue and red and green and yellow butterfly. They won't need fresh food for 3 months now. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.2 (GNU/Linux) iD8DBQE+1tYsH5oDXyLKXKQRAr9NAJ998Qm/u0GrD3RPFFcgsVMPPjKeaQCePHSQ 7JVtV+Av0kcutplX9ppMWdM= =HrJ+ -----END PGP SIGNATURE-----
On Wednesday 28 May 2003 11:27 pm, John wrote:
On Wednesday 28 May 2003 22:37, Charles Philip Chan wrote:
On Wed, 28 May 2003 21:56:12 -0700
Curtis Rey
wrote: mount: must be superuser to use mount
Are you sure the permissions of mount and umount are correct? By default it is owned by user: root, group: root and suided.
Charles
I don't understand what you mean by "permissions of mount and umount". I have a friend whose system I installed 8.0 and now 8.2 on, and his cdrom and cd-rw mount/umount just fine, but I have the same problem with his M$ partition as Curtis is having with his cdrom and cd-rw. I've gone into Yast@ and played with partion, and still I can't get the M$ OS partition to mount or umount...even as root (it boots into his desktop already mounted, even though I've made his fstab exactly like mine and other varios configurations). This is really driving me (and my friend) nuts, heh.
Hmmm. Did you get the updates from YOU? ... And/or update kde for the suppl dir on the SuSE ftp? Another thing is to go into yast in the hardware and partitioner. The look at the option for the mount point. The is an option to "allow as user mountable" or something to that effect. Don't know but might be something to look at. Cheers, Curtis.
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Thursday 29 May 2003 03:57, Curtis Rey wrote: <snip>
Hmmm. Did you get the updates from YOU? ... And/or update kde for the suppl dir on the SuSE ftp?
Another thing is to go into yast in the hardware and partitioner. The look at the option for the mount point. The is an option to "allow as user mountable" or something to that effect. Don't know but might be something to look at.
Cheers, Curtis.
That's what I've been thinking, that maybe it just needs the updates. Unfortunately, about a week before I installed the 8.2, his external modem took a dump on him, and he can't afford a new one at the moment (I might just take mine over to use just for getting the updates). Yes, used the partitioner in YaST2 and also made sure that was check marked, but it made no difference. Thanks for the suggestion(s) though Curtis. John - -- I needed fresh bugs for my SuSE gecko, and Linux penguin. So I went out and caught this huge ugly blue and red and green and yellow butterfly. They won't need fresh food for 3 months now. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.2 (GNU/Linux) iD8DBQE+1fuAH5oDXyLKXKQRAnMuAKDGg3MLIz3qB7BMg28YuLwDBmR0AACePjll dFmRZoW62+uoWpSsNDn4xrE= =B6zq -----END PGP SIGNATURE-----
On Wednesday 28 May 2003 08:37 pm, Charles Philip Chan wrote:
On Wed, 28 May 2003 21:56:12 -0700
Curtis Rey
wrote: mount: must be superuser to use mount
Are you sure the permissions of mount and umount are correct? By default it is owned by user: root, group: root and suided.
Charles
Yep, just retyped in the root/root, and then recheck the suid for mount/umount and that's it. But I still can't figure out what caused it to hiccup. Oh, maybe never know. Cheers, Curts.
participants (5)
-
Charles Philip Chan
-
Curtis Rey
-
Joe Morris (NTM)
-
John
-
Patrick Shanahan