CHMOD 777 on localhost (library folder), what happen if I upload it on a server ?

Jean-Baptiste

Well-known member
Hello,

I chmoded (recursive) to 777 my library folder on localhost.

If I then release one addon, will the files uploaded on a production server be back to a normal CHMOD ?

Regards.
 
Just curious, why do you need to do this?
Code:
# ls -lha library
total 44K
drwxr-xr-x.  9 root root 4.0K Aug  3 00:39 .
drwxr-xr-x.  8 root root 4.0K Aug  3 00:39 ..
-rw-r--r--.  1 root root  737 Aug 25  2012 config.php
-rw-r--r--.  1 root root    1 Aug  3 00:39 index.html
drwxr-xr-x.  2 root root 4.0K Oct 17  2010 Lgpl
drwxr-xr-x.  5 root root 4.0K Mar 15  2011 Minify
drwxr-xr-x.  3 root root 4.0K Oct 17  2010 Sabre
drwxr-xr-x. 46 root root 4.0K Aug  3 00:39 XenForo
drwxr-xr-x.  4 root root 4.0K Nov 23  2011 XFCliImporter
drwxr-xr-x. 33 root root 4.0K Oct 17  2010 Zend
 
Just curious, why do you need to do this?
Code:
# ls -lha library
total 44K
drwxr-xr-x.  9 root root 4.0K Aug  3 00:39 .
drwxr-xr-x.  8 root root 4.0K Aug  3 00:39 ..
-rw-r--r--.  1 root root  737 Aug 25  2012 config.php
-rw-r--r--.  1 root root    1 Aug  3 00:39 index.html
drwxr-xr-x.  2 root root 4.0K Oct 17  2010 Lgpl
drwxr-xr-x.  5 root root 4.0K Mar 15  2011 Minify
drwxr-xr-x.  3 root root 4.0K Oct 17  2010 Sabre
drwxr-xr-x. 46 root root 4.0K Aug  3 00:39 XenForo
drwxr-xr-x.  4 root root 4.0K Nov 23  2011 XFCliImporter
drwxr-xr-x. 33 root root 4.0K Oct 17  2010 Zend

Because on my localhost server, I have a tool that write some words in a .txt file (that file needs to be in library).
But I can't fopen if it's not chmoded 777.
After uploading this .txt file on my production server, I don't want the any folder in library to be 777.
 
It shouldn't upload as 777 when you do, but it's best to upload and verify it when you do upload and change permissions accordingly.
 
It shouldn't upload as 777 when you do, but it's best to upload and verify it when you do upload and change permissions accordingly.

So it's shouldnt, that was the awnser I wanted to read ^^ I'll watch carefully after uploading btw, just in case...

Thanks you very much Kovifor.
 
Top Bottom