Go Back   Technology Questions > Software Questions > Operating System Questions > Windows XP

Windows XP Discuss the Microsoft Windows XP Operating System

Reply
 
LinkBack Thread Tools
  #1 (permalink)  
Old 09-29-2007, 12:50 PM
GreenBoy
Tablet PC Guest
 
Posts: n/a
Cant Disable Read-Only status on Folders

Hi

I have a problem that a PHP script i am running is trying to write
session data to a folder under 'C:\Documents and Settings\Administrator
\Local Settings\Temp\php\session' but i am getting an error saying
that permission to the folder is denied.

I have seen many posts where people say that a folders permission
status doesnt matter it just the files in it, but there are no files
in it and the script is trying to write a session file to the folder -
therefore the Read-Only status matters.

Can any one help please.

I am running WinXP PRO, SP2 with all latest patches.

Thanks

GreenBoy

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote

 
Old 09-29-2007, 12:50 PM
Xploder HD Movie Player for PS3. Manage, convert and transfer media files between the PC and PS3.
  #2 (permalink)  
Old 09-29-2007, 05:10 PM
Poprivet
Tablet PC Guest
 
Posts: n/a
Re: Cant Disable Read-Only status on Folders

GreenBoy wrote:
> Hi
>
> I have a problem that a PHP script i am running is trying to write
> session data to a folder under 'C:\Documents and
> Settings\Administrator \Local Settings\Temp\php\session' but i am
> getting an error saying that permission to the folder is denied.
>
> I have seen many posts where people say that a folders permission
> status doesnt matter it just the files in it, but there are no files
> in it and the script is trying to write a session file to the folder -
> therefore the Read-Only status matters.
>
> Can any one help please.
>
> I am running WinXP PRO, SP2 with all latest patches.
>
> Thanks
>
> GreenBoy


That's an arguementative way to start; and one which I won't pursue since
you're apparenlty not being open minded about it.

Sorry,

Pop`


Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote

  #3 (permalink)  
Old 09-30-2007, 12:50 AM
GreenBoy
Tablet PC Guest
 
Posts: n/a
Re: Cant Disable Read-Only status on Folders

Pop

Thanks for taking the time for replying, however Im not sure that this
is 'argumentative'. However in the spirit of the web - i appologise if
i have offended.

(Prior to my post i had spent 6 hours trying to rectify this issue, so
i was not perhaps in the best frame of mind for this)

However my situation seems quite clear - for some reason i cannot
write to a folder, not to a particular file. (The file is being
created by the PHP script)

As i noted at the top i have seen many posts by Googling the web and
the user groups that all seem to suggest that folders are not the
issue and that its to do with the files in them... this cannot be the
answer in this case and i am therefore looking for a way to ensure
that windows remembers the state of the folders Read-Only option
between uses on the the computer. Thats all.

Is there a hack of the registry or some ofther setting i am missing to
acheive this, or is this realy it - so live with it. (cant believe
this is the case as people do successfully run web systems on their
local host and therefore need to write session data to folders.)

I should point out that i clean installed windows a few months ago,
prior to which i had my systems running ok - including using my
machine as a test bed for web development which required that session
data be writen to a temp folder - as i am trying to do now - and this
was completely successful - therefore i believe this to be a windows
config problem - and i need help

Any help would be greatfully recieved.

GreenBoy

On 30 Sep, 02:01, "Poprivet" <popri...@devnull.spamcop.net> wrote:
> GreenBoy wrote:
> > Hi

>
> > I have a problem that a PHP script i am running is trying to write
> > session data to a folder under 'C:\Documents and
> > Settings\Administrator \Local Settings\Temp\php\session' but i am
> > getting an error saying that permission to the folder is denied.

>
> > I have seen many posts where people say that a folders permission
> > status doesnt matter it just the files in it, but there are no files
> > in it and the script is trying to write a session file to the folder -
> > therefore the Read-Only status matters.

>
> > Can any one help please.

>
> > I am running WinXP PRO, SP2 with all latest patches.

>
> > Thanks

>
> > GreenBoy

>
> That's an arguementative way to start; and one which I won't pursue since
> you're apparenlty not being open minded about it.
>
> Sorry,
>
> Pop`- Hide quoted text -
>
> - Show quoted text -



Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote

  #4 (permalink)  
Old 09-30-2007, 04:50 AM
HeyBub
Tablet PC Guest
 
Posts: n/a
Re: Cant Disable Read-Only status on Folders

