LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices



Reply
 
Search this Thread
Old 02-12-2004, 09:32 AM   #1
hitesh_linux
Member
 
Registered: Dec 2001
Location: /root
Distribution: FreeBSD,NETBSD,redhat
Posts: 472

Rep: Reputation: 30
digital Camera not shows up on non-user desktop


Hello,

I look after my friend computer and have set them up with Lindows 4.0 . My Dad purchased a digital Camera a Minolta ZImage. It shows up on the root desktop but not the non-user desktop (a.k. my friend's desktop). How do I set it up so that he is able to get access to his digital camera as a removable storage media.
or is there any permissions settings i have to setup for non-user?

please help me.....

Thank you,
 
Old 02-12-2004, 11:04 AM   #2
trickykid
Guru
 
Registered: Jan 2001
Posts: 24,133

Rep: Reputation: 199Reputation: 199
Most likely you need to change the permission settings on the /dev to: rw-rw-rw- for other users to be able to read from, etc.
 
Old 02-12-2004, 11:13 AM   #3
hitesh_linux
Member
 
Registered: Dec 2001
Location: /root
Distribution: FreeBSD,NETBSD,redhat
Posts: 472

Original Poster
Rep: Reputation: 30
Thanks,

But, it's shows something like,

drwx-r-xr-x 1 root root 0 dec 31 1969 usb.

what to do?

Thank you,

Last edited by hitesh_linux; 02-12-2004 at 11:14 AM.
 
Old 02-12-2004, 11:27 AM   #4
trickykid
Guru
 
Registered: Jan 2001
Posts: 24,133

Rep: Reputation: 199Reputation: 199
Are you mounting it from /dev/usb ? I would think if this is a digital camera it might be something like /dev/sda1 or along those lines, etc?

chmod 666 /dev/XXXX

Where the X's are the actual device its mounting or using and rw for everyone should do the trick in most cases.
 
Old 02-14-2004, 02:28 AM   #5
hitesh_linux
Member
 
Registered: Dec 2001
Location: /root
Distribution: FreeBSD,NETBSD,redhat
Posts: 472

Original Poster
Rep: Reputation: 30
Hi trickykid,

Thanks for kindly reply.

I want to know where usb device are mounting, i mean to say in which file(/) it should display.

i want to see that devices information.then only i can come to know it is mounting as /dev/usb or /dev/sba1

and then only i can set the permission for normal user.

so please help me....

Thank you,
 
Old 02-28-2004, 12:39 PM   #6
Kerridis
LQ Newbie
 
Registered: Jun 2001
Location: Germany
Distribution: siduction, antiX, LXLE, Kubuntu
Posts: 25

Rep: Reputation: 15
Question

Hi hitesh_linux,

I am not sure if I understand what you want to know.
You are not looking for /etc/fstab where all devices are listed with their mounting points? or the LindowsOS-specific /etc/harddrive.inf (used to autogenerate /etc/fstab at bootup)?

SuSE for example adds a line to /etc/fstab every time a usb device is plugged in...

The other idea: you write the camera shows up on the root desktop. When I rightclick on a device on my desktop and choose properties I can see which device it is and what's the mounting point...
 
Old 02-28-2004, 03:52 PM   #7
hitesh_linux
Member
 
Registered: Dec 2001
Location: /root
Distribution: FreeBSD,NETBSD,redhat
Posts: 472

Original Poster
Rep: Reputation: 30
Hello Kerridis,

Thanks for kinldy reply,

I have reposted my first question below.i hope now u can recreate the behavior.

-------------------------------------------------------------------------------------------
I look after my friend computer and have set them up with Lindows 4.0 . My Dad purchased a digital Camera a Minolta ZImage. It shows up on the root desktop but not the non-user desktop (a.k. my friend's desktop). How do I set it up so that he is able to get access to his digital camera as a removable storage media.
or is there any permissions settings i have to setup for non-user?

please help me.....
---------------------------------------------------------------------------------------------

now, as other user has given there suggestion , i want to know how can set the permission for user, so user can view camera.

can i set from console? how and where it shoudl mount.

i have seen under /etc/fstab but it is not there. now, i can't able to see this from 'root user. but when i check it under 'L' menu > settings > control panel. it was there.

So can you suggest me how can i set user persmissions and how can i view it from console for each user(root,normal user) (let's forget about GUI based).

I hope now you got my point.

Thank you,
 
Old 02-29-2004, 08:52 AM   #8
Kerridis
LQ Newbie
 
Registered: Jun 2001
Location: Germany
Distribution: siduction, antiX, LXLE, Kubuntu
Posts: 25

Rep: Reputation: 15
Ok - for I do not have LindowsOS 4.0 but 4.5 and don't know if they are similar in this case, I can only tell you what I have done to make a usb device be usable for a normal 4.5 user. The rest is guessing...

Be logged in as root, plug your camera in - the link on the desktop appears. Rightclick to its properties. My link tells me that my camera, mp3 player or usb stick (whatever I plug in first in this session) is /dev/sda1 (for there are no other (emulated) scsi or usb devices, the second device will be /dev/sdb1 even if I remove the first one before it) and is mounted to /root/.D (every usb gets mounted to .D if it is the only one attached).

Now I look at /dev/sda1 and see it belongs to user root, group disk.

I edited the group "disk" with kuser so that my user belongs to that group too.

Maybe that will be enough, for 4.5 it was.

If not, additionally try this:

Symlink /root/.D (or the directory shown in your link) to /home/youruser/.D and make /root/.D fully accessible to group disk (to which your user now belongs (or create a directory somewhere else and symlink it to both).

Copy the link created on the root's desktop to /home/youruser/mydevices or so - whatever you like and where you can find it

I guess the OS is smart enough to recognize the plugged in device even if you are not root. It just won't show the link. So when you have a permanent link for your user you can mount and access the device by clicking on it. At least I hope so...
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Digital Camera Tank400 Mandriva 2 12-19-2004 03:51 PM
desktop shows on TV but movie shows black screen litrelord Mandriva 6 07-05-2004 06:10 AM
accessing digital camera as user, bennythepitbull Slackware 1 11-04-2003 03:29 AM
Digital Camera matt3333 Slackware 4 10-05-2003 10:49 PM
Digital Camera Software for an non-root user gboutwel Linux - Software 2 06-29-2002 01:12 AM


All times are GMT -5. The time now is 04:03 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration