Git Product home page Git Product logo

Comments (6)

KBlixt avatar KBlixt commented on August 20, 2024

Could you send me the log? And which file you experienced this for?

Those lines should definitely be removed.

from subcleaner.

argonan0 avatar argonan0 commented on August 20, 2024

Looked into it some more. It appears to be a permissions issue where the files Bazarr grabs are missing the write permissions. Running the command after adding those permissions (0666) works to remove those lines.

Issue remains with Bazarr that it is apparently ignoring the Permission (chmod) setting and not setting everything it grabs to 0666 as set.

Maybe the subcleaner can also 'clean' the permissions? :)

from subcleaner.

KBlixt avatar KBlixt commented on August 20, 2024

While I could change permissions on a file with python its not possible to do so without the correct permissions in the first place.

Sorry.

from subcleaner.

argonan0 avatar argonan0 commented on August 20, 2024

I added a hacky routine to the start of the script which is working so far.

if '-h' not in sys.argv[1]:
    os.chmod(sys.argv[1], 0o666)

Since the Bazarr docker is already root it has all the permissions necessary in this case.

from subcleaner.

KBlixt avatar KBlixt commented on August 20, 2024

Errr, OK. Strange root doesn't have write permissions.

But if it works, it works 👍

from subcleaner.

argonan0 avatar argonan0 commented on August 20, 2024

Yeah good point... makes less sense to me now.

So root can write any permissions but still honors them...? Something definitely doesn't add up there.

from subcleaner.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.