Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

install fails for symbolic -m argument #233

Closed
mknos opened this issue Sep 8, 2023 · 5 comments
Closed

install fails for symbolic -m argument #233

mknos opened this issue Sep 8, 2023 · 5 comments
Labels
Priority: high work on this first Program: chmod The chmod program Program: install The install program Program: mkdir The mkdir program Type: bug an existing feature does not work

Comments

@mknos
Copy link
Contributor

mknos commented Sep 8, 2023

  • The POD text says "Either octal modes or symbolic modes are acceptable"
  • Octal mode is accepted, e.g. perl install -D -m 700 file dir
  • Symbolic mode fails with missing library error

perl install -D -m u=rwx file dir
Can't locate SymbolicMode.pm in @inc (you may need to install the SymbolicMode module) (@inc contains: /usr/local/lib/perl5/site_perl/5.34.1/armv7l-linux /usr/local/lib/perl5/site_perl/5.34.1 /usr/local/lib/perl5/5.34.1/armv7l-linux /usr/local/lib/perl5/5.34.1) at install line 199.

@mknos
Copy link
Contributor Author

mknos commented Sep 8, 2023

Two other commands reference SymbolicMode:

  1. perl mkdir -m u=rwx newdir
  2. perl chmod u=rwx file

@briandfoy
Copy link
Owner

Good find. I will investigate.

@briandfoy briandfoy added Type: bug an existing feature does not work Program: mkdir The mkdir program Program: install The install program Program: chmod The chmod program labels Sep 8, 2023
@briandfoy
Copy link
Owner

I found a reference to http://www.perl.com/language/ppt/src/chmod/SymbolicMode.pm, which apparently is not in archive.org.

@briandfoy
Copy link
Owner

Found it in BackPAN (./authors/id/C/CW/CWEST/ppt-0.13.tar.gz)
SymbolicMode.pm.txt

@briandfoy briandfoy added the Priority: high work on this first label Sep 10, 2023
briandfoy added a commit that referenced this issue Sep 13, 2023
this is some duplication, but we also have a desire to
make self-contained programs.
briandfoy added a commit that referenced this issue Sep 13, 2023
this is some duplication, but we also have a desire to
make self-contained programs.
@briandfoy
Copy link
Owner

Fixed by #237

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Priority: high work on this first Program: chmod The chmod program Program: install The install program Program: mkdir The mkdir program Type: bug an existing feature does not work
Projects
None yet
Development

No branches or pull requests

2 participants