Windows 10: Cannot get chmod to work

Discus and support Cannot get chmod to work in Windows 10 Support to solve the problem; I'm embarrassed to be asking this, but I need to set /var/www/html and the scripts to have permissions of 775. The install of /var directory as ...... Discussion in 'Windows 10 Support' started by rtcary, Feb 21, 2018.

  1. rtcary Win User

    Cannot get chmod to work


    I'm embarrassed to be asking this, but I need to set /var/www/html and the scripts to have permissions of 775. The install of /var directory as

    ...
    d---------. 4 root root 33 Feb 16 10:57 www
    ...

    Why is this and what does it mean? If I try to change it or any of the directories/files with

    chmod -775

    nothing happens.

    \rtc

    P.S. How can I capture the screen and keystrokes so I can post them?

    :)
     
    rtcary, Feb 21, 2018
    #1

  2. Delete "Read Only" File?

    Sorry for the brief instruction.. was between offices using phone to post!!



    you need to find the filename in question, which can be tricky on the command line..



    for example, a file in Documents directory called test.txt would be



    chmod +w MyDocs/.documents/test.txt



    Not wonderfully intuitive..



    Alternatively, you can do a general attack using a recursive set



    chmod -R +w MyDocs/.documents

    chmod -R +w MyDocs/.images



    would set all files in the Documents and Images folder
     
    cpitchford, Feb 21, 2018
    #2
  3. Delete "Read Only" File?

    how lame.. i would expect the file manager to work



    you can use

    chmod +w filename

    in an xterm to add write permissions..
     
    cpitchford, Feb 21, 2018
    #3
  4. Samuria Win User

    Cannot get chmod to work

    What are you doing this on your using linux cmds but your specs show windows 10?
     
    Samuria, Feb 21, 2018
    #4
  5. What OS are you using?

    When you run "chmod -755" (with the minus sign) you are removing permissions. If you want to change the permissions just do "chmod 755 <filename>".

    Since www is owned by root you have to run this as root.

    I recommend you get familiar with how file permissions work before running any sort of server connected to the Internet.
     
    PolarNettles, Feb 21, 2018
    #5
  6. f14tomcat Win User
    He's running an Intell NUC, if that matters. Not familiar with that mini hardware. Intel® NUC
     
    f14tomcat, Feb 21, 2018
    #6
  7. rtcary Win User
    OMG! Embarrassed is an under statement. If you come to Bend, OR I buy you a beer -- how about a pitcher.

    \rtc
     
    rtcary, Apr 4, 2018
    #7
Thema:

Cannot get chmod to work

Loading...
  1. Cannot get chmod to work - Similar Threads - Cannot chmod

  2. cannot install windows 10 on a drive that previously had windows 11 24h2

    in Windows 10 Gaming
    cannot install windows 10 on a drive that previously had windows 11 24h2: cannot install windows 10 on a drive that previously had windows 11 24h2 even when selecting to delete partitions in windows install. Had to revert back to installing windows 11 24h2 which installed with no issue. Just kept getting message that windows could not be installed...
  3. cannot install windows 10 on a drive that previously had windows 11 24h2

    in Windows 10 Software and Apps
    cannot install windows 10 on a drive that previously had windows 11 24h2: cannot install windows 10 on a drive that previously had windows 11 24h2 even when selecting to delete partitions in windows install. Had to revert back to installing windows 11 24h2 which installed with no issue. Just kept getting message that windows could not be installed...
  4. Cannot sign in. You’ll need internet connection for this.

    in Windows 10 Gaming
    Cannot sign in. You’ll need internet connection for this.: Hi, i just got my new laptop with windows 10, last night i’m able to log in and setup my laptop but today i’m stuck at startup screen even after key in my email and password it show you’ll need internet for this but i’m still connected to my home WiFi. Already tried...
  5. Cannot sign in. You’ll need internet connection for this.

    in Windows 10 Software and Apps
    Cannot sign in. You’ll need internet connection for this.: Hi, i just got my new laptop with windows 10, last night i’m able to log in and setup my laptop but today i’m stuck at startup screen even after key in my email and password it show you’ll need internet for this but i’m still connected to my home WiFi. Already tried...
  6. Cannot sign in. You’ll need internet connection for this.

    in Windows Hello & Lockscreen
    Cannot sign in. You’ll need internet connection for this.: Hi, i just got my new laptop with windows 10, last night i’m able to log in and setup my laptop but today i’m stuck at startup screen even after key in my email and password it show you’ll need internet for this but i’m still connected to my home WiFi. Already tried...
  7. I cannot access my Microsoft Account in the Windows Store.

    in Windows 10 Gaming
    I cannot access my Microsoft Account in the Windows Store.: I am trying to purchase Game Pass, when I try, it prompts me to enter the email that is "johndoe********@****.com." I enter it correctly, it then asks me to enter the code sent to that email, I enter it. It THEN asks me to enter the code from a second email that I no longer...
  8. I cannot access my Microsoft Account in the Windows Store.

    in Windows 10 Software and Apps
    I cannot access my Microsoft Account in the Windows Store.: I am trying to purchase Game Pass, when I try, it prompts me to enter the email that is "johndoe********@****.com." I enter it correctly, it then asks me to enter the code sent to that email, I enter it. It THEN asks me to enter the code from a second email that I no longer...
  9. I cannot access my Microsoft Account in the Windows Store.

    in Microsoft Windows 10 Store
    I cannot access my Microsoft Account in the Windows Store.: I am trying to purchase Game Pass, when I try, it prompts me to enter the email that is "johndoe********@****.com." I enter it correctly, it then asks me to enter the code sent to that email, I enter it. It THEN asks me to enter the code from a second email that I no longer...
  10. sysprep /generalize fails due to appx package Microsoft.SecHealthUI, but it cannot be...

    in Windows 10 Software and Apps
    sysprep /generalize fails due to appx package Microsoft.SecHealthUI, but it cannot be...: I'm nearing final steps in updating a customized OEM production Windows 11 Pro image for a Lenovo V14g4, upgrading from 22H2 to 24H2, and have had to work through many, many issues more than ever before for past versions of Windows. But I've gotten through them all, up to...

Users found this page by searching for:

  1. windows 10 chmod not working