Skip to content

TSW-1950: removal of 'sudo' from sample scripts#205

Draft
igor-pdftron wants to merge 1 commit intomasterfrom
ire/TSW-1950_fixing_sample_errors
Draft

TSW-1950: removal of 'sudo' from sample scripts#205
igor-pdftron wants to merge 1 commit intomasterfrom
ire/TSW-1950_fixing_sample_errors

Conversation

@igor-pdftron
Copy link
Copy Markdown

@igor-pdftron igor-pdftron commented May 4, 2026

Summary

Some scripts use the 'sudo' command, which requires the root password to run tests. This made running tests impossible for many users.

And even if the root password is known, a read-only PDF file is created with root privileges, which leads to difficulties with subsequent running of samples for other language bindings. (As they do not require 'sudo')

Context/Why?

n/a

Implementation notes

sudo removed

How to verify

Re-run the Ruby samples, followed by PHP samples. No root password prompt expected; PHP samples finished successfully

Changelog entry

n/a

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant