chmod: changing permissions of file system












1















I'm having problems to execute file in my VMware folder, I tried changing permissions, but it does not change but give this error:



chmod: changing permissions of <filename> Read-only file system


I tried using chmod +x, chmod 777 and several others.



Still not able to run the file.



Please see image file permissions



Note by Yaron: During the discussion in chat we understood that the read-only file system is a CD mounted to the VM.










share|improve this question

























  • which file do you fail to execute?

    – Yaron
    Jan 14 at 8:10











  • run_upgrade.sh, I see it is set to permission -r--r--r--

    – user3768971
    Jan 14 at 8:11











  • in the attached photo, we can see that run_upgrade has -r-xr-xr-x permissions. i.e. it is executable

    – Yaron
    Jan 14 at 8:12













  • Do you run your commands as user root or as oxidized ?

    – Yaron
    Jan 14 at 8:14











  • sorry, it's true. It's the tar.gz file that won't extract

    – user3768971
    Jan 14 at 8:15
















1















I'm having problems to execute file in my VMware folder, I tried changing permissions, but it does not change but give this error:



chmod: changing permissions of <filename> Read-only file system


I tried using chmod +x, chmod 777 and several others.



Still not able to run the file.



Please see image file permissions



Note by Yaron: During the discussion in chat we understood that the read-only file system is a CD mounted to the VM.










share|improve this question

























  • which file do you fail to execute?

    – Yaron
    Jan 14 at 8:10











  • run_upgrade.sh, I see it is set to permission -r--r--r--

    – user3768971
    Jan 14 at 8:11











  • in the attached photo, we can see that run_upgrade has -r-xr-xr-x permissions. i.e. it is executable

    – Yaron
    Jan 14 at 8:12













  • Do you run your commands as user root or as oxidized ?

    – Yaron
    Jan 14 at 8:14











  • sorry, it's true. It's the tar.gz file that won't extract

    – user3768971
    Jan 14 at 8:15














1












1








1








I'm having problems to execute file in my VMware folder, I tried changing permissions, but it does not change but give this error:



chmod: changing permissions of <filename> Read-only file system


I tried using chmod +x, chmod 777 and several others.



Still not able to run the file.



Please see image file permissions



Note by Yaron: During the discussion in chat we understood that the read-only file system is a CD mounted to the VM.










share|improve this question
















I'm having problems to execute file in my VMware folder, I tried changing permissions, but it does not change but give this error:



chmod: changing permissions of <filename> Read-only file system


I tried using chmod +x, chmod 777 and several others.



Still not able to run the file.



Please see image file permissions



Note by Yaron: During the discussion in chat we understood that the read-only file system is a CD mounted to the VM.







18.04 permissions vmware chmod tar






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Jan 14 at 8:40









Yaron

9,05871940




9,05871940










asked Jan 14 at 8:03









user3768971user3768971

152




152













  • which file do you fail to execute?

    – Yaron
    Jan 14 at 8:10











  • run_upgrade.sh, I see it is set to permission -r--r--r--

    – user3768971
    Jan 14 at 8:11











  • in the attached photo, we can see that run_upgrade has -r-xr-xr-x permissions. i.e. it is executable

    – Yaron
    Jan 14 at 8:12













  • Do you run your commands as user root or as oxidized ?

    – Yaron
    Jan 14 at 8:14











  • sorry, it's true. It's the tar.gz file that won't extract

    – user3768971
    Jan 14 at 8:15



















  • which file do you fail to execute?

    – Yaron
    Jan 14 at 8:10











  • run_upgrade.sh, I see it is set to permission -r--r--r--

    – user3768971
    Jan 14 at 8:11











  • in the attached photo, we can see that run_upgrade has -r-xr-xr-x permissions. i.e. it is executable

    – Yaron
    Jan 14 at 8:12













  • Do you run your commands as user root or as oxidized ?

    – Yaron
    Jan 14 at 8:14











  • sorry, it's true. It's the tar.gz file that won't extract

    – user3768971
    Jan 14 at 8:15

















which file do you fail to execute?

