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

Ubuntu fix-permissions.js failed #2144

Closed
pavelthq opened this issue Feb 20, 2018 · 3 comments
Closed

Ubuntu fix-permissions.js failed #2144

pavelthq opened this issue Feb 20, 2018 · 3 comments
Labels
STATE: Auto-locked An issue has been automatically locked by the Lock bot.

Comments

@pavelthq
Copy link

Error in javascript possibly -R on ubuntu should be last in string

What is the current behavior?

Error: Command failed: chmod -R +x ./bin/linux/*

What is the expected behavior?

File permissions fixed

How would you reproduce the current behavior (if this is a bug)?

sudo npm install -g testcafe

Should be fixed by changing args:

var binariesPath = '';

if (platform === 'darwin')
    binariesPath = '-R ./bin/mac/*';
else if (platform === 'linux')
    binariesPath = './bin/linux/* -R';

if (!binariesPath)
    return;

exec('chmod +x ' + binariesPath, function (err) {
    if (err)
        process.stdout.write(err.stack + '\n');
    else
        process.stdout.write('File permissions fixed\n');
});

Specify your

  • operating system: Ubuntu
  • testcafe version: 0.18.6
  • node.js version:
@AndreyBelym
Copy link
Contributor

AndreyBelym commented Feb 20, 2018

Hi @AngeIII, it must be fixed in 0.19.0-alpha1, could you please try it with npm i [email protected]?

@pavelthq
Copy link
Author

@AndreyBelym looks like this file is not exists anymore in 0.19, so probably fixed.
npm install works fine.

@lock
Copy link

lock bot commented Mar 28, 2019

This thread has been automatically locked since it is closed and there has not been any recent activity. Please open a new issue for related bugs or feature requests. We recommend you ask TestCafe API, usage and configuration inquiries on StackOverflow.

@lock lock bot added the STATE: Auto-locked An issue has been automatically locked by the Lock bot. label Mar 28, 2019
@lock lock bot locked as resolved and limited conversation to collaborators Mar 28, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
STATE: Auto-locked An issue has been automatically locked by the Lock bot.
Projects
None yet
Development

No branches or pull requests

2 participants