#1873: Add option to change permissions applied with chmod commmand
------------------------------+---------------------------------------------
  Reporter:  wwalc            |       Owner:  wwalc            
      Type:  New Feature      |      Status:  new              
  Priority:  Normal           |   Milestone:  FCKeditor 2.6    
 Component:  Server : Python  |     Version:                   
Resolution:                   |    Keywords:  Confirmed Review-
------------------------------+---------------------------------------------
Comment (by wwalc):

 The most commonly used permissions are 755 for folders and 644 for files,
 so making it configurable with just one variable may be a wrong idea.

 I think we could use something similar to that in #1872
 ($CHMOD_ON_FOLDER_CREATE).


 Rethinking the problem with 755/777: if I were to decide, I would make all
 that stuff disabled by default (ChmodOnUpload and ChmodOnFolderCreate set
 to 0). This is the most universal solution. Currently, we set permissions
 to 777 to help people that have apache running as nobody and want to
 delete that file via FTP.
 But most of the users that live on a shared hosts don't need that and for
 them this is simply a bad idea.


 "I always thought that the idea of putting something on a web server was
 to allow the people to see your content" - this is almost true. Somethimes
 you want only authorized users to be allowed to see your files. If you're
 on a shared host and set permissions to 755, anyone else that is on your
 server can access those files.


 So to summarize, I would vote for setting the default values to*:
 {{{
 ChmodOnUpload = 0;
 ChmodOnFolderCreate = 0;
 }}}

-- 
Ticket URL: <http://dev.fckeditor.net/ticket/1873#comment:7>
FCKeditor <http://www.fckeditor.net>
The text editor for Internet
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
FCKeditor-Trac mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/fckeditor-trac

Reply via email to