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
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
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
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
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
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
--
--- 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
Therein lies the problem. The webserver, therefore your PHP script,
is probably *NOT* running with your credentials.
Larry
* Police Trainee <[EMAIL PROTECTED]> [010831 13:50]:
> the files are all owned by me, that is, my unix login.
> --- Jason Bell <[EMAIL PROTECTED]> wrote:
> > who owns the
the files are all owned by me, that is, my unix login.
--- Jason Bell <[EMAIL PROTECTED]> wrote:
> who owns the file to begin with? your account? a
> web server typically runs
> as a low access account, such as "nobody" on Unix.
> So, what is probably
> happening is that you don't have permissio
who owns the file to begin with? your account? a web server typically runs
as a low access account, such as "nobody" on Unix. So, what is probably
happening is that you don't have permissions to chmod the file. Doesn't have
anything to do with your PHP configuration.
Jason Bell
- Original
Chmod -R 77x test
The 'x' in the above statement is the world-permissions...
Execute is worth 1, Write is worth 2, Read is worth 4. If you add up
the numbers for the permissions you want, you get the result, so 775
would be full access for owner and group, and read/execute for world.
Hope thi
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
26 matches
Mail list logo