Page 1 of 1
Windows permissions vs unix permisions
Posted: Sun Feb 18, 2007 7:28 pm
by rmfred
OK... I have an install version 1.0.4 pretty much working on a windows host (webhost4life). I am having some problems with modules etc... and need to know exactly what type of permissions are needed. I cannot just use an ftp program and change unix permissions to 777 or 775 or 666 because they don't stick. I need to use permissions/security from the webhost's control panel. No problem, as this can be done. BUT, I need to know what windows permissions are required for every folder/file so I can make this install work.
So far all the errors I have encountered have been able to be fixed by giving the ISUR_blah account read and or write access. However, I am trying to do a backup using the backup module and keep getting errors like this:
Warning: mkdir() [function.mkdir]: Permission denied in D:\hosting\member\rmfred\site1\cmsmadesimple\modules\Backup\Backup.module.php on line 237
Warning: fopen(backups/backup-2007-02-18_11-25-08.txt) [function.fopen]: failed to open stream: No such file or directory in D:\hosting\member\rmfred\site1\cmsmadesimple\modules\Backup\Backup.module.php on line 248
backing up database ...
I am hesitant to just allow full permission across the site... so I guess what I am looking for is a schematic of what "windows" permissions are required for each directory in order to function correctly and still afford the maximum security.
TIA for any help you all might be able to provide
Re: Windows permissions vs unix permisions
Posted: Sun Feb 18, 2007 8:15 pm
by KO
You might want to check
http://wiki.cmsmadesimple.org/index.php ... stallation
I've always got things (Linux) working with those instructions. Windows does not care about permissions it seems.
Re: Windows permissions vs unix permisions
Posted: Mon Feb 19, 2007 5:14 pm
by rmfred
Thanks for the reply. I've been through that document a couple of times. Windows appears to care about permissions more than it might look at first glance.
So unix 777 permission means this:
Owner: rwx
Group: rwx
Other: rwx
This is what my host's control panel looks like for file permissions on the root directory for cmsmadesimple:
Administrator -- RWXDPO
SYSTEM -- RWXDPO
IUSR_DEDI501 -- RX
NETWORK -- RX
NETWORK SERVICE -- RX
IUSR_RMFRED -- RX
How do these compare with unix 777?
I'm really struggling with how to configure this windows installation and security aspects. I've given rwx to the iusr_rmfred for the folders outlined in the wiki document mentioned by KO... what else should I be looking for?
TIA
Re: Windows permissions vs unix permisions
Posted: Mon Feb 19, 2007 7:08 pm
by Pierre M.
rmfred wrote:
...So unix 777 permission means this:
Owner: rwx
Group: rwx
Other: rwx
...
Correct. But I'm sorry I can't help you more as I don't know Windows.
People must have reasons to prefer Windows as a hosting platform to run "unixinternet born" software like Apache and PHP. May be phone support ? I think CMSms forums are not the best place to ask for support about how to remotely tune Windows software. As people are cool here you can get answers but you should ask your provider (or your customer who has made the choice of the provider).
Pierre M.
Re: Windows permissions vs unix permisions
Posted: Mon Feb 19, 2007 7:33 pm
by KO
Are you able to connect with ssh to check permissions on command line? You might want check that possibility with that service provider. Using putty or something similar to connect and check file listing that way. Unfortunately I'm not familiar with Windows servers as for us it has always been linux, unix or something similar.
Re: Windows permissions vs unix permisions
Posted: Mon Feb 19, 2007 11:11 pm
by rmfred
Pierre M. wrote:
rmfred wrote:
...So unix 777 permission means this:
Owner: rwx
Group: rwx
Other: rwx
...
Correct. But I'm sorry I can't help you more as I don't know Windows.
People must have reasons to prefer Windows as a hosting platform to run "unixinternet born" software like Apache and PHP. May be phone support ? I think CMSms forums are not the best place to ask for support about how to remotely tune Windows software. As people are cool here you can get answers but you should ask your provider (or your customer who has made the choice of the provider).
Pierre M.
Using windows hosting since I also need support for ASP.
The reason I asked here was I highly doubted I was the "only" person in the world using cmsms on a windows hosting package

and just thought someone had perhaps run into this prior to me and had some thoughts.
Re: Windows permissions vs unix permisions
Posted: Mon Feb 19, 2007 11:18 pm
by rmfred
KO wrote:
Are you able to connect with ssh to check permissions on command line? You might want check that possibility with that service provider. Using putty or something similar to connect and check file listing that way. Unfortunately I'm not familiar with Windows servers as for us it has always been linux, unix or something similar.
Not familiar with ssh or putty... will have to look into it.
However, if I look at permissions via a ftp client they all appear to have unix 666 permissions. But I'm willing to bet that is just the default permission the ftp client sees and not the actual because none of them show any different.
Re: Windows permissions vs unix permisions
Posted: Tue Feb 20, 2007 1:28 pm
by KO
Ok. Maybe trying also another ftp client program like filezilla, unless that's what you are using allready, might give some more answers. These are just more ideas that you probably tried allready. But check that Putty SSH client and ssh connection.