Windows Permissions vs CHMOD

Problems with the Windows version of XAMPP, questions, comments, and anything related.

Windows Permissions vs CHMOD

Postby williamb » 27. November 2005 00:36

First let me say I LOVE the XAMPP, it was easy to use and install, not to mention kinda fun. BUT the biggest problem is the permissions. After all Apache is mostly from a Linux/Unix environment and the permissions it uses are different from the Windows OS, not to mention you are SCREWED if you attempt to use an FTP program to attempt to remotely change permissions on an XP or Windows Server machine..it doesn't work. You must have either physical or remote access to it...even then HOW DO YOU DO IT???

On my Windows Server 2003 system I have a file stucture set up like

F:\XAMPP\htdocs\Sites\ (from here down are my sites) such as

F:\XAMPP\htdocs\Sites\SoCal\demo\htdocs\forums.

Now my issue is I have under this 'forum' directory a directory called 'uploads' which my forum is SUPPOSED to use to allow the forum members to upload pictures, files, etc. Problem is when you look at the properties (again in Windows 2003 server) for the this directory you see

Account Unknown (S-1-5-21-1547161642-1606980848-682003330-2624
Account Unknown (S-1-5-21-1547161642-1606980848-682003330-2625
Account Unknown (S-1-5-21-1547161642-1606980848-682003330-2626
Account Unknown (S-1-5-21-1547161642-1606980848-682003330-2628
Account Unknown (S-1-5-21-1547161642-1606980848-682003330-2629

AND NONE of them have a Write permission assigned to them.

SO
1) How do you tell What SID is assigned to what?
2) How do you adjust the Write permissions, because just adding it doesn't work for the site.
3) Can this be modified in the httpd.conf file?

Please HELP
Thanks
Will
Learning Apache....be gentle :)
williamb
 
Posts: 6
Joined: 26. August 2005 00:15
Location: San Diego, CA

Postby Foxy » 27. November 2005 19:29

Well if you have filezilla, you can CHMOD by right clicking on the file or folder and select file attributes.
Foxy
 
Posts: 37
Joined: 08. November 2005 21:18

Postby williamb » 27. November 2005 20:02

Foxy wrote:Well if you have filezilla, you can CHMOD by right clicking on the file or folder and select file attributes.


That is not allowed...it is only allowed on a Unix/Linux host system NOT a Windows server, I even specifically pointed that out.

What I did FIND out through reading was that you must use the directive <directory> or <file> in the apache http.conf file to set permissions, however I am still confused how this works.
Learning Apache....be gentle :)
williamb
 
Posts: 6
Joined: 26. August 2005 00:15
Location: San Diego, CA

Postby Buxellistip » 31. March 2006 08:14

Hello williamb
did you solve the permissions problem?
Im having the same one.
Please let me know
Buxellistip
 
Posts: 9
Joined: 31. March 2006 07:33
Location: Slovenia

Postby williamb » 04. April 2006 20:19

No...I gave up, the support of this community is very slow.

I decided to pay for hosting instead.
Learning Apache....be gentle :)
williamb
 
Posts: 6
Joined: 26. August 2005 00:15
Location: San Diego, CA

Postby ntsmarkv » 18. April 2006 04:13

Try this, works for me:

Right click folder click properties, uncheck :

Read-only

this would make it 777
ntsmarkv
 
Posts: 32
Joined: 22. October 2005 21:38

Re: Windows Permissions vs CHMOD

Postby Jurjen » 31. December 2009 17:58

I'm experiencing the same problem. I need to give write rights to a folder for a Wiki to install through webbased installation.

Is there anyone out there knowing how to change attributes in Windows?
Jurjen
 
Posts: 4
Joined: 31. December 2009 17:54

Re: Windows Permissions vs CHMOD

Postby Wiedmann » 31. December 2009 18:38

Is there anyone out there knowing how to change attributes in Windows?

Right click a folder/file in explorer and change the attribute you want.
Wiedmann
AF Moderator
 
Posts: 17102
Joined: 01. February 2004 12:38
Location: Stuttgart / Germany

Re: Windows Permissions vs CHMOD

Postby Jurjen » 31. December 2009 20:41

I wish it was that simple, but unfortunately that doesn't work. I already set all permissions to the user group 'everybody', so it can't be that. I even transferred the ownership of the files to 'everybody'.
Jurjen
 
Posts: 4
Joined: 31. December 2009 17:54

Re: Windows Permissions vs CHMOD

Postby Wiedmann » 31. December 2009 21:27

I wish it was that simple, but unfortunately that doesn't work.

Sure. That's the way how to set permissions on Windows.

But I guess you have another problem (which doesn't work). But without knowing what happens, what are you doing, any error message, it's not possible to help you.

I already set all permissions to the user group 'everybody', so it can't be that.

Was your question not about file attributes? Permissions are different things (and Apache/PHP don't understand the Windows permissions, only the Windows file attributes.)
Wiedmann
AF Moderator
 
Posts: 17102
Joined: 01. February 2004 12:38
Location: Stuttgart / Germany

Re: Windows Permissions vs CHMOD

Postby Jurjen » 31. December 2009 21:46

I don't know, they mean the same for me. When trying to CHMOD, my FTP client calls it "changing attributes". Those attributes are permissions for reading and writing.

What I want in the end is to change a directory to 777 to allow the php installation to write in the directory and files.
Jurjen
 
Posts: 4
Joined: 31. December 2009 17:54

Re: Windows Permissions vs CHMOD

Postby Wiedmann » 31. December 2009 21:58

When trying to CHMOD, my FTP client calls it "changing attributes".

You can't do a chmod in a ftp client on a Windows server.

Those attributes are permissions for reading and writing.

That's the read-only attribute, which you can change with the Windows explorer.

What I want in the end is to change a directory to 777 to allow the php installation to write in the directory and files.

That's the default on Windows: The read-only attribute is not set.
BTW: A directory is always writable, only a file you can set to read-only.


So once more:
You have a problem with a PHP script and writing some files? Is there an error message?
Wiedmann
AF Moderator
 
Posts: 17102
Joined: 01. February 2004 12:38
Location: Stuttgart / Germany

Re: Windows Permissions vs CHMOD

Postby Jurjen » 31. December 2009 22:07

I see.

In Explorer all the files are already set to not read-only (so they should be writable).
When I open the site, it should redirect me to the installation procedure. In stead, I get a 403 error.

I gotta go now. Our party's about to start (midnight in less then 2 hours).

That's for the help and (as we say in NL) have a good exit of the old year!
Jurjen
 
Posts: 4
Joined: 31. December 2009 17:54


Return to XAMPP for Windows

Who is online

Users browsing this forum: No registered users and 120 guests