wrong permissions on "/dev/null" - quick fix included

This forum is for all other ARMv5 devices

wrong permissions on "/dev/null" - quick fix included

Postby campigenus » Thu Jul 26, 2012 6:51 pm

I successfully installed on my device, but it would give me an error every time I tried logging in as a regular user - "-bash: /dev/null: Permission denied"

"ls -l /dev/null" returned" "crw------- 1 root root 1, 3 Dec 31 1969 /dev/null"

It was quickly fixed with:

"rm /dev/null && mknod -m 0666 /dev/null c 1 3"

Now "ls -l /dev/null" returns "crw-rw-rw- 1 root root 1, 3 Jul 26 11:42 /dev/null" and all is well.

Just a FYI for anyone who might run into the same issue.
~~~
"Good behavior is the last refuge of mediocrity."
- Henry S. Haskins
campigenus
 
Posts: 38
Joined: Tue Feb 21, 2012 6:00 am

Re: wrong permissions on "/dev/null" - quick fix included

Postby kpaluch » Fri Aug 10, 2012 2:05 am

Thanks, I had the exact same problem. I appreciate the brevity and clarity of your information. Good on ya! :D
kpaluch
 
Posts: 5
Joined: Wed Aug 01, 2012 3:52 pm


Return to Community Supported

Who is online

Users browsing this forum: No registered users and 42 guests