Re: mounting and/or permissions problem

2011-03-04 Thread Andrei Popescu
On Jo, 03 mar 11, 21:29:46, AG wrote:
> 
> Doesn't  this simply raise an issue though of how many groups a user
> account needs to be manually added to.  Is this an issue between
> balancing convenience and security or is this something that is
> counter-intuitive from the userland experience?

AFAIK some of the permissions in squeeze are handled via consolekit 
instead of the groups mechanism.

Regards,
Andrei
-- 
Offtopic discussions among Debian users and developers:
http://lists.alioth.debian.org/mailman/listinfo/d-community-offtopic


signature.asc
Description: Digital signature


Re: mounting and/or permissions problem

2011-03-03 Thread Camaleón
On Thu, 03 Mar 2011 21:29:46 +, AG wrote:

> On 03/03/11 20:59, Lisi wrote:
>> 
>> I shall be visiting the computer concerned again in a couple of weeks'
>> time. I'll add user to some more groups then.
>>
>>
>>
> Doesn't  this simply raise an issue though of how many groups a user
> account needs to be manually added to.  Is this an issue between
> balancing convenience and security or is this something that is
> counter-intuitive from the userland experience?

I think the groups to which the user belongs change from one release to 
another and they don't always have to match. For instance, in Lenny, 
video devices (such as a webcam, or even the "nvidia" device) are owned 
by the "video" GID, but this does not have to be the same on newer 
releases.

That said, I don't see any specific problem for adding your user to 
another group when it is required, but as a rule of thumb, unless that 
change is needed, better do not touch it.

Greetings,

-- 
Camaleón


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/pan.2011.03.03.22.49...@gmail.com



Re: mounting and/or permissions problem

2011-03-03 Thread geertsky
Hi Lisi,
have a look at ls -l /dev/cdrom
to mount /dev/cdrom you need r-x permissions or maybe even rwx, but w
is going to be pretty useless...
Also, /etc/udev/rules.d/ contains rules which device the permissions
of for instance your cdrom,cdrw,sdcard ed
But google a udev manual, itś too extensive to explain, udevadm is
your friend for testing rules.
oooh to add yourself to a group: usermod -a -G group123
as root ofcourse..

Regards,
Geert


