Results 1 to 4 of 4

Thread: Ownership of files

  1. #1
    eeijlar NNTP User

    Default Ownership of files


    Hi,

    Just wondering... who should own the files in web server root, is it
    root or a normal user?

    /jlar


    --
    eeijlar
    ------------------------------------------------------------------------
    eeijlar's Profile: http://forums.opensuse.org/member.php?userid=1504
    View this thread: http://forums.opensuse.org/showthread.php?t=401074


  2. #2
    ab@novell.com NNTP User

    Default Re: Ownership of files

    -----BEGIN PGP SIGNED MESSAGE-----
    Hash: SHA1

    Either way. Generally speaking it's a bad idea for the web server user
    ('wwwrun' by default as I recall) to own the files, or be able to write
    or execute them, but otherwise as long as that user can read them you
    should be okay.

    Good luck.





    eeijlar wrote:
    > Hi,
    >
    > Just wondering... who should own the files in web server root, is it
    > root or a normal user?
    >
    > /jlar
    >
    >

    -----BEGIN PGP SIGNATURE-----
    Version: GnuPG v1.4.2 (GNU/Linux)
    Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

    iD8DBQFJODND3s42bA80+9kRAkDoAKCCn4Eczm+QCvnG34lf0sS+UjM6qgCfceJm
    xYWVtiYgDcqEhhA8R8XXsyI=
    =Zksw
    -----END PGP SIGNATURE-----

  3. #3
    jengelh NNTP User

    Default Re: Ownership of files


    Anyone but the user apache runs under. Exception possible for files the
    webserver has to touch.


    --
    jengelh
    ------------------------------------------------------------------------
    jengelh's Profile: http://forums.opensuse.org/member.php?userid=882
    View this thread: http://forums.opensuse.org/showthread.php?t=401074


  4. #4
    geoffro NNTP User

    Default Re: Ownership of files


    You can also change the default root to your public_html if you are the
    only user.
    That way you have more control

    Geoff


    --
    Core 2 Duo E8500 3.16GHz - 4GB DDR2 - 1.8 TB - GeForce 7600 GS - OS 11
    x86_64 - KDE 4.181 (release1.1)
    ------------------------------------------------------------------------
    geoffro's Profile: http://forums.opensuse.org/member.php?userid=75
    View this thread: http://forums.opensuse.org/showthread.php?t=401074


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •