Magento 2.1 pub/static permissionMagento 2 static deploy en_US argument invalid on XAMPPRunning “bin/magento setup:static-content:deploy” gives “Permission denied”Migrating Magento 1.9.1.1 to Magento 2 using Migration Tool errorMagento 2 Permission error - RESETMagento 2 Module upgrade errorError “_colors.less” during static-content:deployTry to install magento migration tool failsFolder permission on Magento2Magento 2 Add custom font to Email TemplateMagento 2: Permission issue with generated directory

Can someone clarify Hamming's notion of important problems in relation to modern academia?

Can compressed videos be decoded back to their uncompresed original format?

Why is the sentence "Das ist eine Nase" correct?

How can a day be of 24 hours?

Did 'Cinema Songs' exist during Hiranyakshipu's time?

What do you call someone who asks many questions?

Finding the reason behind the value of the integral.

files created then deleted at every second in tmp directory

How obscure is the use of 令 in 令和?

Why were 5.25" floppy drives cheaper than 8"?

Sums of two squares in arithmetic progressions

Bullying boss launched a smear campaign and made me unemployable

How to coordinate airplane tickets?

How to show a landlord what we have in savings?

Why is it a bad idea to hire a hitman to eliminate most corrupt politicians?

What reasons are there for a Capitalist to oppose a 100% inheritance tax?

How seriously should I take size and weight limits of hand luggage?

Spam email "via" my domain, but SPF record exists

Do Iron Man suits sport waste management systems?

How badly should I try to prevent a user from XSSing themselves?

Is there a hemisphere-neutral way of specifying a season?

How do I exit BASH while loop using modulus operator?

Are British MPs missing the point, with these 'Indicative Votes'?

How to calculate the right interval for a timelapse on a boat



Magento 2.1 pub/static permission


Magento 2 static deploy en_US argument invalid on XAMPPRunning “bin/magento setup:static-content:deploy” gives “Permission denied”Migrating Magento 1.9.1.1 to Magento 2 using Migration Tool errorMagento 2 Permission error - RESETMagento 2 Module upgrade errorError “_colors.less” during static-content:deployTry to install magento migration tool failsFolder permission on Magento2Magento 2 Add custom font to Email TemplateMagento 2: Permission issue with generated directory













0















i have some trouble when i run command php binmagento setup:static-content:deploy



