[RTEMS Project] #3781: RSB crashes in case the host as an unreadable directory in "/"
RTEMS trac
trac at rtems.org
Fri Aug 9 10:42:57 UTC 2019
#3781: RSB crashes in case the host as an unreadable directory in "/"
------------------------------+--------------------
Reporter: Sebastian Huber | Owner: (none)
Type: defect | Status: new
Priority: normal | Milestone: 5.1
Component: tool/rsb | Version: 5
Severity: normal | Keywords:
Blocked By: | Blocking:
------------------------------+--------------------
{{{
butrfeld at elektra:~/rtemsSMP/src/rsb/rtems$ ../source-builder/sb-set-
builder --source-only-download 5/rtems-sparc
RTEMS Source Builder - Set Builder, 5 (29fab0500e22)
Traceback (most recent call last):
File "../source-builder/sb/cmd-set-builder.py", line 26, in <module>
setbuilder.run()
File "/users/staff/butrfeld/rtemsSMP/src/rsb/source-
builder/sb/setbuilder.py", line 674, in run
if not check.host_setup(opts):
File "/users/staff/butrfeld/rtemsSMP/src/rsb/source-
builder/sb/check.py", line 127, in host_setup
if not path_check(opts):
File "/users/staff/butrfeld/rtemsSMP/src/rsb/source-
builder/sb/check.py", line 115, in path_check
elif not path.exists(p):
File "/users/staff/butrfeld/rtemsSMP/src/rsb/source-builder/sb/path.py",
line 131, in exists
return _exists(shell(paths))
File "/users/staff/butrfeld/rtemsSMP/src/rsb/source-builder/sb/path.py",
line 124, in _exists
return basename(p) in ['.'] + listdir(dirname(p))
File "/users/staff/butrfeld/rtemsSMP/src/rsb/source-builder/sb/path.py",
line 118, in listdir
return os.listdir(hp)
OSError: [Errno 13] Permission denied: '/adm'
}}}
The root directory "/" looks like this:
{{{
butrfeld at elektra:/$ ls -ls
total 89
4 drwxr-x---+ 6 root root 4096 Nov 5 2018 adm
4 drwxr-xr-x 2 root root 4096 Apr 10 06:17 bin
}}}
--
Ticket URL: <http://devel.rtems.org/ticket/3781>
RTEMS Project <http://www.rtems.org/>
RTEMS Project
More information about the bugs
mailing list