Accessing files in another /home directory

Discussion in 'Site & Server Administration' started by papa_face, Nov 21, 2009.

  1. #1
    Hey,

    I have a dedicated server and I am wanting /home/number1/example.php to include /home/number2/example.php.

    However I am getting a permission denied error, understandably as I am trying to access a file not assigned to uid number1. How do I go about correcting this so I can do what I require?

    Any help would be appreciated :)
     
    papa_face, Nov 21, 2009 IP
  2. b.krishna

    b.krishna Well-Known Member

    Messages:
    39
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    106
    #2
    Both uid can be assigned to same files or directory.
     
    b.krishna, Nov 21, 2009 IP
  3. papa_face

    papa_face Notable Member

    Messages:
    2,237
    Likes Received:
    67
    Best Answers:
    1
    Trophy Points:
    285
    #3
    Sorry but I don't understand how that helps me =/ :(
     
    papa_face, Nov 21, 2009 IP
  4. new

    new Peon

    Messages:
    1,433
    Likes Received:
    45
    Best Answers:
    0
    Trophy Points:
    0
    #4
    a quick solution will be to change permission of /home/number2/example.php to 777 and that will get rid of any permission problems
     
    new, Nov 22, 2009 IP