Faith Forge LabsPeru

Correct source bytes may still be an incomplete handover

A successor receives the agreed maintenance files, verifies their contents and follows the documented command. The command stops with a permission error before the script starts.

This fictional handover uses a harmless Linux maintenance script that reads a synthetic catalogue manifest and prints a report. It performs no network requests, deployment or data mutation. Its approved invocation is direct execution of the script, which makes file permission part of the operating arrangement.

Compare the source with the received copy

The agreed source includes check-catalogue.sh, recorded as executable in the source manifest and version-control mode. The receiving transfer preserved the file’s bytes but produced a working file with mode 0644. For the authorised owner account in this fixture, that allows reading and writing but not direct execution.

The script’s digest matches the approved source. Its interpreter line is valid, the interpreter exists, the parent directories permit access and the isolated filesystem allows execution. Those observations distinguish this case from a missing interpreter, altered line endings or a noexec mount.

The successor’s direct invocation returns permission denied. Running the same bytes by explicitly handing them to a shell can behave differently, because the shell reads the file rather than asking the system to execute that path. That alternative does not prove the documented direct command was handed over correctly.

The Linux execution documentation lists denied execute permission among the causes of EACCES. The actual inspection must determine which condition applies; the error label alone is not a reason to change every permission.

Establish the intended mode from an authoritative source

The outgoing maintainer confirms that this script is intended to be directly executable. The source manifest identifies the file and its expected executable treatment. An ordinary data file, catalogue-fixture.json, is explicitly nonexecutable.

Version control can record executable status, although filesystem capabilities and configuration affect how it is represented. Git’s index documentation describes the executable-bit control and relevant file-mode handling. The handover should record what the selected transfer and receiving system actually preserve.

The successor does not infer authority to execute every file from the fact that it arrived in the same folder. The correction is limited to the approved script and the permissions needed for its documented use. No credentials, account privileges or production access are added.

Apply and verify the narrow correction

In the isolated fixture, the maintainer restores owner execute permission to the script, producing mode 0744 under the selected access model. Its content digest remains unchanged. The data file stays 0644 with the same bytes.

The successor runs the documented direct command using the intended ordinary account. The script starts, reads the approved synthetic manifest and prints the expected three item identities. The report is compared with the source fixture, rather than treating a zero exit status alone as proof of the useful task.

Item checked Before correction After correction
Script bytes Approved digest Same approved digest
Script owner execute permission Absent Present as approved
Direct command Permission denied Expected fixture report
Data-file mode and bytes Nonexecutable, approved Unchanged

The exercise then repeats with a newly transferred fixture copy that again lacks the mode. The revised receiving checklist detects that difference before declaring the handover complete. It identifies the specific script instead of recommending recursive permission changes.

Document the transfer boundary

The completed instructions name the expected source identity, receiving platform, permitted account, file-mode check and direct invocation. If a delivery mechanism cannot preserve the required mode, the approved setup explicitly restores it for the named file and verifies the result.

A different operating system, mount policy or access model needs its own supported procedure. This Linux fixture is not a universal installation recipe. A successful check also does not authorise running an unreviewed script merely because its permission bit is set.

The important handover result is that the successor can reproduce the intended command with the approved file and recognise why a byte-identical transfer was insufficient. The domain and existing-site continuity service considers these practical operating requirements alongside accounts, useful routes and recovery responsibilities.