On Mar 3, 3:40 pm, Lisi Reisz  wrote:
> When I try to mount some things (not all - e.g. I can mount one DVDRW
> drive, but not the second in the same machine and with the same user
> and I cannot mount the SD card from the camera;  Let alone the
> camera!) I get the following error message:
>
> Rejected send message, 3 matched rules; type=”method_call”,
> sender =”:1.7” (uid=1000 pid=2877 comm=”kded [kdeinit] –new-startup “)
> interface=”org.freedesktop.Hal.Device.Volume” member=”Mount” error
> name=”(unset)” requested_reply=0 destination=”org.freedesktop.Hal”
> (uid=0 pid=2671 comm=”/usr/sbin/hald “))
>
> I have googled the error message, but got no hits:
>
> Your search - Rejected  .. ”/usr/sbin/hald “)) - did not match any
> documents.
>
> Suggestions:
> Make sure all words are spelled correctly.
> Try different keywords.
> Try more general keywords.
> Try fewer keywords.
>
> If, however, I manually mount e.g. the SD card from the camera, the
> images are then available as an ordinary user.
>
> 
> I am stumped. :-(
>
> I would have tried adding the users to the relevant group if I knew
> which the relevant group was!  Herewith my /etc/group file:
> root:x:0:
> daemon:x:1:
> bin:x:2:
> sys:x:3:
> adm:x:4:
> tty:x:5:
> disk:x:6:
> lp:x:7:
> mail:x:8:
> news:x:9:
> uucp:x:10:
> man:x:12:
> proxy:x:13:
> kmem:x:15:
> dialout:x:20:
> fax:x:21:
> voice:x:22:
> cdrom:x:24:john
> floppy:x:25:john
> tape:x:26:
> sudo:x:27:
> audio:x:29:
> dip:x:30:
> www-data:x:33:
> backup:x:34:
> operator:x:37:
> list:x:38:
> irc:x:39:
> src:x:40:
> gnats:x:41:
> shadow:x:42:
> utmp:x:43:
> video:x:44:
> sasl:x:45:
> plugdev:x:46:
> staff:x:50:
> games:x:60:
> users:x:100:
> nogroup:x:65534:
> libuuid:x:101:
> crontab:x:102:
> scanner:x:103:saned,john
> ssl-cert:x:104:
> mlocate:x:105:
> ssh:x:106:
> messagebus:x:107:
> avahi:x:108:
> netdev:x:109:
> lpadmin:x:110:
> dirmngr:x:111:
> haldaemon:x:112:
> powerdev:x:113:
> ntp:x:114:
> saned:x:115:
> clamav:x:116:
> sarah:x:1001:
> john:x:1000:
>
> All suggestions will be very gratefully received.
>
> Lisi
>
> --
> To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
> with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
> Archive: 
> http://lists.debian.org/aanlktikmct2j-sm2aqgxbbrl-x2gpuuprydkfkuoe...@mail.gmail.com


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/6a12c703-b4d2-42f1-b590-10421bd48...@x13g2000vbe.googlegroups.com



Re: mounting and/or permissions problem

2011-03-03 Thread AG

On 03/03/11 20:59, Lisi wrote:


I shall be visiting the computer concerned again in a couple of weeks' time.
I'll add user to some more groups then.

Lisi

   


Doesn't  this simply raise an issue though of how many groups a user 
account needs to be manually added to.  Is this an issue between 
balancing convenience and security or is this something that is 
counter-intuitive from the userland experience?



--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Archive: http://lists.debian.org/4d70084a.3000...@gmail.com



Re: mounting and/or permissions problem

2011-03-03 Thread Lisi
On Thursday 03 March 2011 15:28:44 Camaleón wrote:
> On Thu, 03 Mar 2011 14:35:49 +, Lisi Reisz wrote:
> > I would have tried adding the users to the relevant group if I knew
> > which the relevant group was!
>
> (...)
>
> Not sure if this will help, but on lenny (and GNOME) my user is member
> of:
>
> sm01@stt008:~$ groups
> sm01 dialout cdrom floppy audio video plugdev netdev powerdev

Thanks, Camaleón.  I didn't pick up your message until I got home.  I.e., I 
must have shut down Iceweasel seconds before you sent your reply.

I had been wondering about video.  I myself have several of the ones oyu 
mention, and that I had not added, on my own box.

I shall be visiting the computer concerned again in a couple of weeks' time.  
I'll add user to some more groups then. 

Lisi 


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/201103032059.02319.lisi.re...@gmail.com



Re: mounting and/or permissions problem

2011-03-03 Thread Camaleón
On Thu, 03 Mar 2011 14:35:49 +, Lisi Reisz wrote:

(...)
 
> I have googled the error message, but got no hits:
> 
> Your search - Rejected  .. ”/usr/sbin/hald “)) - did not match any
> documents.

You googled for the wrong text excerpt ;-)

http://www.google.com/search?q=interface%3D%E2%80%9Dorg.freedesktop.Hal.Device.Volume%E2%80%9D+member%3D%E2%80%9DMount%E2%80%9D+error&hl=en&tbo=1&complete=0&site=&output=search&source=lnt&tbs=qdr:y&sa=X&ei=FLFvTaTFB8iy8QOju5WvCA&ved=0CAgQpwUoBQ

> If, however, I manually mount e.g. the SD card from the camera, the
> images are then available as an ordinary user.

That means the problem may be on the DE (KDE). 

