How to CHMOD in win 7

Page 2 of 2 FirstFirst 12

  1. Posts : 39
    Microsoft Windows 7 Ultimate 64-bit 7601 Multiprocessor Free Service Pack 1
    Thread Starter
       #11

    Uac is always off lol and for Cygwin il google it to find out what that is
      My Computer


  2. Posts : 19,383
    Windows 10 Pro x64 ; Xubuntu x64
       #12

    Cygwin is great....its like a Windows version of CShell. Hopefully you can chmod +rw *.*
      My Computer


  3. Posts : 797
    Windows 7 Ultimate (x64)
       #13

    As far as I understand, Cygwin is not a magical way to run Linux. It does contain all usual Unix commands in it, but it is an emulator layer and thus the file system remains Windows-based. Thus chmod is rather limited in its use. In earlier versions of Cygwin it was totally useless, I am not sure about the latest version, but I do not think it is able to actually edit native Windows permissions. And clearly that's what you want to do, edit permissions. Thus, as pointed out by z3r010, you just need to edit permissions for the relevant user to access files in question.

    Note, that this "relevant user" is not necessarily you. I do not know what software you are using but the very same Cygwin, in order to create a ssh server needs to create a special user account. This user would need to be able to access files as well. Maybe you've got something like this there.

    The simplest thing, if this is your home server and security is not the top priority, is to simply allow access to the files or folders in question to "Everyone" (without quotes of course). This would completely eliminate any permissions-related problems.
      My Computer


  4. Posts : 39
    Microsoft Windows 7 Ultimate 64-bit 7601 Multiprocessor Free Service Pack 1
    Thread Starter
       #14

    unifex said:
    As far as I understand, Cygwin is not a magical way to run Linux. It does contain all usual Unix commands in it, but it is an emulator layer and thus the file system remains Windows-based. Thus chmod is rather limited in its use. In earlier versions of Cygwin it was totally useless, I am not sure about the latest version, but I do not think it is able to actually edit native Windows permissions. And clearly that's what you want to do, edit permissions. Thus, as pointed out by z3r010, you just need to edit permissions for the relevant user to access files in question.

    Note, that this "relevant user" is not necessarily you. I do not know what software you are using but the very same Cygwin, in order to create a ssh server needs to create a special user account. This user would need to be able to access files as well. Maybe you've got something like this there.

    The simplest thing, if this is your home server and security is not the top priority, is to simply allow access to the files or folders in question to "Everyone" (without quotes of course). This would completely eliminate any permissions-related problems.

    Il have another play on my win 7 machine if any one want to try out the software im using to see how it goes pm me as i cant put a link in as you need to buy the download link not the software here is what the software looks like when installed Rapidsendit - 1-Click File Host (Powered By Rapidsendit Clone)

    mine looks just like it but with error messages about file permissions

    here is the error

    Warning: fopen(./storagedata/.) [function.fopen]: failed to open stream: Permission denied in C:\xampp\htdocs\upload.php on line 46

    no matter how i set permissions its always the same error
    Last edited by martin123; 25 Nov 2010 at 12:37. Reason: added
      My Computer


  5. Posts : 50
    Windows 7 Ultimate 64bit
       #15

    And before you attempt to change the permissions, you may need to log in as a true administrator on your win7 box.
      My Computer


  6. Posts : 797
    Windows 7 Ultimate (x64)
       #16

    Martin, if you set your files accessible to Everyone and you still get the same error, then check whether your firewall (Windows Firewall or whatever Internet Security you are running) allows your software to access your system. In addition, if you are using a router, make sure that you have set the port forwarding properly. If any of these are not your problem, you may want to make sure that that's the case by trying to access at least something by this software - I do not recall now, is your problem with specific files or with the connection in general.
      My Computer


  7. Posts : 39
    Microsoft Windows 7 Ultimate 64-bit 7601 Multiprocessor Free Service Pack 1
    Thread Starter
       #17

    its just 2 folders the machine that host has the firewall turned off

    the router is set as i was hosting my own forum and the said machine is also infront of the router in DMZ

    all connections are fine just 2 folders need to be set to 777 and a few .txt need to be set to 777

    (the .txt are set with no problems)
      My Computer


  8. Posts : 797
    Windows 7 Ultimate (x64)
       #18

    Did you try to give full control of the said 2 folders to Everyone?
      My Computer


 
Page 2 of 2 FirstFirst 12

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

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