Results 1 to 9 of 9

Thread: Need correct Permissions

  1. #1
    imserv is offline Member
    Join Date
    Jul 2005
    Posts
    9

    Talking Need correct Permissions

    Can someone tell me the correct permissionds for the following

    Writable Modules Sub-Directories and Files Not Writeable
    Writable Data Sub-Directories Not Writeable
    Writable Cache Sub-Directories Not Writeable

    I have tried 755,644,666 and anything I can thnk of
    does anyone have any suggestions?

    I cannot find it in any documentation.

    Thanks
    H Andrew Jordan
    Last edited by imserv; 2005-07-01 at 11:54 PM.

  2. #2
    leslie is offline Member
    Join Date
    May 2005
    Posts
    9

    Default Re: Need correct Permissions

    Have you tried 777 permissions? It worked for me. But i'm not sure of the security implications as a result of a 777 permissions mode. Also, the ownerships for the Sugar subdirectories and files may be owned by apache or mysql, but I still have to verify that.

    Leslie

  3. #3
    imserv is offline Member
    Join Date
    Jul 2005
    Posts
    9

    Talking Re: Need correct Permissions

    Yes I have tried 777, and still no luck

    I might add that I am installing this on a shared web hosting
    server, and I do not have ssh access ?
    Dont know if this makes a difference!!

    its loacted at http;//brightwavemedia.net/agents/

    anymore suggestions on how to solve this?

    Thanks

  4. #4
    ronp is offline Junior Member
    Join Date
    Jul 2005
    Posts
    2

    Thumbs up Re: Need correct Permissions

    At first I struggled with this and what worked was the 777, but it literally took me going through each file under the suggested directories to be changed .. even down to the single files in some of the directories. 777 seciruty s also a consideration like previously posted, but it works for our purposes for now. Will have to also consider that plugin imserv ...

  5. #5
    leslie is offline Member
    Join Date
    May 2005
    Posts
    9

    Default Re: Need correct Permissions

    Imserv,

    did you do a "recursive" 777 operation on the Modules, Data and Cache sub-directories? ----> chmod -R 777 modules data cache. This way all the files and sub-directories will be changed to 777 mode w/o manually changing each and every sub-directory or file.

  6. #6
    imserv is offline Member
    Join Date
    Jul 2005
    Posts
    9

    Exclamation Re: Need correct Permissions

    HI.
    It actually was 777 and its working now,

    problem is now I cannot assign a password to another user..
    Any suggestions how to set this up

  7. #7
    steveparks is offline Sugar Community Member
    Join Date
    May 2005
    Posts
    17

    Default Re: Need correct Permissions

    Hi

    I've just tried doing:

    Code:
    chmod -R 0777 cache
    but for each subdirectory it tries to change i get the error 'Operation not permitted'

    I've checked the group ownership and that's fine, and I can change individual directories or files.

    I'm using RHEL3 with apache.

    Any ideas please?

    I really don't want to have to go through and chmod every individual file!

    ********
    If there was a text file listing all the files and folders in sugar we could use the following command:

    Code:
    for i in `sed -e 's/,.*$//g' < upgrade.lst`; do chmod 777 $i ; done
    is this something sugar could consider for a future release?
    ********

    Steve

  8. #8
    clint's Avatar
    clint is offline Sugar Team Member | Forums Lead Moderator
    Join Date
    Aug 2004
    Location
    Silicon Valley
    Posts
    2,120

    Default Re: Need correct Permissions

    Quote Originally Posted by steveparks
    Hi

    I've just tried doing:

    Code:
    chmod -R 0777 cache
    but for each subdirectory it tries to change i get the error 'Operation not permitted'

    I've checked the group ownership and that's fine, and I can change individual directories or files.
    It looks like your user doesn't have permission to chmod these files. Does the user you are executing this command under own the files you are changing? If you are just in the same group as the group ownership, you may not be able to chmod or chown the file.
    Sugar Developer Zone - developer resources | Sugar University - user and admin training
    Sugar Docs - user and admin documentation |
    Sugar Bug Tracker - Enter or view bugs
    SugarForge- open source modules, themes, lang packs | SugarExchange - commercial extensions

    Clint Oram
    Chief Technology Officer and Co-founder
    SugarCRM

  9. #9
    steveparks is offline Sugar Community Member
    Join Date
    May 2005
    Posts
    17

    Default Re: Need correct Permissions

    Hi Clint

    It will let me chmod individual files or directories, but not to do a recursive chmod on everything in a directory

    so

    Code:
    Chmod 0777 cache
    works, but

    Code:
    chmod -R 0777 cache
    returns an error 'Operation not permitted'

    steve

Thread Information

Users Browsing this Thread

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

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
  •