LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices

Reply
 
Search this Thread
Old 08-09-2005, 05:03 AM   #1
arjay
Member
 
Registered: Mar 2005
Location: Coin, Spain
Distribution: linux mint, debian lenny
Posts: 75

Rep: Reputation: 15
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
 
Old 08-09-2005, 05:26 AM   #2
ewt3y
Member
 
Registered: May 2005
Location: hanoi vietnam
Distribution: mandriva
Posts: 106

Rep: Reputation: 15
[DO NOT DO THIS - Link Removed]

Last edited by XavierP; 08-09-2005 at 12:46 PM.
 
Old 08-09-2005, 05:33 AM   #3
arjay
Member
 
Registered: Mar 2005
Location: Coin, Spain
Distribution: linux mint, debian lenny
Posts: 75

Original Poster
Rep: Reputation: 15
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 .

Last edited by XavierP; 08-09-2005 at 12:47 PM.
 
Old 08-09-2005, 05:36 AM   #4
makuyl
Senior Member
 
Registered: Dec 2004
Location: Helsinki
Distribution: Debian Sid
Posts: 1,107

Rep: Reputation: 53
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/
 
Old 08-09-2005, 05:41 AM   #5
arjay
Member
 
Registered: Mar 2005
Location: Coin, Spain
Distribution: linux mint, debian lenny
Posts: 75

Original Poster
Rep: Reputation: 15
makuyl

Thanks for the pointers - I'll give 'em a try in a minute - just trying to configure Wine!!
 
Old 08-09-2005, 06:12 AM   #6
arjay
Member
 
Registered: Mar 2005
Location: Coin, Spain
Distribution: linux mint, debian lenny
Posts: 75

Original Poster
Rep: Reputation: 15
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
 
Old 08-09-2005, 09:08 AM   #7
makuyl
Senior Member
 
Registered: Dec 2004
Location: Helsinki
Distribution: Debian Sid
Posts: 1,107

Rep: Reputation: 53
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
 
Old 08-09-2005, 10:20 AM   #8
arjay
Member
 
Registered: Mar 2005
Location: Coin, Spain
Distribution: linux mint, debian lenny
Posts: 75

Original Poster
Rep: Reputation: 15
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
 
Old 08-09-2005, 10:40 AM   #9
makuyl
Senior Member
 
Registered: Dec 2004
Location: Helsinki
Distribution: Debian Sid
Posts: 1,107

Rep: Reputation: 53
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.
 
  


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 Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Drive cant be read after a few hours robdeweese Linux - Software 1 10-27-2005 06:29 PM
Can't change the read permissions on an NTFS partition as root? EOHooligan Linux - Newbie 4 01-09-2005 06:48 AM
How do I change read/write permissions for a whole directory? Stevetgn Linux - Newbie 8 12-31-2003 07:41 AM
Howto change WIndows Drive Permissions? amoor757 Linux - Software 9 11-05-2003 12:11 AM
Change permissions on NTFS partition to read for all users bax Linux - Newbie 6 05-13-2002 07:35 AM


All times are GMT -5. The time now is 07:55 AM.

Main Menu
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