Results 1 to 5 of 5

Thread: How to change default permissions of created folders?

  1. #1
    kasperd is offline Senior Member
    Join Date
    Nov 2008
    Posts
    38

    Default How to change default permissions of created folders?

    default_permissions' =>
    array (
    'dir_mode' => 1528,
    'file_mode' => 432,
    'user' => '',
    'group' => '',
    ),


    How to change permissions of folders created by SugarCRM i got 274 so no possible reading after!

    I found above code but do not understand what are the permissions...

  2. #2
    kbrill's Avatar
    kbrill is offline SugarCRM PS Engineer
    Join Date
    Jul 2004
    Location
    St Louis, MO
    Posts
    3,183

    Default Re: How to change default permissions of created folders?

    What are the permissions that the system is creating with now? For directories and for files?

    It should be 2770 for directories (2770=1528 in decimal) and 660 for files (660=432 decimal)
    Kenneth Brill - Help Forum Moderator

    I do not respond to 'Private Messages'. Please email me directly instead

    When asking for help, PLEASE give us your Server Information and Version Numbers as asked for on the 'Post New Message' screen as well as any JavaScript errors shown at the bottom of the browser window.
    Help us Help You

  3. #3
    dolec is offline Sugar Community Member
    Join Date
    Jul 2007
    Posts
    13

    Default Re: How to change default permissions of created folders?

    when i use a script to create a sample file the atributes are 644

    I noticed one more thing the folders sugar creates are without slashes when lodaing module the folder is created


    cachemodulerloaderblablabla

    not

    cache\moduleroader\...

    I tried to ask my hosting company but they say it is fault od sugar

  4. #4
    kbrill's Avatar
    kbrill is offline SugarCRM PS Engineer
    Join Date
    Jul 2004
    Location
    St Louis, MO
    Posts
    3,183

    Default Re: How to change default permissions of created folders?

    Right, sorry, 644 is correct.

    If the server is set up right then 644 should provide access just fine. And if Sugar were dropping out the '/' then everyone would be having that trouble. I have never heard of an instnace where folders were being created wothout the slashes. Now some file names in the cache directory have long names but the cache/modules/ part of it should not be missing the slashes.

    what is the user name and group name for the user on the files you are having problems with?
    Kenneth Brill - Help Forum Moderator

    I do not respond to 'Private Messages'. Please email me directly instead

    When asking for help, PLEASE give us your Server Information and Version Numbers as asked for on the 'Post New Message' screen as well as any JavaScript errors shown at the bottom of the browser window.
    Help us Help You

  5. #5
    dolec is offline Sugar Community Member
    Join Date
    Jul 2007
    Posts
    13

    Default Re: How to change default permissions of created folders?

    yes it strange but it creates folders in root of sugar

    ex.

    cachesmartytemplates_c
    cacheuploadupgradesmodule
    ....
    ....

    How to check the right and group ? (Do You mean sugar user and group?) or php?

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Database structure problems
    By hkphooey in forum Help
    Replies: 0
    Last Post: 2008-11-28, 09:09 AM
  2. 4.5.1c to 4.5.1d upgrade issue
    By tommyaquinas in forum Installation and Upgrade Help
    Replies: 3
    Last Post: 2007-05-22, 08:51 PM
  3. Upgrade Wizard link returns a blank page
    By rmichaut in forum Help
    Replies: 9
    Last Post: 2006-10-30, 07:30 PM
  4. Anyone had luck getting 'timesheet' to install
    By chucknb87122 in forum Downloads
    Replies: 7
    Last Post: 2006-03-07, 10:05 PM
  5. Replies: 0
    Last Post: 2005-04-28, 02:44 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •