Skip to content

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

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

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

Conversation

@igor-pdftron

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

Copy link
Copy Markdown

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

@rchennafi

Copy link
Copy Markdown
Collaborator

@igor-pdftron

Is this alright to be merged? The change makes sense to me.

@igor-pdftron

Copy link
Copy Markdown
Author

@rchennafi

yes, sure. I can't quite figure out right now why it was forgotten

@mrmartinclark mrmartinclark left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

A small change, so no issues here.

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.

3 participants