Yes I did it from the root. Don't know how to change file protection.

    On Wednesday, January 16, 2019, 3:57:37 PM CST, Dennis Lee Bieber 
<[email protected]> wrote:  
 
 On Wed, 16 Jan 2019 19:15:08 +0000 (UTC), david rediger
<[email protected]> declaimed the following:

> Tried to do the fix in github.comNo JoyError writing   Permission denied
>now what?

    Did you do that from a root user privilege level? Did you try changing
file protection first?

{I'm too lazy to hook up a BBB just for the example, so this is an RPi-3
running Pi-Star release -- still a Debian OS [though Pi-Star is still on
Jessie]}

pi-star@pi-star-3b(rw):~$ ls -l /etc/udev
total 12
drwxr-xr-x 2 root root 4096 Apr  2  2016 hwdb.d
drwxr-xr-x 2 root root 4096 Aug 14  2017 rules.d
-rw-r--r-- 1 root root  148 Apr  2  2016 udev.conf
pi-star@pi-star-3b(rw):~$ ls -l /etc/udev/rules.d/
total 4
-rw-r--r-- 1 root root 983 Mar 21  2016 99-com.rules
pi-star@pi-star-3b(rw):~$ vim /etc/udev/rules.d/99-com.rules

    *** get warning about editing a read-only file

pi-star@pi-star-3b(rw):~$ ls -l /etc/udev/rules.d/
total 4
-rw-r--r-- 1 root root 983 Mar 21  2016 99-com.rules
pi-star@pi-star-3b(rw):~$ chmod ugo+w /etc/udev/rules.d/99-com.rules
chmod: changing permissions of ‘/etc/udev/rules.d/99-com.rules’: Operation
not permitted

    *** note that user level can not change file protection

pi-star@pi-star-3b(rw):~$ sudo chmod ugo+w /etc/udev/rules.d/99-com.rules
pi-star@pi-star-3b(rw):~$ ls -l /etc/udev/rules.d/
total 4
-rw-rw-rw- 1 root root 983 Mar 21  2016 99-com.rules

    *** file is now read/write for everyone

pi-star@pi-star-3b(rw):~$ vim /etc/udev/rules.d/99-com.rules

    *** no warning when editing

pi-star@pi-star-3b(rw):~$ ls -l /etc/udev/rules.d/
total 4
-rw-rw-rw- 1 root root 985 Jan 16 16:46 99-com.rules

    *** time stamp updated to show result of editing

pi-star@pi-star-3b(rw):~$
pi-star@pi-star-3b(rw):~$ sudo chmod go-w /etc/udev/rules.d/99-com.rules

    *** restore original protection

pi-star@pi-star-3b(rw):~$ ls -l /etc/udev/rules.d/
total 4
-rw-r--r-- 1 root root 983 Jan 16 16:49 99-com.rules
pi-star@pi-star-3b(rw):~$ vim /etc/udev/rules.d/99-com.rules

    *** again shows warning of read-only file

pi-star@pi-star-3b(rw):~$ sudo vim /etc/udev/rules.d/99-com.rules
pi-star@pi-star-3b(rw):~$

    *** no warning, since running as root, and root always had read/write


    I would strongly suggest you obtain a book on administering a Linux
system -- many of your comments (password requested for sudo command, file
protection matters, etc.) have come across as a lack of knowledge about the
OS, and not of the board itself.


-- 
    Wulfraed                Dennis Lee Bieber        AF6VN
    [email protected]    HTTP://wlfraed.home.netcom.com/ 

-- 
For more options, visit http://beagleboard.org/discuss
--- 
You received this message because you are subscribed to a topic in the Google 
Groups "BeagleBoard" group.
To unsubscribe from this topic, visit 
https://groups.google.com/d/topic/beagleboard/MgTo184HB44/unsubscribe.
To unsubscribe from this group and all its topics, send an email to 
[email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/beagleboard/c59v3eh8ns4dflv9kd76rq73geggbk20ra%404ax.com.
For more options, visit https://groups.google.com/d/optout.  

-- 
For more options, visit http://beagleboard.org/discuss
--- 
You received this message because you are subscribed to the Google Groups 
"BeagleBoard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/beagleboard/1276020764.791201.1547678970296%40mail.yahoo.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to