Having trouble with permissions while appending to a file

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
tchenowe
Forum Newbie
Posts: 13
Joined: Fri Oct 01, 2004 5:35 pm

Having trouble with permissions while appending to a file

Post by tchenowe »

Does anyone have a link to a discussion on how to set permissions so a php app can append to a file? I am running IIS on Win 2003. Thanks for your help.
Breckenridge
Forum Commoner
Posts: 62
Joined: Thu Sep 09, 2004 11:10 pm
Location: Breckenridge, Colorado

Post by Breckenridge »

User avatar
Joe
Forum Regular
Posts: 939
Joined: Sun Feb 29, 2004 1:26 pm
Location: UK - Glasgow

Post by Joe »

I am sure setting the directory mode to 777 would do the trick!.
tchenowe
Forum Newbie
Posts: 13
Joined: Fri Oct 01, 2004 5:35 pm

Post by tchenowe »

That worked Beckenridge...Thanks much :D
User avatar
evilmonkey
Forum Regular
Posts: 823
Joined: Sun Oct 06, 2002 1:24 pm
Location: Toronto, Canada

Post by evilmonkey »

Joe wrote:I am sure setting the directory mode to 777 would do the trick!.
Actually, you'd be surprised. That only works on *nix based systems, won't work on Windows. Besides, how would you set it? FTP? I don't think Windows-based FTP servers give you that option...
Breckenridge
Forum Commoner
Posts: 62
Joined: Thu Sep 09, 2004 11:10 pm
Location: Breckenridge, Colorado

Post by Breckenridge »

With time all systems shall be the same! For now I agree ftp programs cannot change permissions on win based systems.

Did you know that Microsoft's first OS was unix based? Trying to remember the name!!!! I think it was called Annix?!!

Does anyone remember?
Post Reply