Results 1 to 5 of 5

Thread: Chmod question

  1. #1
    brandondrury is offline Junior Member
    Join Date
    Sep 2006
    Posts
    3

    Default Chmod question

    I'm curious what my options are concerning the chmodding of the "modules" folder.

    It appears that my webserver does not allow scripts to change permissions of files and directories. At least it never has before.

    I've been chmodding the modules folder for about 45 minutes now. I refuse to go in by hand to chmod another 6,000 files or whatever.

    I was wondering what my options are. Is there a ftp program that will cdmod all files in a directory (including files in a subdirectory)?

    Thanks,
    Brandon Drury
    Apache/2.0.46 (Red Hat)
    Linux
    Last edited by brandondrury; 2006-09-12 at 09:45 PM.

  2. #2
    jscherber is offline Sugar Community Member
    Join Date
    Oct 2004
    Posts
    77

    Default Re: Chmod question

    I use WSFTP Professional and it permits this. Worth every cent you will pay.

    Hope this helps.

    Best, James Scherber

  3. #3
    kickedmydog is offline Sugar Community Member
    Join Date
    Oct 2005
    Location
    Online
    Posts
    107

    Default Re: Chmod question

    Why not do it a simpler way like this at the command level?

    Make everything 755 for folders by running chmod -R 755 sugar/

    To make the files 644 type:

    find dir/ -type f | xargs -n1 chmod 644

    (dir = your sugar folder)

    Personally I run everything at 777 and config.php at 644 with the least headaches.
    Dogs are not soccer balls.

  4. #4
    brandondrury is offline Junior Member
    Join Date
    Sep 2006
    Posts
    3

    Default Re: Chmod question

    Why not do it a simpler way like this at the command level?

    Make everything 755 for folders by running chmod -R 755 sugar/

    To make the files 644 type:

    find dir/ -type f | xargs -n1 chmod 644

    (dir = your sugar folder)

    Personally I run everything at 777 and config.php at 644 with the least headaches.
    Hmm. I'm braindead when it comes to server stuff.

    I tried entering "find dir/ -type f | xargs -n1 chmod 644" as a raw ftp command in Filezilla and I got an error saying "500 Find" not understod.

    I use WSFTP Professional and it permits this. Worth every cent you will pay.
    I actually own WSFTP Pro. I always thought it was buggy so I switched to Filezilla. I reinstalled it but I can't find where this is found yet.

    Brandon

  5. #5
    kpit's Avatar
    kpit is offline A Sugar Hero | Help Forum Moderator
    Join Date
    Dec 2005
    Location
    Memphis, TN
    Posts
    996

    Default Re: Chmod question

    I use another program called filezilla a ftp client and the Price is right... Free! It works for windows users. Filezilla can be downloaded at http://filezilla.sourceforge.net/
    Cheers,

    Max W. Blackmer, Jr.

    Blog
    Phone: +1 (901) 672-2694



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
  •