• Recent
    • Unsolved
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Register
    • Login

    FTP Rename Failed

    Scheduled Pinned Locked Moved
    Linux Problems
    2
    2
    3.2k
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • L
      Luke M
      last edited by

      Not quite sure why this is being so impossibly difficult. I’ve got FOG installed on an Ubuntu 12.04 server with a 150gb mirrored array for the boot volume and then a RAID5 array where I want to store my images.
      At first I used this:
      [url]http://www.fogproject.org/wiki/index.php/Change_NFS_location[/url]
      but since that didn’t fix the FTP issue, I decided to put everything back the way it was and use /etc/fstab to mount my images folder (/media/Array/FOG/images) as /images.

      Same story with that, it completes the image, then fails to copy it out of the /images/dev directory. Its probably a permissions issue, but I figured I’d post this since other people seem to have these issues based on the number of search results I came up with, but none of them applied to a totally self contained FOG server, no NFS server running somewhere else.
      permissions of folders:

      user@IBM-STORAGE:/images/dev$ ls -l -a /images
      total 12
      drwxrwxr-x 3 user user 4096 Oct 21 16:33 .
      drwxr-xr-x 25 root root 4096 Oct 22 06:45 …
      drwxrwxr-x 3 user user 4096 Oct 24 13:07 dev
      -rw-r–r-- 1 root root 0 Oct 21 16:33 .mntcheck

      Should these be owned by the fog user or nobody/nogroup?

      1 Reply Last reply Reply Quote 0
      • Tom ElliottT
        Tom Elliott
        last edited by

        To my knowledge, ownership of these folders really don’t matter.

        They’re usually given permissions of
        [code]chmod -R 777 /images[/code]

        However, it’s FTP that moves the file from /images/dev to /images.

        Make sure your FTP username and password are correct.

        [code]passwd fog[/code]

        Set the password and make sure you set this same password under:

        Storage Management->Storage Node->Management Username/Password and that it’s set under:
        FOG Configuration->FOG_TFTP_FTP_PASSWORD

        That should help you out.

        Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG! Get in contact with me (chat bubble in the top right corner) if you want to join in.

        Web GUI issue? Please check apache error (debian/ubuntu: /var/log/apache2/error.log, centos/fedora/rhel: /var/log/httpd/error_log) and php-fpm log (/var/log/php*-fpm.log)

        Please support FOG if you like it: https://wiki.fogproject.org/wiki/index.php/Support_FOG

        1 Reply Last reply Reply Quote 0
        • 1 / 1
        • First post
          Last post

        137

        Online

        12.0k

        Users

        17.3k

        Topics

        155.2k

        Posts
        Copyright © 2012-2024 FOG Project