Forums

[resolved] Chmod Blog.dir (18 posts)

  1. darcmosch
    Member
    Posted 11 months ago #

    I cannot figure out how to chmod the blog.dir to 755. Could someone please help me figure this out? Thanks

  2. Andrea_r
    team pirate
    Posted 11 months ago #

    Depends on your ftp program or cpanel or however you access the file system on your webhost.

    Have you tried asking your webhost support team?

  3. darcmosch
    Member
    Posted 11 months ago #

    Sorry, I forgot to mention that this is a localhost with Xampp on Windows XP I tried chmod -R 755 path\to\blogs.dir and it did not work

  4. darcmosch
    Member
    Posted 11 months ago #

    and i changed the main site's upload path to the blogs.dir/1 and it gave me the unable to write to directory error. Before it was wordpress/uploads and it would seemingly work but then the images would never get uploaded.

  5. Andrea_r
    team pirate
    Posted 11 months ago #

    Don't change the root site uploads folder like that.

    If chmod didn't wok you may have to chown it to a different owner. keep fiddling.

  6. darcmosch
    Member
    Posted 11 months ago #

    Well, I wanted to make sure I chmod in the right place. Where should it be done? I did it in Windows command prompt when it did not work.

  7. ClaytonJames
    Member
    Posted 11 months ago #

    chmod/chown are functions usually associated with 'NIX style operating systems. Not Windows OS's. Windows(XP) employs NTFS file and folder security/permissions schemes. Unless you are actually experiencing some type of error message that you are attempting to correct, I recommend you don't alter these settings unless you know what you are doing. I've never actually experienced any permission errors on an XP box running XAMPP under an administrative account just for development purposes.

  8. darcmosch
    Member
    Posted 11 months ago #

    Well, I cannot upload any files to blogs.dir for multisites because there is still not written permission so something is not working. Your experience is appreciated, but I knew they ran under different file systems. If you could give me some different methods that could resolve the problem, that would be much appreciated.

  9. ClaytonJames
    Member
    Posted 11 months ago #

    Then you were probably already aware that a chmod command in a windows terminal was an exercise in futility.

    I honestly do not have a good/definite answer. It has been my personal experience that Home PC environments are rarely conducive to accurate representations of "real world" server environments. Especially if you are experimenting with a WordPress Network setup. The only thing I can think of that might be the least bit helpful, would be to make sure that user "everybody" has full permissions on the directory that you cannot write to.

  10. darcmosch
    Member
    Posted 11 months ago #

    I am not really looking for real world, I just want it to work. Can I chmod through mySQL? What is the coding for that? Maybe this might help:
    I have root user and then for wordpress my user is darcmosch. Then I added a darcmosch via phpmyadmin that has all permissions for /wordpress. Would any of that be causing this problem?

  11. ClaytonJames
    Member
    Posted 11 months ago #

    chhmod is a function of UNIX/LINUX based OS's. You cannot use the chmod command on Windows XP under normal circumstances.

    understanding windows file permissions

  12. darcmosch
    Member
    Posted 11 months ago #

    And I thought I did that. I have right clicked on every file in existence that could be denying it access and still nothing.

  13. ClaytonJames
    Member
    Posted 11 months ago #

    I'm afraid I'm stumped. I'm sorry. Darn Windows! :-)

  14. darcmosch
    Member
    Posted 11 months ago #

    here's a question. The blogs.dir, is that a folder or a file?

  15. ClaytonJames
    Member
    Posted 11 months ago #

    I believe that blogs.dir should probably be a directory(folder).

  16. darcmosch
    Member
    Posted 11 months ago #

    I think we found the problem. I thought it was a file. The wordpress page where it walks you through setting up multisites is very vague on a couple of key issues. That would be one of them. I can now upload

  17. ClaytonJames
    Member
    Posted 11 months ago #

    Gotta' love Windows. The default user account of most Desktop OS's will let anyone do almost anything.

  18. Andrea_r
    team pirate
    Posted 11 months ago #

    The wordpress page where it walks you through setting up multisites is very vague on a couple of key issues. That would be one of them.

    It clearly states "Create a blogs.dir directory under /wp-content/"

Reply

You must log in to post.

About this Topic