Ashley Sheridan wrote:
> On Wed, 2009-06-24 at 09:23 -0500, Shawn McKenzie wrote:
>> Michael A. Peters wrote:
>>> Morris wrote:
Hi all
Got a problem don't know how to get in really..
simple code:
>>>
chmod("/aaa/bbb.php", 0777);
?>
and I get a warni
On Wed, 2009-06-24 at 09:23 -0500, Shawn McKenzie wrote:
> Michael A. Peters wrote:
> > Morris wrote:
> >> Hi all
> >> Got a problem don't know how to get in really..
> >>
> >> simple code:
> >> >>
> >> chmod("/aaa/bbb.php", 0777);
> >>
> >> ?>
> >>
> >> and I get a warning says "Operations not pe
Michael A. Peters wrote:
> Morris wrote:
>> Hi all
>> Got a problem don't know how to get in really..
>>
>> simple code:
>> >
>> chmod("/aaa/bbb.php", 0777);
>>
>> ?>
>>
>> and I get a warning says "Operations not permitted in ."
>>
>> Anyone met this before? I've done quite a lot reading on Go
Morris wrote:
Hi all
Got a problem don't know how to get in really..
simple code:
and I get a warning says "Operations not permitted in ."
Anyone met this before? I've done quite a lot reading on Google but couldn't
get to it.
THanks
Many servers do not allow the apache (or php) to ch
Hi all
Got a problem don't know how to get in really..
simple code:
and I get a warning says "Operations not permitted in ."
Anyone met this before? I've done quite a lot reading on Google but couldn't
get to it.
THanks
On 10/9/07, tedd <[EMAIL PROTECTED]> wrote:
> At 12:00 PM +0200 10/9/07, Samuel Vogel wrote:
> >You will have to loop through the directory recursively, running
> >chmod() on every file there is!
> >
> >Regards,
> >Samy
>
> Isn't there a sticky bit thing (i.e., 1777) you can use to change the
> fil
At 12:00 PM +0200 10/9/07, Samuel Vogel wrote:
You will have to loop through the directory recursively, running
chmod() on every file there is!
Regards,
Samy
Isn't there a sticky bit thing (i.e., 1777) you can use to change the
files inside a directory?
I've never done it, but I remember r
On 10/9/07, Stut <[EMAIL PROTECTED]> wrote:
> abderrazzak nejeoui wrote:
> > Please how can i chmod a directory to 0777
> > i tried chmod ($myDirectory, 0777); but nothing happens
>
> Check the return value. If it's false then it's failing for some
> reason., most likely because the user it's runni
abderrazzak nejeoui wrote:
Please how can i chmod a directory to 0777
i tried chmod ($myDirectory, 0777); but nothing happens
Check the return value. If it's false then it's failing for some
reason., most likely because the user it's running as doesn't have
permission to extend the permission
You will have to loop through the directory recursively, running chmod()
on every file there is!
Regards,
Samy
abderrazzak nejeoui schrieb:
Please how can i chmod a directory to 0777
i tried chmod ($myDirectory, 0777); but nothing happens
thanks in advence
Nejeoui
--
PHP General Mailing
Please how can i chmod a directory to 0777
i tried chmod ($myDirectory, 0777); but nothing happens
thanks in advence
Nejeoui
Check out the CACLS command
HTH,
JC
Kencana wrote:
Hi all,
anybody knows how to CHMOD a file to 777 or 666 or etc. in windows server
2003?
thank you
Regards,
Kencana
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Kencana wrote:
> Hi all,
>
> anybody knows how to CHMOD a file to 777 or 666 or etc. in windows server
> 2003?
windows server 2003 (et al) uses a completely different mechanism to the std
linux
way of doing things with regard to file permissions.
other than opening lots of dialogs and checking
Hi all,
anybody knows how to CHMOD a file to 777 or 666 or etc. in windows server
2003?
thank you
Regards,
Kencana
--
View this message in context:
http://www.nabble.com/CHMOD-a-file-in-windows-server-2003-tf2962953.html#a8290007
Sent from the PHP - General mailing list archive at Nabble.com.
Hi, I'm using the AIX or UNIX system... When I tried the ...
--snip--
passthru('chmod -R a+rw ../WebHelp/* 2>&1');
--snip--
I get an error message, "Operation Is Not Permitted".. So, I tried other
option...
--snip--
chmod("../WebHelp/", 0755);
--snip--
I get an error message, "Warning: chmod(
Justin Patrin wrote:
In all fairness, that's not a very good solution. Using system commands
makes your script not cross platform, meaning it can't work on Windows.
For a better solution try writing a recursive chmod script that sets the
permission, the loops through the files and calls itself
In all fairness, that's not a very good solution. Using system commands
makes your script not cross platform, meaning it can't work on Windows.
For a better solution try writing a recursive chmod script that sets the
permission, the loops through the files and calls itself on them if the
input
[snip]
Is there anyway to use CHMOD:
chmod ("/somedir/somefile", 0755);
but have it set all files, folders etc to the CHMOD setting I want?
I have a folder, and within that, I wanna quickly, jsut set it all to
CHMOD 777.
all sub DIR's and files etc...
can it be done simply?
E.G. :
chmod ("/so
How about:
exec("chmod -R 755 /somedir/");
[EMAIL PROTECTED] wrote:
***
This Email Has Been Virus Swept
***
Is there anyway to use CHMOD:
chmod ("/somedir/somefile", 0755);
but have it set all files, folders
Jay Blanchard wrote:
Yes you can, but 'tis not a swell idea. You can exec the chmod command
exec("chmod 0777 /directory/*");
You still cannot set all sub directory and files within those
permissions. Best to loop through and set each as needed, don't forget
to cahnge them back.
Yes, you can:
exe
Jay Blanchard wrote:
[snip]
Is there anyway to use CHMOD:
chmod ("/somedir/somefile", 0755);
but have it set all files, folders etc to the CHMOD setting I want?
I have a folder, and within that, I wanna quickly, jsut set it all to
CHMOD 777.
all sub DIR's and files etc...
can it be done simply
[snip]
> exec("chmod 0777 /directory/*");
>
> You still cannot set all sub directory and files within those
> permissions. Best to loop through and set each as needed, don't forget
> to cahnge them back.
>
Yes, you can:
exec("chmod -R 0777 /directory/*");
[snip]
*slaps forehead* Duh me! Of cou
Is there anyway to use CHMOD:
chmod ("/somedir/somefile", 0755);
but have it set all files, folders etc to the CHMOD setting I want?
I have a folder, and within that, I wanna quickly, jsut set it all to
CHMOD 777.
all sub DIR's and files etc...
can it be done simply?
E.G. :
chmod ("/somedir/%
This line of code:
if(!is_readable("Constants.inc")) chmod("Constants.inc", 0644);
Produces this error:
Warning: chmod() [function.chmod]: Operation not permitted in
/home/mastersite/public_html/index.php on line 6
What I'm trying to do is determine if Constants.inc is readable. If not, I
want
I have a directory $DOCUMENT_ROOT/my/images, permission 0755
I have three images in my folder with the exact same permissions: 0755; same
ownership, same everything.
The files, viewed on my machine, are fine too.
However, two cannot be seen due to permissions errors; one can be seen. All thre
Hello.
First off, to change ownership you want "chown", not "chmod". Also, chown
isn't always permitted depending on the cicrumstances of who owns the
directory or the specific file to begin with.
If you're web server is running as nobody it will only be able to create files
in a directory
Hi all...I want to change the ownership of a file that is created via
php..so i uses chmod command in my php script.. Upon execution of the
script i get an error saying command not permitted with a line number
pointing to my chmod command.
I'm running apache as user nobody for security reaso
Previously, Nikola Veber said:
>
> What chmod value gives the read-only premission to the file ? (777 is the
> read-write)
0400 would be read-only and visible only to the owner
0444 would be read-only, visible to anyone
0644 would be read-only to anyone but the owner (r/w to owner).
-dan
--
Hi !
What chmod value gives the read-only premission to the file ? (777 is the read-write)
Thanks
Nikola
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail
i've been told that the files must be owned by the
same person that owns the httpd. using ps ef |grep
httpd, it says "grep httpd USERNAME=
ENV=/home/police/.bashrc HISTSIZE="
my unix login is police. so, what does this mean as
far as trying to get my chmod command to work?
thanx
--- Original Message -
From: "Police Trainee" <[EMAIL PROTECTED]>
To: "PHP" <[EMAIL PROTECTED]>
Sent: Friday, August 31, 2001 11:50 AM
Subject: Re: [PHP] chmod failed: Operation not permitted
> the files are all owned by me, that is, my unix login.
> --- Ja
#x27;t have
> > anything to do with your PHP configuration.
> >
> > Jason Bell
> >
> > - Original Message -
> > From: "Police Trainee" <[EMAIL PROTECTED]>
> > To: "PHP" <[EMAIL PROTECTED]>
> > Sent: Friday, August
appening is that you don't have permissions to
> chmod the file. Doesn't have
> anything to do with your PHP configuration.
>
> Jason Bell
>
> - Original Message -
> From: "Police Trainee" <[EMAIL PROTECTED]>
> To: "PHP" <[EMAIL PRO
Bell
- Original Message -
From: "Police Trainee" <[EMAIL PROTECTED]>
To: "PHP" <[EMAIL PROTECTED]>
Sent: Friday, August 31, 2001 11:43 AM
Subject: [PHP] chmod failed: Operation not permitted
> can anyone help?
> safe mode is set to "0", whic
can anyone help?
safe mode is set to "0", which i believe is "off".
i put a chmod command in one of my scripts and got the
following error on running it:
Warning: chmod failed: Operation not permitted in
/path-here/index.phtml on line 1
why won't chmod work?
the chmod command i used is:
the
rld.
Hope this helps =>
Ben
-Original Message-
From: Manu Verhaegen [mailto:[EMAIL PROTECTED]]
Sent: Sunday, August 05, 2001 4:29 AM
To: 'Php-General (E-mail)
Subject: [PHP] chmod
I have the following question :
I have a directory on my ftp server and i want give access to
I have the following question :
I have a directory on my ftp server and i want give access to this directory
by usergroup ( the name of the group is test )
We have do the following :
% vadduser
user Configuration
--
Username: test
Password: test
Fullname: test
U
Hello Manu,
Saturday, August 04, 2001, 11:25:16 PM, you wrote:
MV> I have the following question :
MV> I have a directory on my ftp server and i want give access to this directory
MV> by group (the name of the group is test)
MV> % ls
MV> % /ftp/test
MV> % chmod 070 test
MV> how can i do this
U
I have the following question :
I have a directory on my ftp server and i want give access to this directory
by group (the name of the group is test)
% ls
% /ftp/test
% chmod 070 test
how can i do this
Greetings,
Manu
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e
39 matches
Mail list logo