GreenBoy wrote:
> Pop
>
> Thanks for taking the time for replying, however Im not sure that this
> is 'argumentative'. However in the spirit of the web - i appologise if
> i have offended.
>
> (Prior to my post i had spent 6 hours trying to rectify this issue, so
> i was not perhaps in the best frame of mind for this)
>
> However my situation seems quite clear - for some reason i cannot
> write to a folder, not to a particular file. (The file is being
> created by the PHP script)
>
> As i noted at the top i have seen many posts by Googling the web and
> the user groups that all seem to suggest that folders are not the
> issue and that its to do with the files in them... this cannot be the
> answer in this case and i am therefore looking for a way to ensure
> that windows remembers the state of the folders Read-Only option
> between uses on the the computer. Thats all.
>
> Is there a hack of the registry or some ofther setting i am missing to
> acheive this, or is this realy it - so live with it. (cant believe
> this is the case as people do successfully run web systems on their
> local host and therefore need to write session data to folders.)
>
> I should point out that i clean installed windows a few months ago,
> prior to which i had my systems running ok - including using my
> machine as a test bed for web development which required that session
> data be writen to a temp folder - as i am trying to do now - and this
> was completely successful - therefore i believe this to be a windows
> config problem - and i need help
>
> Any help would be greatfully recieved.


Concept check:

The "Read-only" attribute has NOTHING to do with "permission." They are
completely different concepts. Changing permissions does not affect the
read-only attribute for a file (or a folder) and changing the read-only
attribute does not influence permissions.


Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote

  #5 (permalink)  
Old 09-30-2007, 07:50 AM
GreenBoy
Tablet PC Guest
 
Posts: n/a
Re: Cant Disable Read-Only status on Folders

On 30 Sep, 13:41, "HeyBub" <hey...******.com> wrote:
> GreenBoy wrote:
> > Pop

>
> > Thanks for taking the time for replying, however Im not sure that this
> > is 'argumentative'. However in the spirit of the web - i appologise if
> > i have offended.

>
> > (Prior to my post i had spent 6 hours trying to rectify this issue, so
> > i was not perhaps in the best frame of mind for this)

>
> > However my situation seems quite clear - for some reason i cannot
> > write to a folder, not to a particular file. (The file is being
> > created by the PHP script)

>
> > As i noted at the top i have seen many posts by Googling the web and
> > the user groups that all seem to suggest that folders are not the
> > issue and that its to do with the files in them... this cannot be the
> > answer in this case and i am therefore looking for a way to ensure
> > that windows remembers the state of the folders Read-Only option
> > between uses on the the computer. Thats all.

>
> > Is there a hack of the registry or some ofther setting i am missing to
> > acheive this, or is this realy it - so live with it. (cant believe
> > this is the case as people do successfully run web systems on their
> > local host and therefore need to write session data to folders.)

>
> > I should point out that i clean installed windows a few months ago,
> > prior to which i had my systems running ok - including using my
> > machine as a test bed for web development which required that session
> > data be writen to a temp folder - as i am trying to do now - and this
> > was completely successful - therefore i believe this to be a windows
> > config problem - and i need help

>
> > Any help would be greatfully recieved.

>
> Concept check:
>
> The "Read-only" attribute has NOTHING to do with "permission." They are
> completely different concepts. Changing permissions does not affect the
> read-only attribute for a file (or a folder) and changing the read-only
> attribute does not influence permissions.- Hide quoted text -
>
> - Show quoted text -


HeyBub

the erro i am getting is this

Warning: session_start() [function.session-start]: open(C:
\DOCUME~1\ADMINI~1\LOCALS~1\Temp\php\session
\sess_au6q0359v429csjhoo9g1v9505, O_RDWR) failed: Permission denied
(13)

does this help at all?

GreenBoy

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote

  #6 (permalink)  
Old 09-30-2007, 08:00 AM
Jim
Tablet PC Guest
 
Posts: n/a
Re: Cant Disable Read-Only status on Folders


"GreenBoy" <SpamDelux@googlemail.com> wrote in message
news:1191166815.341346.100960@o80g2000hse.googlegr oups.com...
> On 30 Sep, 13:41, "HeyBub" <hey...******.com> wrote:
>> GreenBoy wrote:
>> > Pop

>>
>> > Thanks for taking the time for replying, however Im not sure that this
>> > is 'argumentative'. However in the spirit of the web - i appologise if
>> > i have offended.

>>
>> > (Prior to my post i had spent 6 hours trying to rectify this issue, so
>> > i was not perhaps in the best frame of mind for this)

>>
>> > However my situation seems quite clear - for some reason i cannot
>> > write to a folder, not to a particular file. (The file is being
>> > created by the PHP script)

