setting file access permissions broken in XP

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

It appears that the setting of file and directory attributes in windows xp
doesnot work. For anyone try it.
This has stopped me writing to files with a server, apache. When using a
php form generator. Wonder if Microsoft will fix this.
 
Colin said:
It appears that the setting of file and directory attributes in
windows xp
doesnot work. For anyone try it.
This has stopped me writing to files with a server, apache. When
using a php form generator. Wonder if Microsoft will fix this.

Funny, it works for millions of other people. However, since your post
is so hard to follow perhaps I'm not understanding your problem
properly.

If you are having difficulties with Apache, post in their user forums.
Otherwise please describe what you are doing and what is happening so
you can get help here with XP. You might want to look over the
information at this link to see what details you should include in your
next post:

http://www.dts-l.org/goodpost.htm

Malke
 
Colin said:
I have been unable to change the file attributes in xp. They remain in
the read only selection. Several of my friends are in the same
position in that the read only attribute will not switch off.
Interestingly windows can still read write and delete files with this
setting on.
Do you have any suggestions?.

I have been running a form generator in the form of  php scripts on an
apache server on my machine. Its straight foward, put the scripts in
the htdocs directory and access via a browser to build the form..
However the server runs fine but it cannot write to the files due I
think to the attribute read only.

OK, first of all the read-only attribute does not apply to folders in
XP. If you look carefully at the options in a folder's Properties,
you'll see that the read-only attribute is actually greyed out,
indicating that it isn't available for that object.

If you are looking at actual files and are unable to change the
read-only attribute on the individual files that's a different story. I
don't run Apache, so I don't know if the "htdocs" directory you
reference is one created by Apache or by you. In either case, you
definitely have permissions set incorrectly.

Are you running XP Home or Pro? If Pro, right-click on the htdocs folder
and on both the Sharing and the Security tab add Everyone and give
Everyone full access. See if that helps. If not, check the ownership of
the folder and make sure your account is the owner.

I would also check the Apache website for more information since this
could very well be something managed by Apache. After all, Apache is
usually run on a server and you certainly don't want just anyone to be
able to write to your website's folders.

Malke
 
Hi Malke Thanks for your prompt responses.
you wrote. OK, first of all the read-only attribute does not apply to
folders in
XP.
When I select a folder, right click go properties I get a attributes choice
of read only or hidden neither of which are greyed out. The read only has a
green box which when clicked cycles from a green box to a green tick to a
clear box. This cannot be set to clear or a tick as the box always returns to
the green filled square.
When I create a folder it is created with this default,the green box active
on the properties dialog box when checked. I am using XP Home.
 
Colin said:
Hi Malke Thanks for your prompt responses.
you wrote. OK, first of all the read-only attribute does not apply to
folders in
XP.
When I select a folder, right click go properties I get a attributes
choice of read only or hidden neither of which are greyed out. The
read only has a green box which when clicked cycles from a green box
to a green tick to a clear box. This cannot be set to clear or a tick
as the box always returns to the green filled square.
When I create a folder it is created with this default,the green box
active on the properties dialog box when checked. I am using XP Home.

Trust me, the read-only attribute does not apply to folders in XP. It
doesn't matter if you can check the box or not. Read this MS Knowledge
Base article to understand how this works in Windows XP:

http://support.microsoft.com/kb/326549

The only way to see the security tab in Home is by booting into Safe
Mode.

However, I think you are looking in the wrong place for your
troubleshooting. As I've said before, I don't run Apache and am unclear
about exactly what you are trying to do. Are you trying to run a real
web server on XP Home? This is not recommended. If you are just doing
web development and using Apache, then as I said before you need to
look to Apache for help with your problem.

I really can't help you with Apache or php. Post in a newsgroup or user
forum for Apache, php, or web developers.

Malke
 
Back
Top