Page 1 of 2 12 LastLast
Results 1 to 10 of 11

Thread: Why does my home folder have public_html?

  1. #1

    Default Why does my home folder have public_html?

    Why is there both a "public" and "public_html" folder in my home folder? I'm using KDE 4.3.1 and opensuse 11.2.

    Is this normal?

  2. #2
    Join Date
    Sep 2008
    Location
    Dubai
    Posts
    1,770

    Default Re: Why does my home folder have public_html?

    Home folder is created by copying /etc/skel
    If you make changes to /ect/skel, it will have effect on the newly created home folders.
    openSUSE 12.3 (x86_64) with Kernel 3.7.10-1.16-desktop and KDE 4.11.2 on MacBook Pro
    Latest MS Windows version used: Win95

  3. #3

    Default Re: Why does my home folder have public_html?

    Quote Originally Posted by syampillai View Post
    Home folder is created by copying /etc/skel
    If you make changes to /ect/skel, it will have effect on the newly created home folders.
    I'm not sure I understand, or if you answered my question.

    I installed openSUSE 11.2 from DVD. I did not notice before if there was a public or public_html folder but I noticed it today. What I want to know is, are these folders both put there by default in opensuse 11.2 KDE? Or have they been put there by some program? (Because I did not add them, nor did I alter /etc/skel)

  4. #4
    Join Date
    Jun 2008
    Location
    Podunk
    Posts
    26,655
    Blog Entries
    15

    Default Re: Why does my home folder have public_html?

    Quote Originally Posted by 6tr6tr
    Why is there both a "public" and "public_html" folder in my home folder?
    I'm using KDE 4.3.1 and opensuse 11.2.

    Is this normal?
    Hi
    Yes, if you run a webserver you can then point to your home directory
    and create your own user home pages, as well as using for web
    development in public_html

    Public is used for samba shares.

    --
    Cheers Malcolm (Linux Counter #276890)
    SUSE Linux Enterprise Desktop 11 (x86_64) Kernel 2.6.27.42-0.1-default
    up 4 days 5:18, 2 users, load average: 0.11, 0.20, 0.14
    GPU GeForce 8600 GTS Silent - CUDA Driver Version: 190.18


  5. #5
    Join Date
    Jun 2008
    Location
    Stoney Stanton - England
    Posts
    1,102

    Default Re: Why does my home folder have public_html?

    I had the same thoughts myself and decided to delete them last week. No problems found.

  6. #6

    Default Re: Why does my home folder have public_html?

    Quote Originally Posted by malcolmlewis View Post
    Hi
    Yes, if you run a webserver you can then point to your home directory
    and create your own user home pages, as well as using for web
    development in public_html

    Public is used for samba shares.

    --
    Cheers Malcolm (Linux Counter #276890)
    SUSE Linux Enterprise Desktop 11 (x86_64) Kernel 2.6.27.42-0.1-default
    up 4 days 5:18, 2 users, load average: 0.11, 0.20, 0.14
    GPU GeForce 8600 GTS Silent - CUDA Driver Version: 190.18
    OK, but I'm not running a web server (or at least don't want to). How do I find if one is running or if that folder is just there by default with no web server?

  7. #7
    palladium NNTP User

    Default Re: Why does my home folder have public_html?

    did you install any web servers, like Apache or LightTPD? what about
    web authoring programs or environments like NVU, QuantraPlus,
    SeaMonkey, etc??

    any of those _might_ have made those folders...you know that YaST will
    follow the directions within and RPM and build new directories needed
    by any and every program you install..and, most uninstall directions
    leave directories there even if you delete the programs (because it is
    expected that any htmls you *created* you want to keep)..

    *and* those folders could have been there for a very long time if you
    kept your /home as you moved up to 11.2..

    are the folders empty? well, whether empty or not just rename or move
    them under a directory (say) /home/[you]/trashMaybe and if after some
    days or weeks, no programs you use complain and there is nothing in
    them you want, dump them.

    --
    palladium

  8. #8
    Join Date
    Jun 2008
    Location
    Podunk
    Posts
    26,655
    Blog Entries
    15

    Default Re: Why does my home folder have public_html?

    Quote Originally Posted by 6tr6tr
    malcolmlewis;2106905 Wrote:
    > Hi
    > Yes, if you run a webserver you can then point to your home directory
    > and create your own user home pages, as well as using for web
    > development in public_html
    >
    > Public is used for samba shares.


    OK, but I'm not running a web server (or at least don't want to). How
    do I find if one is running or if that folder is just there by default
    with no web server?
    Hi
    They are there by default and created by appaarmor, just delete them....

    --
    Cheers Malcolm (Linux Counter #276890)
    SUSE Linux Enterprise Desktop 11 (x86_64) Kernel 2.6.27.42-0.1-default
    up 5 days 1:21, 2 users, load average: 0.57, 0.32, 0.21
    GPU GeForce 8600 GTS Silent - CUDA Driver Version: 190.18


  9. #9
    Join Date
    Dec 2009
    Location
    Bristol, UK
    Posts
    61

    Default Re: Why does my home folder have public_html?

    The actual folder as far as I can tell is made when the MySQL libraries are pulled in (atleast that's what made it appear on my other system running Chakra).

    MySQL is also a requirement for Akondi, Strigi aswell as far as i can see. Maybe with the default install's that's what creates the folder as they are dependencies for KDE.

  10. #10
    Join Date
    Sep 2008
    Location
    Dubai
    Posts
    1,770

    Default Re: Why does my home folder have public_html?

    As I mentioned in my post, public_html folder is created from the skeleton folder entries /etc/skel
    So, you if you create any user in the system, openSUSE will clone the skeleton folder.
    openSUSE 12.3 (x86_64) with Kernel 3.7.10-1.16-desktop and KDE 4.11.2 on MacBook Pro
    Latest MS Windows version used: Win95

Page 1 of 2 12 LastLast

Posting Permissions

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