Re: [newbie] permissions hell
That doesn't really help - but other unices have a 'wheel' but Linux doesn't really have it per se. It can no doubt be added, or even faked, if need be. Actually, linux does have a wheel group, as shown below. mviron@server ~ $ more /etc/group | grep wheel wheel:x:10:root mviron@server ~ $ If you need something owned by root to be accessible to the wheel group, you'd change the settings from root:root to root:wheel. Michael -- Michael Viron Project Manager / Primary Developer / Manager of Online Operations General Education Online Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [newbie] permissions hell
On Friday 30 Aug 2002 10:27 pm, you wrote: Hello, I'm running Mandrake 7.1 (I know I know, long story..) and I'm having what I think is a permissions problem. Its the cdrom and floppy drives, specificly unless I'm logged in as root I can't get to 'em. This is, a super pain. I want to be a good doobie and not play around with stuff while logged in as root, but if I want to move stuff between machines I need the floppy drive(No network yet, coming soon) So smarty that I am I pull out the books. Yes books. Then I edit /etc/group and make my user part of all the groups that look entertaining, disk,cdrom,floppy,users. Doesn't help a bit. Finally in a fit of desparation I add myself to root. Which also doesn't help a bit. Oh, I do log out between tries, but I presume theres some way around that, which I'd appreciate knowing So I'm stumped, I can mount and unmount but not use... HELP! -Curt Things are quiet at the moment - I think people are on holiday, so I'll try to help although I'm not an expert. Have you got 'user' in the definition lines in your /etc/fstab? If not, add 'user,' (without quotes of course) after the mount bit dev=/dev/whatever and before the fs=iso9660 bit. Anne Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
[newbie] permissions hell
Hello, I'm running Mandrake 7.1 (I know I know, long story..) and I'm having what I think is a permissions problem. Its the cdrom and floppy drives, specificly unless I'm logged in as root I can't get to 'em. This is, a super pain. I want to be a good doobie and not play around with stuff while logged in as root, but if I want to move stuff between machines I need the floppy drive(No network yet, coming soon) So smarty that I am I pull out the books. Yes books. Then I edit /etc/group and make my user part of all the groups that look entertaining, disk,cdrom,floppy,users. Doesn't help a bit. Finally in a fit of desparation I add myself to root. Which also doesn't help a bit. Oh, I do log out between tries, but I presume theres some way around that, which I'd appreciate knowing So I'm stumped, I can mount and unmount but not use... HELP! -Curt Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [newbie] permissions hell
This is a multi-part message in MIME format... =_1030741952-3326-218 Content-Type: text/plain; charset=us-ascii; format=flowed Hello, I'm running Mandrake 7.1 (I know I know, long story..) and I'm having what I think is a permissions problem. What are the permissions on the /dev device entries (/dev/cdrom, etc)? That's usually a clue - if they are set incorrectly, then you won't be able to access them as a user. /dev/cdrom should be permissions 440 (i.e., as root, do chmod 440 /dev/ cdrom) - because the owner should be able to access the cdrom as well as the group (more on that later) but 'outsiders' i.e., the world, if you have any remote users - shouldn't have access to the 'raw' device. Now they *can* have access to the directory where the cdrom is mounted, and IIRC that doesn't necessarily mean they need read access to the device. Lots of setups do things differently, and I may not be quoting the party line here - but it's your system :). My rationale is based on having users that can have access to the device (other than root) such as a disk or audio group. That is why I set the group read permissions on. If you yourself as a user are added to that group, then you get to use the device. What complicates matters is that (I think) somehow the permissions are being reset - and further complications arise if you use auto-mounting deamons and the like. Personally, I just like the idea of mounting a new CD as root, and then letting the user use the mount point, rather than having direct access to the device. I need the floppy drive(No network yet, coming soon) So smarty that I am I pull out the books. Yes books. Then I edit /etc/group and make my user part of all the groups that look entertaining, disk,cdrom,floppy,users. I think you're on the right track. root:x:0:root bin:x:1:root,bin,daemon daemon:x:2:root,bin,daemon,ldap (snips) (here I only have one user, i.e., me, but this should be enough cdrom:x:22:dfox usb:x:43:dfox cdwriter:x:80:dfox audio:x:81:dfox users:x:100:dfox etc. Doesn't help a bit. Finally in a fit of desparation I add myself to root. Which also doesn't help a bit. That doesn't really help - but other unices have a 'wheel' but Linux doesn't really have it per se. It can no doubt be added, or even faked, if need be. So I'm stumped, I can mount and unmount but not use... HELP! OK - now what are the permissions on /mnt/cdrom? Remember it's not simply the permissions on the device - a user needs to be able to see the files, for instance in /mnt/cdrom. If that's not also accessible by the user, it won't make a difference if he's in the cdrom or the floppy group. -Curt Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com