– Yaron
Jan 14 at 8:10





which file do you fail to execute?

– Yaron
Jan 14 at 8:10













run_upgrade.sh, I see it is set to permission -r--r--r--

– user3768971
Jan 14 at 8:11





run_upgrade.sh, I see it is set to permission -r--r--r--

– user3768971
Jan 14 at 8:11













in the attached photo, we can see that run_upgrade has -r-xr-xr-x permissions. i.e. it is executable

– Yaron
Jan 14 at 8:12







in the attached photo, we can see that run_upgrade has -r-xr-xr-x permissions. i.e. it is executable

– Yaron
Jan 14 at 8:12















Do you run your commands as user root or as oxidized ?

– Yaron
Jan 14 at 8:14





Do you run your commands as user root or as oxidized ?

– Yaron
Jan 14 at 8:14













sorry, it's true. It's the tar.gz file that won't extract

– user3768971
Jan 14 at 8:15





sorry, it's true. It's the tar.gz file that won't extract

– user3768971
Jan 14 at 8:15










1 Answer
1






active

oldest

votes


















0














The source of the problem is that you tried to write to a CD which is a read-only system.



You should first copy the file to a write-able folder (e.g. another folder in your VM which is located on HDD).



Afterwards if you want to extract filename.tar.gz file You can extract it using:



tar -xzvf filename.tar.gz


or by using:



tar xf filename.tar.gz





share|improve this answer

























    Your Answer








    StackExchange.ready(function() {
    var channelOptions = {
    tags: "".split(" "),
    id: "89"
    };
    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: true,
    noModals: true,
    showLowRepImageUploadWarning: true,
    reputationToPostImages: 10,
    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%2faskubuntu.com%2fquestions%2f1109556%2fchmod-changing-permissions-of-file-system%23new-answer', 'question_page');
    }
    );

    Post as a guest















    Required, but never shown

























    1 Answer
    1






    active

    oldest

    votes








    1 Answer
    1






    active

    oldest

    votes









    active

    oldest

    votes






    active

    oldest

    votes









    0














    The source of the problem is that you tried to write to a CD which is a read-only system.



    You should first copy the file to a write-able folder (e.g. another folder in your VM which is located on HDD).



    Afterwards if you want to extract filename.tar.gz file You can extract it using:



    tar -xzvf filename.tar.gz


    or by using:



    tar xf filename.tar.gz





    share|improve this answer






























      0














      The source of the problem is that you tried to write to a CD which is a read-only system.



      You should first copy the file to a write-able folder (e.g. another folder in your VM which is located on HDD).



      Afterwards if you want to extract filename.tar.gz file You can extract it using:



      tar -xzvf filename.tar.gz


      or by using:



      tar xf filename.tar.gz





      share|improve this answer




























        0












        0








        0







        The source of the problem is that you tried to write to a CD which is a read-only system.



        You should first copy the file to a write-able folder (e.g. another folder in your VM which is located on HDD).



        Afterwards if you want to extract filename.tar.gz file You can extract it using:



        tar -xzvf filename.tar.gz


        or by using:



        tar xf filename.tar.gz





        share|improve this answer















        The source of the problem is that you tried to write to a CD which is a read-only system.



        You should first copy the file to a write-able folder (e.g. another folder in your VM which is located on HDD).



        Afterwards if you want to extract filename.tar.gz file You can extract it using:



        tar -xzvf filename.tar.gz


        or by using:



        tar xf filename.tar.gz






        share|improve this answer














        share|improve this answer



        share|improve this answer








        edited Jan 14 at 8:40

























        answered Jan 14 at 8:19









        YaronYaron

        9,05871940




        9,05871940






























            draft saved

            draft discarded




















































            Thanks for contributing an answer to Ask Ubuntu!


            • 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%2faskubuntu.com%2fquestions%2f1109556%2fchmod-changing-permissions-of-file-system%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

            Human spaceflight

            Can not write log (Is /dev/pts mounted?) - openpty in Ubuntu-on-Windows?

            File:DeusFollowingSea.jpg