CD permissions

Robert Meyer meyer_rm at yahoo.com
Mon Sep 22 19:47:57 EDT 2003


Hey, folks, I'm back online!  The surgery went well and my right eye is now
20/20 with no detectable anomalies (except for the haze around lights that will
go away soon) so I can see!

As for this problem, the cdrecord binary is supposed to be setuid to root:
-rwsr-sr-x    1 root     cdwriter   244620 Sep  3  2002 /usr/bin/cdrecord*

To get to this state, issue these commands:
chown root:cdwriter /usr/bin/cdrecord
chmod ug+s /usr/bin/cdrecord

Enjoy life with the ability to burn CDs...

Cheers!

Bob
--- JB <mesimpleton at yahoo.com> wrote:
> I take it back, I still have to sign in as root. When
> I first made the changes it opened right up without
> requesting the root password, but I tried it today and
> gotta give the password. I looked at the permissions
> on the cdrecord file and it is owned by root and the
> group is users. I also went into setup for xcdroast
> but didn't find any type of permission/users stuff. Oh
> well, in a week or two I'll try out cdrbq.
> 
> --- JB <mesimpleton at yahoo.com> wrote:
> > I got it but it wasn't the way the HOWTO said.
> > chown .users /usr/bin/cdrecord
> > chmod 777 /usr/bin/cdrecord
> > 
> > 
> > --- JJ Neff <jjneff at yahoo.com> wrote:
> > > You do not have to actually log in as root to run
> > > XcdRoast, you have to have
> > > the equivalent root authority.  SO you can run
> > > Xcdroast form a cmd line with
> > > "sudo xcdroast"  granted you are in sudoers file
> > > (man sudoers, man visudo, man
> > > sudo) or "su" then enter root password and run
> > > xcdroast.  If that is what you
> > > meatn you were doing then skip to next part:-)
> > > 
> > > XCDroast has on newer instances a non-root user
> > mode
> > > that can be enabled.  I
> > > clicked the selection box to disable user mode and
> > > now I can;t figure out how
> > > to get it back :-)!
> > > 
> > > But if you check your Xcdroast there may be
> > atoggel
> > > to chang to regular user
> > > mode which changes permissions of the correct
> > things
> > > so teh cdwriter group can
> > > use xcdroast.  Now that I clicked the do not use
> > > on-root button I have to be a
> > > root equiv as well.  Wish I could figure out how t
> > > get that back, BUT now I'm
> > > playing with K3B since I am using KDE here...
> > > 
> > > JJN
> > > --- JB <mesimpleton at yahoo.com> wrote:
> > > > I changed my fstab setting from owner to users
> > and
> > > ro
> > > > to rw but I still have to log into root to use
> > the
> > > CD
> > > > burner. I am currently on a windows box and when
> > I
> > > try
> > > > to download that cdrbq I get a 15k download. I
> > am
> > > > using  xcdroast which seems to work fine except
> > > that I
> > > > have to log in as root to use it. I found this
> > bit
> > > of
> > > > information in the HOWTO's about this subject.
> > > > 
> > > > How can this be set up so that a user can burn
> > CDs
> > > > instead of always being root?
> > > > You can add the setuid-bit to the
> > > cdrecord-executable.
> > > > However, this might be a security risk. Just
> > > setting
> > > > the permissions on the device files does not
> > help
> > > as
> > > > cdrecord issues privileged commands via the SCSI
> > > > generic interfaces.
> > > > which cdrecord
> > > > chown root.root /usr/bin/cdrecord
> > > > chmod 4111 /usr/bin/cdrecord
> > > > 
> > > > I wonder if I should change my fstab back or if
> > > this
> > > > chown, chmod is the next step?
> > > > 
> > > > JB <mesimpleton at yahoo.com> wrote:
> > > > > My fstab is different and I see you must have
> > > > > changed
> > > > > it to users. Is that all that needs to be
> > done?
> > > Also
> > > > > my fstab has ro instead of rw. I would imagine
> > > that
> > > > > is
> > > > > read write? Here is what I have.
> > > > > /dev/cdrom  /mnt/cdrom  udf,iso9660
> > > > > noauto,owner,kudzu,ro 0 0
> > > > > /dev/fd0  /mnt/floppy  auto 
> > noauto,owner,kudzu
> > > 0 0
> > > > > Looks like my floppy is root only too although
> > I
> > > > > haven't actually tried it out to see for sure.
> > > > > If I just change owner to user and maybe ro to
> > > rw,
> > > > > that should do the trick. I also wonder why
> > the
> > > > > howto
> > > > > info I got earlier is a completely different
> > way
> > > > > than
> > > > > an fstab edit? Thanks.
> > > > > 
> > > > > --- Cyber Source <peter at thecybersource.com>
> > > wrote:
> > > > > > Here is a printout of my /etc/fstab, note
> > the
> > > > > cdrom
> > > > > > line. After you fix
> > > > > > that you can download a file called cdrbq,
> > it
> > > > > works
> > > > > > great. Here is a
> > > > > > link to it.
> > > > > >
> > > > >
> > > >
> > >
> >
> http://sourceforge.net/project/showfiles.php?group_id=12071&release_id=176647
> > > > > > LABEL=/                 /                   
> >  
> > > 
> > > > > ext3
> > > > > >    defaults       
> > > > > > 1 1
> > > > > > LABEL=/boot             /boot               
> >  
> > > 
> > > > > ext3
> > > > > >    defaults       
> > > > > > 1 2
> > > > > > none                    /dev/pts            
> >  
> > > 
> > > > > > devpts  gid=5,mode=620 
> > > > > > 0 0
> > > > > > none                    /proc               
> >  
> > > 
> > > > > proc
> > > > > >    defaults       
> > > > > > 0 0
> > > > > > none                    /dev/shm            
> >  
> > > 
> > > > > > tmpfs   defaults       
> > > > > > 0 0
> > > > > > /dev/sda3               swap                
> >  
> > > 
> > > > > swap
> > > > > >    defaults       
> > > > > > 0 0
> > > > > > /dev/cdrom              /mnt/cdrom          
> >  
> > > 
> > > > > > iso9660
> > > > > > noauto,users,rw,kudzu,user,unhide 0 0
> > > > > > /dev/fd0                /mnt/floppy         
> >  
> > > 
> > > > > auto
> > > > > >   
> > > > > > noauto,users,rw,kudzu 0
> > > > > > 0
> > > > > > /dev/hdb1               /mnt/windows        
> >  
> > > 
> > > > > vfat
> > > > > >    user,rw,umask=0
> > > > > > 0 0
> > > > > > 
> > > > > > 
> > > > > > On Wed, 2003-09-17 at 22:57, JB wrote:
> > > > > > 
> > > > > > > Thanks for all the help with setting
> > > > > permissions.
> > > > > > I
> > > > > > > ended up goofing it all up, but that was
> > my
> > > > > fault.
> > > > > > I
> > > > > > > did want to keep each user account
> > separate
> > > and
> > > > > > just
> > > > > > > wanted the folder of pictures to be
> > shared.
> > > I
> > > > > now
> > > > > > know
> > > > > > > that I need to make a generic user which
> > > others
> > > > > > can
> > > > > > > share resources, along with samba. I also
> > > know I
> > > > > > need
> > > > > > > to read up on chmod and chown commands. I
> > > read
> > > > > > some
> > > > > > > today and I almost understand the big
> > 
> === message truncated ===
> 


__________________________________
Do you Yahoo!?
Yahoo! SiteBuilder - Free, easy-to-use web site design software
http://sitebuilder.yahoo.com



More information about the nflug mailing list