Hi all
Got a problem don't know how to get in really..
simple code:
?php
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 Google but couldn't
get to it.
THanks
Morris wrote:
Hi all
Got a problem don't know how to get in really..
simple code:
?php
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 Google but couldn't
get to it.
THanks
Many servers do
Michael A. Peters wrote:
Morris wrote:
Hi all
Got a problem don't know how to get in really..
simple code:
?php
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 Google but
couldn't
get
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:
?php
chmod(/aaa/bbb.php, 0777);
?
and I get a warning says Operations not permitted in .
Anyone met
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:
?php
chmod(/aaa/bbb.php, 0777);
?
and I get a warning says Operations not permitted
Please how can i chmod a directory to 0777
i tried chmod ($myDirectory, 0777); but nothing happens
thanks in advence
Nejeoui
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
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
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 running as
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
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
files inside a
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
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
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
Hi, I'm using the AIX or UNIX system... When I tried the ...
--snip--
passthru('chmod -R a+rw ../WebHelp/* 21');
--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(): Not
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/%,
[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 course! I so
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?
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:
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
[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
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
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
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 to
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
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
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 !
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,
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
--
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
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:
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 PROTECTED]
Sent: Friday, August 31, 2001 11:43 AM
Subject: [PHP] chmod failed: Operation not permitted
can anyone
-
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.
--- Jason Bell [EMAIL PROTECTED] wrote:
who owns the file to begin
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, which i believe is off.
i put a chmod command in one of my scripts
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
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 this
directory
by usergroup
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,
37 matches
Mail list logo