New
#11
Uac is always off lol and for Cygwin il google it to find out what that is
Uac is always off lol and for Cygwin il google it to find out what that is
Cygwin is great....its like a Windows version of CShell. Hopefully you can chmod +rw *.*
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
And before you attempt to change the permissions, you may need to log in as a true administrator on your win7 box.
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.
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)
Did you try to give full control of the said 2 folders to Everyone?