The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

One user accessing another users filesystem

Discussion in 'General Discussion' started by inspiredgraphix, Apr 14, 2008.

  1. inspiredgraphix

    inspiredgraphix Registered

    Joined:
    Apr 14, 2008
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    1
    Hi Everyone,

    I have a questions which i hope someone will be able to assist with.

    I am trying to find a way to allow one user to access another's filesystem.

    I have a CMS that i have developed that uses an absolute file path for image uploading etc., and it runs from a single fileset.

    So what i am trying to do...

    have the user where my CMS resides - say "/home/user1/public_html/cms/

    be able to upload a file to

    /home/user2/public_html/images/ or something like that.

    Does that make sense?
    It worked on a server not running cPanel, but i can't seem to get it to work on the cPanel server.
    Is there something built into cPanel stopping me from doing this, or have i just managed to mess up the configuration?

    Any advice is most appreciated.
    Rob
     
  2. handsonhosting

    handsonhosting Well-Known Member

    Joined:
    Feb 17, 2002
    Messages:
    151
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    Omaha, NE
    cPanel Access Level:
    Root Administrator
    You can setup a symlink to link from one directory to another and then disable the open_basedir tweak for your particular users in your Security area in cPanel WHM.

    That should let you go from user folder to user folder.
     
  3. inspiredgraphix

    inspiredgraphix Registered

    Joined:
    Apr 14, 2008
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    1
    Thanks Conor.

    I will see what i can figure out.

    Rob
     
Loading...

Share This Page