> 
> I am stumped. :-(

Hum... are you still using KDE 3.5?

> I would have tried adding the users to the relevant group if I knew
> which the relevant group was!  

(...)

Not sure if this will help, but on lenny (and GNOME) my user is member 
of:

sm01@stt008:~$ groups
sm01 dialout cdrom floppy audio video plugdev netdev powerdev

Greetings,

-- 
Camaleón


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/pan.2011.03.03.15.28...@gmail.com



SOLVED (I think) Re: mounting and/or permissions problem

2011-03-03 Thread Lisi Reisz
On 3 March 2011 14:35, Lisi Reisz  wrote:
> When I try to mount some things (not all - e.g. I can mount one DVDRW
> drive, but not the second in the same machine and with the same user
> and I cannot mount the SD card from the camera;  Let alone the
> camera!) I get the following error message:
>
> Rejected send message, 3 matched rules; type=”method_call”,
> sender =”:1.7” (uid=1000 pid=2877 comm=”kded [kdeinit] –new-startup “)
> interface=”org.freedesktop.Hal.Device.Volume” member=”Mount” error
> name=”(unset)” requested_reply=0 destination=”org.freedesktop.Hal”
> (uid=0 pid=2671 comm=”/usr/sbin/hald “))
>
> I have googled the error message, but got no hits:
>
> Your search - Rejected  .. ”/usr/sbin/hald “)) - did not match any
> documents.
[snip]
> If, however, I manually mount e.g. the SD card from the camera, the
> images are then available as an ordinary user.
[snip]
> I would have tried adding the users to the relevant group if I knew
> which the relevant group was!

I added the user to the groups haldaemon and plugdev and all now
appears to be fine!

Lisi

PS I'm sorry, Gmail is not allowing me to see all the extra bits at
the end, so I can't trim them. :-(
PPS  I only rarely actually post from inside Gmail.  If I did it more
I might have succeeded in controlling it better.  Hopefully, I have at
least managed plain text.


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/AANLkTi=EhwGhMaNgpGrORnXb=tf2q9pnqj5bpcr7e...@mail.gmail.com



mounting and/or permissions problem

2011-03-03 Thread Lisi Reisz
When I try to mount some things (not all - e.g. I can mount one DVDRW
drive, but not the second in the same machine and with the same user
and I cannot mount the SD card from the camera;  Let alone the
camera!) I get the following error message:

Rejected send message, 3 matched rules; type=”method_call”,
sender =”:1.7” (uid=1000 pid=2877 comm=”kded [kdeinit] –new-startup “)
interface=”org.freedesktop.Hal.Device.Volume” member=”Mount” error
name=”(unset)” requested_reply=0 destination=”org.freedesktop.Hal”
(uid=0 pid=2671 comm=”/usr/sbin/hald “))

I have googled the error message, but got no hits:

Your search - Rejected  .. ”/usr/sbin/hald “)) - did not match any
documents.

Suggestions:
Make sure all words are spelled correctly.
Try different keywords.
Try more general keywords.
Try fewer keywords.

If, however, I manually mount e.g. the SD card from the camera, the
images are then available as an ordinary user.


I am stumped. :-(

I would have tried adding the users to the relevant group if I knew
which the relevant group was!  Herewith my /etc/group file:
root:x:0:
daemon:x:1:
bin:x:2:
sys:x:3:
adm:x:4:
tty:x:5:
disk:x:6:
lp:x:7:
mail:x:8:
news:x:9:
uucp:x:10:
man:x:12:
proxy:x:13:
kmem:x:15:
dialout:x:20:
fax:x:21:
voice:x:22:
cdrom:x:24:john
floppy:x:25:john
tape:x:26:
sudo:x:27:
audio:x:29:
dip:x:30:
www-data:x:33:
backup:x:34:
operator:x:37:
list:x:38:
irc:x:39:
src:x:40:
gnats:x:41:
shadow:x:42:
utmp:x:43:
video:x:44:
sasl:x:45:
plugdev:x:46:
staff:x:50:
games:x:60:
users:x:100:
nogroup:x:65534:
libuuid:x:101:
crontab:x:102:
scanner:x:103:saned,john
ssl-cert:x:104:
mlocate:x:105:
ssh:x:106:
messagebus:x:107:
avahi:x:108:
netdev:x:109:
lpadmin:x:110:
dirmngr:x:111:
haldaemon:x:112:
powerdev:x:113:
ntp:x:114:
saned:x:115:
clamav:x:116:
sarah:x:1001:
john:x:1000:

All suggestions will be very gratefully received.

Lisi


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/aanlktikmct2j-sm2aqgxbbrl-x2gpuuprydkfkuoe...@mail.gmail.com