>>
>> > As i noted at the top i have seen many posts by Googling the web and
>> > the user groups that all seem to suggest that folders are not the
>> > issue and that its to do with the files in them... this cannot be the
>> > answer in this case and i am therefore looking for a way to ensure
>> > that windows remembers the state of the folders Read-Only option
>> > between uses on the the computer. Thats all.

>>
>> > Is there a hack of the registry or some ofther setting i am missing to
>> > acheive this, or is this realy it - so live with it. (cant believe
>> > this is the case as people do successfully run web systems on their
>> > local host and therefore need to write session data to folders.)

>>
>> > I should point out that i clean installed windows a few months ago,
>> > prior to which i had my systems running ok - including using my
>> > machine as a test bed for web development which required that session
>> > data be writen to a temp folder - as i am trying to do now - and this
>> > was completely successful - therefore i believe this to be a windows
>> > config problem - and i need help

>>
>> > Any help would be greatfully recieved.

>>
>> Concept check:
>>
>> The "Read-only" attribute has NOTHING to do with "permission." They are
>> completely different concepts. Changing permissions does not affect the
>> read-only attribute for a file (or a folder) and changing the read-only
>> attribute does not influence permissions.- Hide quoted text -
>>
>> - Show quoted text -

>
> HeyBub
>
> the erro i am getting is this
>
> Warning: session_start() [function.session-start]: open(C:
> \DOCUME~1\ADMINI~1\LOCALS~1\Temp\php\session
> \sess_au6q0359v429csjhoo9g1v9505, O_RDWR) failed: Permission denied
> (13)
>
> does this help at all?
>
> GreenBoy
>

It means that the permissions set on the folder do not allow writing to the
folder.
In the case of a folder, XP ignores the read only attribute.
Instead, XP uses the permissions set on the folder which you can set via the
security tab.
Jim


Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote

  #7 (permalink)  
Old 09-30-2007, 09:30 AM
Nightowl
Tablet PC Guest
 
Posts: n/a
Re: Cant Disable Read-Only status on Folders

GreenBoy <SpamDelux@googlemail.com> wrote on Sun, 30 Sep 2007:

>the erro i am getting is this
>
>Warning: session_start() [function.session-start]: open(C:
>\DOCUME~1\ADMINI~1\LOCALS~1\Temp\php\session
>\sess_au6q0359v429csjhoo9g1v9505, O_RDWR) failed: Permission denied
>(13)
>
>does this help at all?



Hi GreenBoy

Are you running the script from an account with admin privileges, or a
limited user account?

--
Nightowl
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote

  #8 (permalink)  
Old 10-01-2007, 09:40 AM
GreenBoy
Tablet PC Guest
 
Posts: n/a
Re: Cant Disable Read-Only status on Folders

On 30 Sep, 18:17, Nightowl <owl@[127.0.0.1]> wrote:
> GreenBoy <SpamDe...@googlemail.com> wrote on Sun, 30 Sep 2007:
>
> >the erro i am getting is this

>
> >Warning: session_start() [function.session-start]: open(C:
> >\DOCUME~1\ADMINI~1\LOCALS~1\Temp\php\session
> >\sess_au6q0359v429csjhoo9g1v9505, O_RDWR) failed: Permission denied
> >(13)

>
> >does this help at all?

>
> Hi GreenBoy
>
> Are you running the script from an account with admin privileges, or a
> limited user account?
>
> --
> Nightowl


Thanks for your responces people - i have solved it.

The problem was that the folder i was writing to was literaly the only
one that did not havve the Users permissions set up... Admin etc was
all set up with Read Write etc but this folder did not have the
Users(FRED\Users) permissions at all - once this set of permissions
were added everything was fine... bloody anoying as i thought all
folders inhereted their parents permissions...

you learn something every day.

Thanks again to all who responded.

GreenBoy

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote

Reply

Bookmarks

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Unable to disable read-only attribute on logical partition Jay Windows XP 0 04-25-2007 08:30 AM
Logical partition has read-only attribute assigned to it and won't disable. Jay Windows XP 0 04-24-2007 03:16 PM
Disable Windows File System Read Cache abeach Windows XP 0 03-06-2007 12:45 PM
How to disable Read Receipt CF Chong Smartphones 0 01-05-2007 05:21 AM
HOWTO: Disable Zip Folders Jack Tripper Windows Vista 2 01-02-2007 10:44 AM


All times are GMT -8. The time now is 04:09 PM.


2003 - 2008 All Rights Reserved. Technology Questions

SEO by vBSEO 3.1.0