How to fix Permission Denied Error in the Terminal and Command Prompt

Sdílet
Vložit
  • čas přidán 7. 05. 2021
  • Hey guys! In this video I show how to fix the permission denied error message in the terminal or command prompt window.
    Leave a like if this solution worked for you and comment more things you’d like to see down below!
    Follow me on Instagram!
    / coding_comedy

Komentáře • 100

  • @VANPIEAR
    @VANPIEAR Před 2 lety +2

    FFFFFF love you man! worked like a charm. you didnt mention typing in "cd" and the folder location first to locate the file but i watched another video and found it. came back here and everything went well thank you so much!!

  • @aureliomarty3079
    @aureliomarty3079 Před 2 lety +2

    Thanks a lot.Been banging my head unable to use a software for a Coursera class, then I stumbled here and problem solved!

  • @OliverClarosE
    @OliverClarosE Před rokem +1

    Dude! from all the vids out there this was the easiest to understand! Thanks!

  • @ernstb1234
    @ernstb1234 Před 2 lety +4

    Great content bro just a reminder some of us are like baby new to this it would be great to include the key function in the video

  • @walkinbird
    @walkinbird Před 2 lety

    you save my life! Thank you so so so much! I just fixed the permission issue to run .command files! Thank you!

  • @Mind.Melting
    @Mind.Melting Před rokem

    Thank youuu this is exactly what I needed!

  • @nomadDanish
    @nomadDanish Před rokem

    Worked as butter. Thanks for uploading.😁

  • @DericksonCaballero
    @DericksonCaballero Před 8 měsíci

    Thank you, this video help me a lot, for all of you people who has zsh instead of bash don't worry this explanation work for both.

  • @dylanyousob
    @dylanyousob Před rokem

    bro literally just saved my life, thank you!!!

  • @carloss.3928
    @carloss.3928 Před 2 lety +8

    I knew it was something simple. Thanks you sir.

  • @DarkTV15
    @DarkTV15 Před rokem

    Bro this 2y vid saved me among all the others
    Thank you.

  • @vandajay9846
    @vandajay9846 Před 6 měsíci

    Worked like a charm! Thank you :D

  • @Hassan_Omer
    @Hassan_Omer Před 2 lety

    Hi, I am having a problem killing a process using the activity monitor, the method used to work before but some reason it's not working anymore. After quitting the processes restarts.
    I have used the terminal and seen some videos to kill the process using its PID number but i receive the error "operation not permitted".
    Even after granting Full Disk Access to the terminal i get the same error.
    Could you please tell me if there is a solution to this problem ?

  • @jontysingh4334
    @jontysingh4334 Před 2 lety +4

    How to exit from test.sh
    At 0.46
    Which key should I press I am new to macbook

  • @Hartfelt_Beats
    @Hartfelt_Beats Před 19 dny

    life saver! thank you broooo

  • @AmanSharma-qw4kq
    @AmanSharma-qw4kq Před 2 lety

    Thank you, Brother, EZ Coding Rocks

  • @dietalarmclock2607
    @dietalarmclock2607 Před 2 lety

    Any idea how to move kexts to extensions when I cannot get permission to move files or change the folder write permission

  • @volcaniadread
    @volcaniadread Před 2 lety

    hey man how's it going? :) ty for the vid! ...I was trying to install a driver of a perfectly working sound card that I have on my Big Sur, but it's not letting me ...do you know maybe how to make it work?

  • @dots3v3n35
    @dots3v3n35 Před 3 měsíci

    fooking loved it, thank you much sir

  • @djchristcentric
    @djchristcentric Před 2 lety

    Please how do you give permission to an external drive that is labelled as "read only" using this method?

  • @mu.castro
    @mu.castro Před rokem

    Thank you it worked for me!

  • @shayanvaziri6328
    @shayanvaziri6328 Před 2 lety

    LIFESAVER!!! thanks man

  • @MCandMosRandomChannel
    @MCandMosRandomChannel Před 10 měsíci

    Hi I have a folder in i cloud. when I run the prompt, my I Cloud folder doesnt come up. How would I fix this please?

  • @unicornonthecob4302
    @unicornonthecob4302 Před 2 lety

    I'm trying to connect to an AWS instance, my pem file is private (I think) but it says permission is denied (publickey). Any idea how to fix this? Thanks!

  • @elkanahsboy
    @elkanahsboy Před 2 lety +2

    Thank you for this amazing content

  • @vikijiki
    @vikijiki Před 10 měsíci

    Hello there,
    I have a macbook pro 2012 (13") and this dows'nt work for me. the file i have tried to open is the palerain jailbreaking tool. could you please help me?
    thanks!

  • @yukifu3514
    @yukifu3514 Před 2 lety

    Thank you!! You same my files!!!!

  • @oscaravila8793
    @oscaravila8793 Před rokem

    amazing! thanks bro!

  • @nguyeninhtai2649
    @nguyeninhtai2649 Před 2 lety +1

    thank you so much! All my problem have solved

  • @calismr
    @calismr Před 9 měsíci

    ohh man. that was an easy one. thank you!

  • @kryzword
    @kryzword Před 2 lety

    now i feel like an idiot because it was so simple. thank you now i can finish my comp sci homework

  • @k3nhd769
    @k3nhd769 Před rokem

    Preciate you man

  • @Kevinyo1538
    @Kevinyo1538 Před 2 lety

    Thank you!!! :)

  • @delvisyafri6717
    @delvisyafri6717 Před 2 lety +1

    How to save echo hello in keyboard???

  • @hebergeburt
    @hebergeburt Před rokem

    dope ! thx bro !

  • @kafayatyusuf640
    @kafayatyusuf640 Před 2 lety

    Hello, How did you save and get out of echo please

  • @user-yn4cu7wu6l
    @user-yn4cu7wu6l Před rokem

    how do you get out of the echo test file ?

  • @powerspan
    @powerspan Před 2 lety

    i have execution turned on by default still cant change permissions and cant execute files

  • @yannid003
    @yannid003 Před 2 lety

    Thx it worked fine 🙂

  • @bettyswunghole3310
    @bettyswunghole3310 Před 2 měsíci

    Hi - I'm running cygwin terminal (as an administrator) on windows 11. I've created a small "hello world" program which compiles with no problems and produces a file called a.exe. a.exe has all the appropriate execute permissions, yet whenever I try and run it I get "permission denied"...if anyone's got any ideas, they'd be greatly appreciated...

  • @hsenhoanmai-taimusic343

    how to save (echo hello) what key please sir

  • @moumenaklil7442
    @moumenaklil7442 Před rokem

    thank you very much

  • @RichardPaulino1
    @RichardPaulino1 Před 4 měsíci

    Thank you

  • @psnso708
    @psnso708 Před 2 lety

    didn"t work for me keeps telling me no such file or directory when i type the application name even added sudo still came up empty im on Big Sur I ran the commands with macs Terminal Even disabled Sip & Gatekeeper still no luck Im trying to run a Affinity Designer 2021 have it installed but cant bypass permissions pls help...

  • @nile305
    @nile305 Před 2 lety

    Thank you bro

  • @drayeersery449
    @drayeersery449 Před rokem

    thank you!!!!

  • @FadedHD-YT
    @FadedHD-YT Před 4 měsíci +1

    THX MATE^^^^^^^^

  • @MCandMosRandomChannel
    @MCandMosRandomChannel Před 10 měsíci

    Hey bro, this doesnt work for me, could you help to do this with I cloud?

  • @djgeeminor2843
    @djgeeminor2843 Před 2 lety

    Echo hello how do u save it and say yes

  • @Babunok0719
    @Babunok0719 Před 2 lety +1

    THANK YOUUUU THI SHELPED ME

  • @Impact776
    @Impact776 Před rokem

    Thank you😮

  • @frunzacatalin76
    @frunzacatalin76 Před 8 měsíci

    great!!

  • @aroniser
    @aroniser Před rokem

    Thanks

  • @RITEME-FF
    @RITEME-FF Před rokem

    Thanks ❤️❤️

  • @andrewpierson7236
    @andrewpierson7236 Před 2 lety

    how would I get permission for a hard drive???

  • @kuvala1306
    @kuvala1306 Před 2 lety

    thanks a lot

  • @CoolGamer-kt9fs
    @CoolGamer-kt9fs Před 2 lety

    what if it doesn't let me access /Users/???/Downloads

  • @tingidi
    @tingidi Před 2 lety

    When i pico, it says: Error writing test.sh: permission denied

  • @arafath_shxfin
    @arafath_shxfin Před 10 měsíci

    but how do i give access to my external ssd.

  • @Picswix94
    @Picswix94 Před rokem

    Thank you SOOOOO much

  • @jenniffermontoya8042
    @jenniffermontoya8042 Před 2 lety

    thank you!!!! it was so helpfull

  • @stephenqueen6946
    @stephenqueen6946 Před rokem

    Thanks man. This has been bugging me for ages and google search... isn't helpful anymore.

  • @johnscott2976
    @johnscott2976 Před rokem

    how do u get out of the window where u said echo hello I'm stuck there

  • @johnscott2976
    @johnscott2976 Před rokem

    can u please tell me how

  • @iamanishkumar
    @iamanishkumar Před 3 lety +1

    helped a lot love your videos
    can you make terminal tricks for windows also

    • @ezcoding4454
      @ezcoding4454  Před 3 lety +1

      I'm glad you enjoyed it, and yes I will work on one soon!

  • @eimalhamidi2432
    @eimalhamidi2432 Před 3 lety +1

    Hi
    I can't delete my desktop folders
    What should I do?

    • @ezcoding4454
      @ezcoding4454  Před 3 lety

      navigate to your desktop and type:
      rmdir FolderName

  • @ahmedmeouloudmohamed1823

    any help please

  • @tove5569
    @tove5569 Před 2 lety

    czcams.com/video/JeHXpAjXlDQ/video.html
    How do I do this step in the terminal? How to save it and then get out?

  • @Wholenesslove
    @Wholenesslove Před rokem

    wait after echo hello how do i exit and save it?

  • @MrJoaobarbosasm
    @MrJoaobarbosasm Před rokem

    I love u

  • @user-ox2bj3jj2m
    @user-ox2bj3jj2m Před 16 dny

    I don't have ./test.sh??

    • @user-ox2bj3jj2m
      @user-ox2bj3jj2m Před 16 dny

      I used it on the script that I was struggling and it worked! Thank you for the tutorial

  • @lfcruzsierra
    @lfcruzsierra Před 2 lety +1

    All my permissions are DRWX ..... then why am i still getting Permission Denied when trying to enter: /Users/******/Library/Preferences/ByHost (*=Redacted)

  • @4ebura6ka24
    @4ebura6ka24 Před rokem

    still doesnt work

  • @Hecreoquesoypancho
    @Hecreoquesoypancho Před 2 lety

    didnt worked for me :(

  • @ahmedmeouloudmohamed1823

    didn t work for me

  • @brendyclips5366
    @brendyclips5366 Před 4 měsíci

    Xie Xie Brother

  • @dongliu7987
    @dongliu7987 Před 2 lety

    How to fix this permission denial when using adb commands:"Permission denial, attempt to change the component state"

  • @NQFgmd
    @NQFgmd Před 8 měsíci

    pywintypes.error: (5, 'Createfile', 'Access is denied.')

  • @Topreal2024
    @Topreal2024 Před 3 měsíci

    🥰🥰🥰🥰🥰🥰🥰

  • @killuazoldyk5859
    @killuazoldyk5859 Před 2 lety

    I don’t understand

  • @sheeptheshawn240
    @sheeptheshawn240 Před 3 lety

    It says I don’t have permission to execute the chmod command

    • @tingidi
      @tingidi Před 2 lety +1

      Have you tried to put sudo in front of the command?