FTP Rename Failed



  • 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?


  • Senior Developer

    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.


 

398
Online

5.4k
Users

12.6k
Topics

118.9k
Posts