Cannot get chmod to work


  1. Posts : 65
    Windows 10
       #1

    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?
      My Computer


  2. Posts : 8,057
    windows 10
       #2

    What are you doing this on your using linux cmds but your specs show windows 10?
      My Computer


  3. Posts : 809
    Win10
       #3

    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.
      My Computer


  4. Posts : 56,806
    Multi-boot Windows 10/11 - RTM, RP, Beta, and Insider
       #4

    He's running an Intell NUC, if that matters. Not familiar with that mini hardware. IntelĀ® NUC
      My Computers


  5. Posts : 65
    Windows 10
    Thread Starter
       #5

    OMG! Embarrassed is an under statement. If you come to Bend, OR I buy you a beer -- how about a pitcher.

    \rtc
      My Computer


 

  Related Discussions
Our Sites
Site Links
About Us
Windows 10 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 10" and related materials are trademarks of Microsoft Corp.

© Designer Media Ltd
All times are GMT -5. The time now is 05:02.
Find Us




Windows 10 Forums