Jump to content
  • Cannot run .sh file, getting permission denied as root


    jhblzk
    • Closed

    I have a line in the go file to run a .sh file to set up rsync between unraid servers.  After upgrading to 6.8.0, this stopped working.  I opened a terminal into the source server and tried to run the .sh file by itself.  I get a permission denied message.  There are no related messages in the syslog.  I also logged into the server using putty, logging in as root, and got the same errors.

    I had to fall back to the previous release (6.7.2) where this is again working fine.

     

    As an observation, when listing files using ls, the resulting displays are not the same in the 6.8.0 level as they are in the 67.2 level when listing a user directory that is not affected by the release upgrade.

     

    I have no diagnostic file.




    User Feedback

    Recommended Comments

    Directly executing scripts stored on the flash drive is no longer allowed due to security changes

     

    The easy workaround though is to change your go file to something akin to

     

    bash /boot/path/To/myScript.sh

    • Upvote 1
    Link to comment


    Join the conversation

    You can post now and register later. If you have an account, sign in now to post with your account.
    Note: Your post will require moderator approval before it will be visible.

    Guest
    Add a comment...

    ×   Pasted as rich text.   Restore formatting

      Only 75 emoji are allowed.

    ×   Your link has been automatically embedded.   Display as a link instead

    ×   Your previous content has been restored.   Clear editor

    ×   You cannot paste images directly. Upload or insert images from URL.


  • Status Definitions

     

    Open = Under consideration.

     

    Solved = The issue has been resolved.

     

    Solved version = The issue has been resolved in the indicated release version.

     

    Closed = Feedback or opinion better posted on our forum for discussion. Also for reports we cannot reproduce or need more information. In this case just add a comment and we will review it again.

     

    Retest = Please retest in latest release.


    Priority Definitions

     

    Minor = Something not working correctly.

     

    Urgent = Server crash, data loss, or other showstopper.

     

    Annoyance = Doesn't affect functionality but should be fixed.

     

    Other = Announcement or other non-issue.

×
×
  • Create New...