The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Insufficient permission in Jailshell and "no input file specified" with email pipe

Discussion in 'General Discussion' started by Stefaans, Jan 11, 2015.

  1. Stefaans

    Stefaans Well-Known Member

    Joined:
    Mar 5, 2002
    Messages:
    451
    Likes Received:
    2
    Trophy Points:
    18
    Location:
    Vancouver, Canada
    I wanted to reply to an old thread but couldn't. The thread was just too old. But the the suggestion in there by mynameanu's solved a major headache for me today...

    It started (after migrating to a new server) with an email pipe to a PHP script throwing a "no input file specified" error. The script and its forwarder had been working perfectly for years. I tried all kinds of things, and nothing worked. And then I noticed a "permission denied" error when logging in via SFTP. Logging in via SSH confirmed that I had insufficient permissions in the user's home directory -- I couldn't even the list the directory contents with "ls". Other directories like /var were listing fine.

    I then unmounted the virtual home directory as suggestion in the other thread, and the problem was solved!
    Code:
    root@server[~]# umount /home/virtfs/<user>/home/<user>/
    The cause of the problem? The first attempt to transfer the account from another cPanel failed. I then restored from a full backup. The failed transfer probably had some left-overs in the /home/virtfs.

    Maybe this will help someone else ;)
     
  2. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,678
    Likes Received:
    651
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
Loading...

Share This Page