4WebHelp
 FAQ  •  Search  •  User Groups  •  Forum Admins  •  Smilies List  •  Statistics  •  Rules   •  Login   •  Register
Toggle Navigation Menu

 chmodding files
Post New TopicReply to Topic
View Previous Topic Print this topic View Next Topic
Author Message
fredmatrack
Junior WebHelper
Junior WebHelper


Joined: 27 Feb 2002
Posts: 24
Location: Hoboken (Antwerpen, Belgium)

PostPosted: Mon Mar 18, 2002 7:46 pm (22 years, 1 month ago) Reply with QuoteBack to Top

Is there a way to chmod a file using a php script. With Telnet or FTP I don't have acces to chmod files on the server so I want to do this with a script.
OfflineView User's ProfileFind all posts by fredmatrackSend Personal MessageSend emailVisit Poster's WebsiteMSN MessengerICQ Number
Daniel
Team Member



Joined: 06 Jan 2002
Posts: 2564

PostPosted: Mon Mar 18, 2002 8:03 pm (22 years, 1 month ago) Reply with QuoteBack to Top

I think there's a CHMOD function in PHP, but it might not work because of permissions. See php.net; I think it's chmod();

________________________________
Image
OfflineView User's ProfileFind all posts by DanielSend Personal Message
fredmatrack
Junior WebHelper
Junior WebHelper


Joined: 27 Feb 2002
Posts: 24
Location: Hoboken (Antwerpen, Belgium)

PostPosted: Tue Mar 19, 2002 8:54 pm (22 years, 1 month ago) Reply with QuoteBack to Top

the chmod() function doesn't work. Thank you anyway.
OfflineView User's ProfileFind all posts by fredmatrackSend Personal MessageSend emailVisit Poster's WebsiteMSN MessengerICQ Number
Daniel
Team Member



Joined: 06 Jan 2002
Posts: 2564

PostPosted: Wed Mar 20, 2002 12:15 pm (22 years, 1 month ago) Reply with QuoteBack to Top

Anyway, why can't you CHMOD files with FTP?

________________________________
Image
OfflineView User's ProfileFind all posts by DanielSend Personal Message
fredmatrack
Junior WebHelper
Junior WebHelper


Joined: 27 Feb 2002
Posts: 24
Location: Hoboken (Antwerpen, Belgium)

PostPosted: Wed Mar 20, 2002 12:23 pm (22 years, 1 month ago) Reply with QuoteBack to Top

I think they disabled this function or so
OfflineView User's ProfileFind all posts by fredmatrackSend Personal MessageSend emailVisit Poster's WebsiteMSN MessengerICQ Number
Daniel
Team Member



Joined: 06 Jan 2002
Posts: 2564

PostPosted: Wed Mar 20, 2002 12:27 pm (22 years, 1 month ago) Reply with QuoteBack to Top

Who is "they"? I've never heard of a host disabling CHMOD!

________________________________
Image
OfflineView User's ProfileFind all posts by DanielSend Personal Message
fredmatrack
Junior WebHelper
Junior WebHelper


Joined: 27 Feb 2002
Posts: 24
Location: Hoboken (Antwerpen, Belgium)

PostPosted: Wed Mar 20, 2002 1:03 pm (22 years, 1 month ago) Reply with QuoteBack to Top

The administrator of the server.

It is an e-smith server that runs on a mac os. (www.e-smith.org)
Maybe the chmodding isn't possible for tis server. I don't know.
OfflineView User's ProfileFind all posts by fredmatrackSend Personal MessageSend emailVisit Poster's WebsiteMSN MessengerICQ Number
Daniel
Team Member



Joined: 06 Jan 2002
Posts: 2564

PostPosted: Wed Mar 20, 2002 1:05 pm (22 years, 1 month ago) Reply with QuoteBack to Top

I would think that if you can't CHMOD using FTP, you won't be able to do it any other way. If Macs are like Windows, you don't need to do any CHMODing.

________________________________
Image
OfflineView User's ProfileFind all posts by DanielSend Personal Message
Darren
Team Member



Joined: 05 Feb 2002
Posts: 549
Location: London

PostPosted: Wed Mar 20, 2002 6:37 pm (22 years, 1 month ago) Reply with QuoteBack to Top

Unless its OS X Server which is based on Unix and therefore has the same file privileges etc.

Even on my desktop version of OS X it lets you change the file permissions via FTP.
OfflineView User's ProfileFind all posts by DarrenSend Personal MessageVisit Poster's Website
fredmatrack
Junior WebHelper
Junior WebHelper


Joined: 27 Feb 2002
Posts: 24
Location: Hoboken (Antwerpen, Belgium)

PostPosted: Wed Mar 20, 2002 8:48 pm (22 years, 1 month ago) Reply with QuoteBack to Top

I will ask the sytem admin.

Thanks anyway.
OfflineView User's ProfileFind all posts by fredmatrackSend Personal MessageSend emailVisit Poster's WebsiteMSN MessengerICQ Number
Display posts from previous:      
Post New TopicReply to Topic
View Previous Topic Print this topic View Next Topic


 Jump to:   




You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot edit your posts in this forum.
You cannot delete your posts in this forum.
You cannot vote in polls in this forum.


Page generation time: 0.294411 seconds :: 18 queries executed :: All Times are GMT
Powered by phpBB 2.0 © 2001, 2002 phpBB Group :: Based on an FI Theme