Results 1 to 6 of 6

Thread: Ubuntus annoying security...

  1. #1

    Ubuntus annoying security...

    ...



    And you thought VAC was bad :p

    So how to I go about giving myself proper access to allow me to do stuff remotely?

    I'm basically wanting near root access to my "debox" account but going to the users and accounts settings has no options for this.

    Halp :(

  2. #2
    Hmm... Chmod 777 seemed to have fixed it, but I don't want to chmod everything I need to access.. there must be a better way?

  3. #3
    You should give the account your FTP server is running under ownership of the htdocs folder and everything underneath it. That should prevent you from having to chmod 777 all that stuff.

  4. #4
    Quote Originally Posted by Barret7sc
    You should give the account your FTP server is running under ownership of the htdocs folder and everything underneath it. That should prevent you from having to chmod 777 all that stuff.
    Erm, how do I check who owns the XAMPP FTP process? :crying:

  5. #5
    Foot Soldier
    Aypok's Avatar

    Join Date
    Jan 2008
    Location
    Merry Olde England
    Posts
    194
    Quote Originally Posted by DeMoN X
    Erm, how do I check who owns the XAMPP FTP process? :crying:
    I just look at the process list... You could check /etc/passwd for an "ftp" user (or something similar). I'm sure there are other ways, but these two have always solved my problems.

    Another solution, similar to what Barret7sc suggested, is to create a group for all XAMPP users (FTP and Apache, plus any others that will require write-access in the directories you're to be editing), then make the FTP and Apache users part of that group. Finally, "chgrp -R 775" the directory which you want fixed. You might need to set up the FTP server's default file writing permissions to 775, instead of 755 - although it has been many, many years since I last set up an FTP server...

    The benefit of doing it this way instead of simply chowning the directories is that chowning can lead to different permission errors: if you upload a file via FTP which is owned by the FTP user, Apache will complain if it tries to write to that file (since it'll be owned by a different user).

    I hope that helps.

  6. #6
    Very helpful :D thanks!

    Next up.. PPTP.. *shudders*

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
  •