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

Images folder seems to not have correct permissions

Scheduled Pinned Locked Moved Unsolved
Linux Problems
2
2
146
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.
  • C
    COE
    last edited by Nov 19, 2024, 2:59 PM

    I’m fairly new to this, so please pardon my learning curve. I’m sure this is simple. I tried searching, but didn’t find exactly my issue, and I’m new enough I’m not sure I can translate something that’s only close but not exact to my current situation.

    I recently had to rebuild my Ubuntu server running FOG. I copied my images to an external drive, and everything went well until I wanted to copy them back to the images folder. It failed, and I discovered (looking at the folder in FileZilla) that the images folder doesn’t have Write permission for Public Permissions. I see it does on another Ubuntu server I manage. I think all I need to do is just change that, but it won’t let me change it in FileZilla.

    I tried just reinstalling FOG to see if that helped, but it didn’t. So my next plan is to just use the command line to change the permissions, which I think should be fairly simple, but I’m not entirely sure of the exact command. Can I use

    chmod 777 images

    from the root level? If that’s not best, what should I use? chown? Do I just have the syntax wrong? Thanks for anyone that’s willing to help me learn.

    G 1 Reply Last reply Nov 19, 2024, 10:57 PM Reply Quote 0
    • G
      george1421 Moderator @COE
      last edited by Nov 19, 2024, 10:57 PM

      @COE Typically if the permissions on the /images directory get messed up you can reinstall FOG and it will fix the permissions.

      If you run the chmod 777 /images that will make the directory world writable but not the existing files / folders under that directory. If you use chmod -R 777 /images it will change everything under that directory to world writable.

      But before you do that, the linux user fogproject should have read write access to /images. The password for that user is found in the hidden file /opt/fog/.fogsettings That is the user account fog uses to move files around while imaging.

      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!

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

      144

      Online

      12.0k

      Users

      17.3k

      Topics

      155.2k

      Posts
      Copyright © 2012-2024 FOG Project