it always keep missing permission when create new folder even after i assign full permission (i'm using windows) and tick 'apply to subfolder and files', this permission is not inherited in new folder



is this some bug on magento and is there any way to fix this?



PS: my magento is on dev server which is running CentOs and my local computer is running windows 7










share|improve this question














bumped to the homepage by Community 1 min ago


This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.















  • use sudo php binmagento setup:static-content:deploy

    – inrsaurabh
    Dec 22 '17 at 7:03











  • @SaurabhRanjan since i use windows in my local, so i need to run cmd in administrator

    – Sandy
    Dec 22 '17 at 7:10











  • I am not sure you could run Magento2 in a proper way in a Windows machine

    – Raul Sanchez
    Dec 22 '17 at 10:38















0















i have some trouble when i run command php binmagento setup:static-content:deploy



it always keep missing permission when create new folder even after i assign full permission (i'm using windows) and tick 'apply to subfolder and files', this permission is not inherited in new folder



is this some bug on magento and is there any way to fix this?



PS: my magento is on dev server which is running CentOs and my local computer is running windows 7










share|improve this question














bumped to the homepage by Community 1 min ago


This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.















  • use sudo php binmagento setup:static-content:deploy

    – inrsaurabh
    Dec 22 '17 at 7:03











  • @SaurabhRanjan since i use windows in my local, so i need to run cmd in administrator

    – Sandy
    Dec 22 '17 at 7:10











  • I am not sure you could run Magento2 in a proper way in a Windows machine

    – Raul Sanchez
    Dec 22 '17 at 10:38













0












0








0








i have some trouble when i run command php binmagento setup:static-content:deploy



it always keep missing permission when create new folder even after i assign full permission (i'm using windows) and tick 'apply to subfolder and files', this permission is not inherited in new folder



is this some bug on magento and is there any way to fix this?



PS: my magento is on dev server which is running CentOs and my local computer is running windows 7










share|improve this question














i have some trouble when i run command php binmagento setup:static-content:deploy



it always keep missing permission when create new folder even after i assign full permission (i'm using windows) and tick 'apply to subfolder and files', this permission is not inherited in new folder



is this some bug on magento and is there any way to fix this?



PS: my magento is on dev server which is running CentOs and my local computer is running windows 7







magento2 magento-2.1 permissions






share|improve this question













share|improve this question











share|improve this question




share|improve this question










asked Dec 22 '17 at 7:01









SandySandy

1




1





bumped to the homepage by Community 1 min ago


This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.







bumped to the homepage by Community 1 min ago


This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.














  • use sudo php binmagento setup:static-content:deploy

    – inrsaurabh
    Dec 22 '17 at 7:03











  • @SaurabhRanjan since i use windows in my local, so i need to run cmd in administrator

    – Sandy
    Dec 22 '17 at 7:10











  • I am not sure you could run Magento2 in a proper way in a Windows machine

    – Raul Sanchez
    Dec 22 '17 at 10:38

















  • use sudo php binmagento setup:static-content:deploy

    – inrsaurabh
    Dec 22 '17 at 7:03











  • @SaurabhRanjan since i use windows in my local, so i need to run cmd in administrator

    – Sandy
    Dec 22 '17 at 7:10











  • I am not sure you could run Magento2 in a proper way in a Windows machine

    – Raul Sanchez
    Dec 22 '17 at 10:38
















use sudo php binmagento setup:static-content:deploy

– inrsaurabh
Dec 22 '17 at 7:03





use sudo php binmagento setup:static-content:deploy

– inrsaurabh
Dec 22 '17 at 7:03













@SaurabhRanjan since i use windows in my local, so i need to run cmd in administrator

– Sandy
Dec 22 '17 at 7:10





@SaurabhRanjan since i use windows in my local, so i need to run cmd in administrator

– Sandy
Dec 22 '17 at 7:10













I am not sure you could run Magento2 in a proper way in a Windows machine

– Raul Sanchez
Dec 22 '17 at 10:38





I am not sure you could run Magento2 in a proper way in a Windows machine

– Raul Sanchez
Dec 22 '17 at 10:38










2 Answers
2






active

oldest

votes


















0














Set permission by using below command, it will set recursively permission



chmod -Rf 755 pub;chmod -Rf 755 var;





share|improve this answer






























    0














    try this



    chmod -R 777 pub/static 





    share|improve this answer























    • Hi, i have tried to set chmod 777 but still have some folders not have the permission. should i run this on my server directly and use root to run the command ?

      – Sandy
      Dec 28 '17 at 6:42











    • sudo chmod -R 777 pub/static

      – Ravindrasinh Zala
      Dec 28 '17 at 6:48











    Your Answer








    StackExchange.ready(function()
    var channelOptions =
    tags: "".split(" "),
    id: "479"
    ;
    initTagRenderer("".split(" "), "".split(" "), channelOptions);

    StackExchange.using("externalEditor", function()
    // Have to fire editor after snippets, if snippets enabled
    if (StackExchange.settings.snippets.snippetsEnabled)
    StackExchange.using("snippets", function()
    createEditor();
    );

    else
    createEditor();

    );

    function createEditor()
    StackExchange.prepareEditor(
    heartbeatType: 'answer',
    autoActivateHeartbeat: false,
    convertImagesToLinks: false,
    noModals: true,
    showLowRepImageUploadWarning: true,
    reputationToPostImages: null,
    bindNavPrevention: true,
    postfix: "",
    imageUploader:
    brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
    contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
    allowUrls: true
    ,
    onDemand: true,
    discardSelector: ".discard-answer"
    ,immediatelyShowMarkdownHelp:true
    );



    );













    draft saved

    draft discarded


















    StackExchange.ready(
    function ()
    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmagento.stackexchange.com%2fquestions%2f206862%2fmagento-2-1-pub-static-permission%23new-answer', 'question_page');

    );

    Post as a guest















    Required, but never shown

























    2 Answers
    2






    active

    oldest

    votes








    2 Answers
    2






    active

    oldest

    votes









    active

    oldest

    votes






    active

    oldest

    votes









    0














    Set permission by using below command, it will set recursively permission



    chmod -Rf 755 pub;chmod -Rf 755 var;





    share|improve this answer



























      0














      Set permission by using below command, it will set recursively permission



      chmod -Rf 755 pub;chmod -Rf 755 var;





      share|improve this answer

























        0












        0








        0







        Set permission by using below command, it will set recursively permission



        chmod -Rf 755 pub;chmod -Rf 755 var;





        share|improve this answer













        Set permission by using below command, it will set recursively permission



        chmod -Rf 755 pub;chmod -Rf 755 var;






        share|improve this answer












        share|improve this answer



        share|improve this answer










        answered Dec 22 '17 at 10:34









        Navin BhudiyaNavin Bhudiya

        7661024




        7661024























            0














            try this



            chmod -R 777 pub/static 





            share|improve this answer























            • Hi, i have tried to set chmod 777 but still have some folders not have the permission. should i run this on my server directly and use root to run the command ?

              – Sandy
              Dec 28 '17 at 6:42











            • sudo chmod -R 777 pub/static

              – Ravindrasinh Zala
              Dec 28 '17 at 6:48















            0














            try this



            chmod -R 777 pub/static 





            share|improve this answer























            • Hi, i have tried to set chmod 777 but still have some folders not have the permission. should i run this on my server directly and use root to run the command ?

              – Sandy
              Dec 28 '17 at 6:42











            • sudo chmod -R 777 pub/static

              – Ravindrasinh Zala
              Dec 28 '17 at 6:48













            0












            0








            0







            try this



            chmod -R 777 pub/static 





            share|improve this answer













            try this



            chmod -R 777 pub/static 






            share|improve this answer












            share|improve this answer



            share|improve this answer










            answered Dec 22 '17 at 10:35









            Ravindrasinh ZalaRavindrasinh Zala

            1,271322




            1,271322












            • Hi, i have tried to set chmod 777 but still have some folders not have the permission. should i run this on my server directly and use root to run the command ?

              – Sandy
              Dec 28 '17 at 6:42











            • sudo chmod -R 777 pub/static

              – Ravindrasinh Zala
              Dec 28 '17 at 6:48

















            • Hi, i have tried to set chmod 777 but still have some folders not have the permission. should i run this on my server directly and use root to run the command ?

              – Sandy
              Dec 28 '17 at 6:42











            • sudo chmod -R 777 pub/static

              – Ravindrasinh Zala
              Dec 28 '17 at 6:48
















            Hi, i have tried to set chmod 777 but still have some folders not have the permission. should i run this on my server directly and use root to run the command ?

            – Sandy
            Dec 28 '17 at 6:42





            Hi, i have tried to set chmod 777 but still have some folders not have the permission. should i run this on my server directly and use root to run the command ?

            – Sandy
            Dec 28 '17 at 6:42













            sudo chmod -R 777 pub/static

            – Ravindrasinh Zala
            Dec 28 '17 at 6:48





            sudo chmod -R 777 pub/static

            – Ravindrasinh Zala
            Dec 28 '17 at 6:48

















            draft saved

            draft discarded
















































            Thanks for contributing an answer to Magento Stack Exchange!


            • Please be sure to answer the question. Provide details and share your research!

            But avoid


            • Asking for help, clarification, or responding to other answers.

            • Making statements based on opinion; back them up with references or personal experience.

            To learn more, see our tips on writing great answers.




            draft saved


            draft discarded














            StackExchange.ready(
            function ()
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmagento.stackexchange.com%2fquestions%2f206862%2fmagento-2-1-pub-static-permission%23new-answer', 'question_page');

            );

            Post as a guest















            Required, but never shown





















































            Required, but never shown














            Required, but never shown












            Required, but never shown







            Required, but never shown

































            Required, but never shown














            Required, but never shown












            Required, but never shown







            Required, but never shown







            Popular posts from this blog

            Best approach to update all entries in a list that is paginated?Best way to add items to a paginated listChoose Your Country: Best Usability approachUpdate list when a user is viewing the list without annoying themWhen would the best day to update your webpage be?What should happen when I add a Row to a paginated, sorted listShould I adopt infinite scrolling or classical pagination?How to show user that page objects automatically updateWhat is the best location to locate the comments section in a list pageBest way to combine filtering and selecting items in a listWhen one of two inputs must be updated to satisfy a consistency criteria, which should you update (if at all)?

            Вунгтау (аеропорт) Загальні відомості | Див. також | Посилання | Навігаційне меню10°22′00″ пн. ш. 107°05′00″ сх. д. / 10.36667° пн. ш. 107.08333° сх. д. / 10.36667; 107.0833310°22′00″ пн. ш. 107°05′00″ сх. д. / 10.36667° пн. ш. 107.08333° сх. д. / 10.36667; 107.083337731608Vinh AirportVinh airport facelift improves serviceвиправивши або дописавши їївиправивши або дописавши їїр

            Тонконіг бульбистий Зміст Опис | Поширення | Екологія | Господарське значення | Примітки | Див. також | Література | Джерела | Посилання | Навігаційне меню1114601320038-241116202404kew-435458Poa bulbosaЭлектронный каталог сосудистых растений Азиатской России [Електронний каталог судинних рослин Азіатської Росії]Малышев Л. Л. Дикие родичи культурных растений. Poa bulbosa L. - Мятлик луковичный. [Малишев Л. Л. Дикі родичи культурних рослин. Poa bulbosa L. - Тонконіг бульбистий.]Мятлик (POA) Сем. Злаки (Мятликовые) [Тонконіг (POA) Род. Злаки (Тонконогові)]Poa bulbosa Linnaeus, Sp. Pl. 1: 70. 1753. 鳞茎早熟禾 lin jing zao shu he (Description from Flora of China) [Poa bulbosa Linnaeus, Sp. Pl. 1: 70. 1753. 鳞茎早熟禾 lin jing zao shu he (Опис від Флора Китаю)]Poa bulbosa L. – lipnice cibulkatá / lipnica cibulkatáPoa bulbosa в базі даних Poa bulbosa на сайті Poa bulbosa в базі даних «Global Biodiversity Information Facility» (GBIF)Poa bulbosa в базі даних «Euro + Med PlantBase» — інформаційному ресурсі для Євро-середземноморського розмаїття рослинPoa bulbosa L. на сайті «Плантариум»