On Wed, 16 Jan 2019 19:15:08 +0000 (UTC), david rediger
<
david....@att.net> 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
wlf...@ix.netcom.com HTTP://wlfraed.home.netcom.com/