Experimental Physics and Industrial Control System
|
Hi David,
Yes, I saw that. Changing it doesn't seem to help:
sudo chmod g+w /dev/mem
ls -l /dev/mem
crw-rw---- 1 root kmem 1, 1 Feb 1 21:05 /dev/mem
./regrw R 1 ( a program which maps the FPGA registers to userspace)
Reading Register 1
Can't open /dev/mem
Pete.
From: Michael Davidsaver <mdavidsaver at gmail.com>
Sent: Tuesday, February 2, 2021 11:42 AM
To: Siddons, David <siddons at bnl.gov>
Cc: EPICS Tech-Talk <tech-talk at aps.anl.gov>
Subject: Re: setcap and nosuid
On 2/2/21 8:21 AM, Siddons, David wrote:
> I also tried putting the user in the kmem group, like /dev/mem:
>
> ls -l /dev/mem
> crw-r----- 1 root kmem 1, 1 Feb 1 21:05 /dev/mem
>
> groups hera
> hera : hera kmem sudo i2c
Looking twice I notice that the group write permission is not granted.
|
- Replies:
- Re: setcap and nosuid Michael Davidsaver via Tech-talk
- References:
- setcap and nosuid Michael Davidsaver via Tech-talk
- Re: setcap and nosuid Siddons, David via Tech-talk
- Re: setcap and nosuid Michael Davidsaver via Tech-talk
- Navigate by Date:
- Prev:
Re: setcap and nosuid Michael Davidsaver via Tech-talk
- Next:
Re: Extern "C" when defining aSub records Till Straumann via Tech-talk
- Index:
1994
1995
1996
1997
1998
1999
2000
2001
2002
2003
2004
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
<2021>
2022
2023
2024
- Navigate by Thread:
- Prev:
Re: setcap and nosuid Michael Davidsaver via Tech-talk
- Next:
Re: setcap and nosuid Michael Davidsaver via Tech-talk
- Index:
1994
1995
1996
1997
1998
1999
2000
2001
2002
2003
2004
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
<2021>
2022
2023
2024
|
ANJ, 02 Feb 2021 |
·
Home
·
News
·
About
·
Base
·
Modules
·
Extensions
·
Distributions
·
Download
·
·
Search
·
EPICS V4
·
IRMIS
·
Talk
·
Bugs
·
Documents
·
Links
·
Licensing
·
|