LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Debian (https://www.linuxquestions.org/questions/debian-26/)
-   -   howto change GROUP permissions (have read/googled for hours) (https://www.linuxquestions.org/questions/debian-26/howto-change-group-permissions-have-read-googled-for-hours-351440/)

arjay 08-09-2005 05:03 AM

howto change GROUP permissions (have read/googled for hours)
 
Sorry to be so thick but I have been searching and reading for hours. Now I am much wiser about everything except my simple problem.

I understand how to change permissions for files and directories but cannot, for the life of me, find how to change the permissions for a GROUP. Perhaps this is the wrong question or it is just to simple to get above the radar. I have read the mans for chown and chmod, chgrp and goodness knows what esle and can't make head or tail of them.

My problem is the classic one of digikam working under root but not as a user. There is a group called camera and I have added myself to that as a user. However, while digikam, gthumb and everything else works under root none will work under me as user.

I figure it is obviously a permission issue and think what i need to do is give read, write and execute permissions to the members of the group camera.

Can you help please?

TIA

ewt3y 08-09-2005 05:26 AM

[DO NOT DO THIS - Link Removed]

arjay 08-09-2005 05:33 AM

Quote:

Originally posted by ewt3y
[DO NOT DO THIS - Link Removed]
what the *!*?* is that supposed to mean? If you mean me to enter that in a brower - it just gives a one liner that means nothing to a relative newbie.

If you are being facetious I would appreciate a more straightfoward and helpful reply. i know my question maybe pretty pathetic but i wouldn't be here asking for help unless i really needed it. I have made some serious effort to research the problem .

makuyl 08-09-2005 05:36 AM

Try setting permissions in /etc/fstab . This is what I have:
usbfs /proc/bus/usb usbfs defaults,devuid=0,devgid=106,devmode=0666 0 0
106 is my gid for usb which my user belongs to.
Also have a look at setting up permissions on usb cameras: http://gphoto.sourceforge.net/doc/manual/

arjay 08-09-2005 05:41 AM

makuyl

Thanks for the pointers - I'll give 'em a try in a minute - just trying to configure Wine!!

arjay 08-09-2005 06:12 AM

Quote:

Originally posted by makuyl
Try setting permissions in /etc/fstab . This is what I have:
usbfs /proc/bus/usb usbfs defaults,devuid=0,devgid=106,devmode=0666 0 0
106 is my gid for usb which my user belongs to.
Also have a look at setting up permissions on usb cameras: http://gphoto.sourceforge.net/doc/manual/

Brilliant pal - the fstab change did the trick. The only change I made was to
change the devgid value to 107 which is my camera group (the one that digikam seems to look for?)

BTW I don't have a usb group - not that this seems to be a problem?


Thanks again

Richard

makuyl 08-09-2005 09:08 AM

No, it doesn't matter which group you use as long as the user belongs to the group. OTOH, I think you figured this out already ;)

arjay 08-09-2005 10:20 AM

makuyl

Yuh - this linux is detective work all right. I used every version of windows from 3.1 onwards and although I had my share of problems I doubt I posted for help 20 times in 20 years.

In Linux, OTOH, in just 3 months I have already run up over 100 posts on different forums making my way through the murky waters of installing and setting up a few trial distros! Luckily - there are wonderful people out there, like yourself, who expend an enormous amount of time and effort on helping us beginners.

We are grateful (well some of us are and all of us ought to be).

Cheers

Richard

makuyl 08-09-2005 10:40 AM

Quote:

Originally posted by arjay
Yuh - this linux is detective work all right. I used every version of windows from 3.1 onwards and although I had my share of problems I doubt I posted for help 20 times in 20 years.

In Linux, OTOH, in just 3 months I have already run up over 100 posts on different forums making my way through the murky waters of installing and setting up a few trial distros!

BTDT ;)
Besides, I'm not exactly a guru, more like a intermediate user I suppose. I learn a lot by reading posts here and on another forums. Like you said, there's a lot to learn, but philosophically put, it's a path worth following. Lastly, you're welcome.


All times are GMT -5. The time now is 11:03 PM.