Skip to content

[BUG] Trying to change shells does not work due to permissions, even after changing them #1215

@Zusemat

Description

@Zusemat

Describe the bug

When trying to change the shell (from bash to fish for example), the script tells me that it cannot write to /usr/local/bin, even after I temporarily changed the permissions.

Changing the script to use sudo as follows:
curl -s https://ohmyposh.dev/install.sh | sudo bash -s
fixes this, but I'm not sure if this is desirable.

shell.sh

Steps to reproduce

  1. Go to ML4W Welcome App
  2. Click on Settings
  3. Click on System
  4. Click on Change Shell
  5. Select any of the Shell options
  6. Get the error

Expected behavior

  1. Go to ML4W Welcome App
  2. Click on Settings
  3. Click on System
  4. Click on Change Shell
  5. Select any of the Shell options
  6. Shell is now switched

Screenshots

Image

Distribution

Other (please specify below)

If Other, specify

Fedora Linux

Additional context

Using the rolling release

Code of Conduct

  • I agree to follow this project's Code of Conduct

Metadata

Metadata

Labels

bugSomething isn't working

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions