Ticket #1167 (closed tracker: worksforme)

Opened 9 years ago

Last modified 9 years ago

Paludis and sandbox

Reported by: fantastic001 Owned by:
Priority: Sometime Milestone: cave Basic Functionality
Component: clients/cave Version: 0.60.4
Keywords: sandbox Cc:
Blocked By: Blocking:
Distribution: Gentoo

Description

HI, when i try to run

cave resolve world --complete

i get

Executing pretend actions: 44 of 45xorg-server-1.10.1.902> sandbox:main could not open the sandbox rc file: /usr/share/sandbox/sandbox.bashrc: Permission denied

what is problem ???

i tried to reinstall sandbox but that's not help me :(

Change History

comment:1 Changed 9 years ago by ciaranm

ls -ld / /usr /usr/share /usr/share/sandbox/ /usr/share/sandbox/sandbox.bashrc ?

comment:2 Changed 9 years ago by fantastic001

localhost stefan # ls -ld / /usr /usr/share /usr/share/sandbox/ /usr/share/sandbox/sandbox.bashrc drwxr-xr-x 19 root root 4096 May 21 10:36 / drwxr-xr-x 16 root root 4096 Apr 26 14:51 /usr drwxr-x--- 150 root root 4096 Apr 27 14:36 /usr/share drwxr-xr-x 2 paludisbuild paludisbuild 4096 May 26 17:27 /usr/share/sandbox/ -rwxr-xr-x 1 paludisbuild paludisbuild 3911 May 26 17:27 /usr/share/sandbox/sandbox.bashrc localhost stefan #

comment:3 Changed 9 years ago by fantastic001

Problem solved , problem was in this

drwxr-x--- 150 root root 4096 Apr 27 14:36 /usr/share

other users (paludisbuild) have not permissions to open /usr/share and cannot come to sandbox directory

to fix this just run

chmod -R o+rx /usr/share

comment:4 Changed 9 years ago by ciaranm

  • Status changed from new to closed
  • Resolution set to worksforme

The bigger question is how you managed to get that in the first place... It looks like you've been screwing around with permissions on /. Don't do that. You may wish to reinstall from scratch to fix other things you've probably got wrong.

Note: See TracTickets for help on using tickets.