apple / apple/foundationdb

make_public.py not executable in deb package

Open
#10,891 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
C++
Stars
16.7k
Forks
1.6k
Avg merge
1d 20h
Merged PRs (30d)
126

Description

in deb package, `/usr/lib/foudationdb/make_public.py` is missing the executable bits.

[The doc](https://apple.github.io/foundationdb/building-cluster.html#make-foundationdb-externally-accessible) advise to execute `sudo /usr/lib/foudationdb/make_public.py` which result is `sudo: /usr/lib/foundationdb/make_public.py: command not found`

Trying to execute it as root without `sudo` leads to

```
# /usr/lib/foundationdb/make_public.py
-bash: /usr/lib/foundationdb/make_public.py: Permission denied
```
indeed, this file from the deb package is not executable

```
# ls -l /usr/lib/foundationdb/make_public.py
-rw-r--r-- 1 root root 4129 sept. 21 2022 /usr/lib/foundationdb/make_public.py
```

Contributor guide

Open the contributing guide

Research direction

Inspect the Debian package entry for /usr/lib/foundationdb/make_public.py and compare its installed mode with the command in the building-cluster documentation. Confirm that the packaged script is executable and that the documented sudo invocation runs without a permission or command-not-found error.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
build-system
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.