LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   digital Camera not shows up on non-user desktop (https://www.linuxquestions.org/questions/linux-general-1/digital-camera-not-shows-up-on-non-user-desktop-145213/)

hitesh_linux 02-12-2004 08:32 AM

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,

trickykid 02-12-2004 10:04 AM

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.

hitesh_linux 02-12-2004 10:13 AM

Thanks,

But, it's shows something like,

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

what to do?

Thank you,

trickykid 02-12-2004 10:27 AM

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.

hitesh_linux 02-14-2004 01:28 AM

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,

Kerridis 02-28-2004 11:39 AM

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...

hitesh_linux 02-28-2004 02:52 PM

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,

Kerridis 02-29-2004 07:52 AM

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...


All times are GMT -5. The time now is 10:33 AM.