Unix Technical Forum

2 problems due to the same reason?

This is a discussion on 2 problems due to the same reason? within the Gentoo Linux Support forums, part of the Unix Operating Systems category; --> Hello, I have two weird problems. My first problem is my 2nd digicam (Fuji Finepix A303). With my one ...


Go Back   Unix Technical Forum > Unix Operating Systems > Gentoo Linux Support

Register FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 02-21-2008, 10:33 AM
Markus Pitha
 
Posts: n/a
Default 2 problems due to the same reason?

Hello,
I have two weird problems. My first problem is my 2nd digicam (Fuji
Finepix A303). With my one camera (HP 635), I can easily get the photos
off the camera with the program Digikam (0.7.1). With my Fujicam, I
can't. Not even as root is it possible to connect to the camera with the
program Digikam. Then I tried to mount the camera /dev/sda1 to any
mountpoint (e.g. /mnt/digicam) and so it's possible to get the photos
off the camera, but only as root. When I want to change to the directory
/mnt/digicam with my standard user when the camera is mounted, I have no
possibility to do that. Not even when the mountpoint belongs to my
standard user.

My 2nd problem is K3B. Earlier I had no problem to burn any data on any
CDs. Suddendly, K3B doesn't find my burner and my CDrom anymore, but I
can burn as root.

Are these 2 problems caused by the same reason, and how can I solve this
problem?
I didn't change anything in my system, so that's why I'm so puzzled at
this problems.
The entries in my fstab didn't change. I had always these settings:

/dev/cdroms/cdrom0 /mnt/cdrom iso9660 noauto,ro,users 0 0
/dev/cdroms/cdrom1 /mnt/cdr iso9660 noauto,rw,users
0 0




Markus.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 02-21-2008, 10:33 AM
Christopher Kerr
 
Posts: n/a
Default Re: 2 problems due to the same reason?

Markus Pitha wrote:

> Hello,
> I have two weird problems. My first problem is my 2nd digicam (Fuji
> Finepix A303). With my one camera (HP 635), I can easily get the photos
> off the camera with the program Digikam (0.7.1). With my Fujicam, I
> can't. Not even as root is it possible to connect to the camera with the
> program Digikam. Then I tried to mount the camera /dev/sda1 to any
> mountpoint (e.g. /mnt/digicam) and so it's possible to get the photos
> off the camera, but only as root. When I want to change to the directory
> /mnt/digicam with my standard user when the camera is mounted, I have no
> possibility to do that. Not even when the mountpoint belongs to my
> standard user.
>
> My 2nd problem is K3B. Earlier I had no problem to burn any data on any
> CDs. Suddendly, K3B doesn't find my burner and my CDrom anymore, but I
> can burn as root.
>
> Are these 2 problems caused by the same reason, and how can I solve this
> problem?
> I didn't change anything in my system, so that's why I'm so puzzled at
> this problems.
> The entries in my fstab didn't change. I had always these settings:
>
> /dev/cdroms/cdrom0 /mnt/cdrom iso9660 noauto,ro,users 0
> 0
> /dev/cdroms/cdrom1 /mnt/cdr iso9660 noauto,rw,users
> 0 0
>
>
>
>
> Markus.


for the first problem - have you made an entry in fstab, with 'users' for
the camera?
(you may also be interested in looking at using udev to create a differently
named device file ( eg /dev/hpcam, /dev/fujicam) for each camera.

for the second problem, you need to note that the file system cannot write
to a CDR: it needs to be written by a burning program - i.e. the device
file, not the mount point, must be writeable

try adding yourself to the 'burning' group if there is one, or making
cdrecord SUID root


Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 02-21-2008, 10:33 AM
A. Banani
 
Posts: n/a
Default Re: 2 problems due to the same reason?

Markus Pitha wrote:
> Hello,
> I have two weird problems. My first problem is my 2nd digicam (Fuji
> Finepix A303). With my one camera (HP 635), I can easily get the photos
> off the camera with the program Digikam (0.7.1). With my Fujicam, I
> can't. Not even as root is it possible to connect to the camera with the
> program Digikam. Then I tried to mount the camera /dev/sda1 to any
> mountpoint (e.g. /mnt/digicam) and so it's possible to get the photos
> off the camera, but only as root. When I want to change to the directory
> /mnt/digicam with my standard user when the camera is mounted, I have no
> possibility to do that. Not even when the mountpoint belongs to my
> standard user.
>
> My 2nd problem is K3B. Earlier I had no problem to burn any data on any
> CDs. Suddendly, K3B doesn't find my burner and my CDrom anymore, but I
> can burn as root.
>
> Are these 2 problems caused by the same reason, and how can I solve this
> problem?
> I didn't change anything in my system, so that's why I'm so puzzled at
> this problems.
> The entries in my fstab didn't change. I had always these settings:
>
> /dev/cdroms/cdrom0 /mnt/cdrom iso9660 noauto,ro,users 0 0
> /dev/cdroms/cdrom1 /mnt/cdr iso9660 noauto,rw,users
> 0 0
>
>
>
>
> Markus.


Hi,

the second problem is due to lacking permissions for the cd devices.
Just check if your devices have the proper permissions in /dev. If you
are using udev, change the permissions in /etc/udev/rules.d/.

cheer ali
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4 (permalink)  
Old 02-21-2008, 10:33 AM
ray
 
Posts: n/a
Default Re: 2 problems due to the same reason?

Life is a lot nicer with a USB card reader. Crucial makes a nice six in
one for about $12 - free shipping when last I checked.

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #5 (permalink)  
Old 02-21-2008, 10:33 AM
Markus Pitha
 
Posts: n/a
Default Re: 2 problems due to the same reason?

Hello,

I saw that I can not even listen to CDs as normal user. It's obvious
that it has to do with some permission problems, but where could I find
them? At the moment im trying to find out, which permission problems
lead to this behaviour.
My burner and cdrom seems to be ok:

brw-rw---- 1 root cdrom 3, 64 Oct 2 14:16 /dev/hdb
brw-rw---- 1 root cdrom 3, 64 Oct 2 14:16 /dev/hdd

fstab seems to be ok too:

/dev/cdroms/cdrom0 /mnt/cdrom iso9660 noauto,ro,users 0 0
/dev/cdroms/cdrom1 /mnt/cdr iso9660 noauto,rw,users
0 0

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #6 (permalink)  
Old 02-21-2008, 10:33 AM
A. Banani
 
Posts: n/a
Default Re: 2 problems due to the same reason?

Markus Pitha wrote:
> Hello,
>
> I saw that I can not even listen to CDs as normal user. It's obvious
> that it has to do with some permission problems, but where could I find
> them? At the moment im trying to find out, which permission problems
> lead to this behaviour.
> My burner and cdrom seems to be ok:
>
> brw-rw---- 1 root cdrom 3, 64 Oct 2 14:16 /dev/hdb
> brw-rw---- 1 root cdrom 3, 64 Oct 2 14:16 /dev/hdd
>
> fstab seems to be ok too:
>
> /dev/cdroms/cdrom0 /mnt/cdrom iso9660 noauto,ro,users 0 0
> /dev/cdroms/cdrom1 /mnt/cdr iso9660 noauto,rw,users
> 0 0
>


does your user belong to the group cdrom ?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #7 (permalink)  
Old 02-21-2008, 10:33 AM
Markus Pitha
 
Posts: n/a
Default Re: 2 problems due to the same reason?

Hello,

A. Banani wrote:
> does your user belong to the group cdrom ?


Yes, he does. It already checked that twice.
I'm in cdrom and cdrw.
Any other ideas?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 09:21 PM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0
www.UnixAdminTalk.com