PDA

View Full Version : permission problem



albumns
23-Oct-2012, 10:16
hello:

I shrinked my root partition to 40GB and create a new 400GB for my home partition. Now I mount this new partition to home directory and the system can start up well. However, I find that I cannot excute anything in home directory although the permission seems to be good :

ls -l run.sh

-rwxr-xr-x 1 albert users 1255 Apr 11 2012 run.sh

./run.sh

bash: ./setup.sh: Permission denied

even I run it with root, the problem is the same.

I am wondering, what's happening?

thank you very much.

malcolmlewis
23-Oct-2012, 12:02
hello:

I shrinked my root partition to 40GB and create a new 400GB for my home
partition. Now I mount this new partition to home directory and the
system can start up well. However, I find that I cannot excute anything
in home directory although the permission seems to be good :

ls -l run.sh

-rwxr-xr-x 1 albert users 1255 Apr 11 2012 run.sh

../run.sh

bash: ./setup.sh: Permission denied

even I run it with root, the problem is the same.

I am wondering, what's happening?

thank you very much.



Hi
Where does setup.sh live and it's permissions?

What is the permission on /home/albert

Can you create and delete files ok in your home directory?
[/CODE]
touch temp.txt
rm temp.txt
[/CODE]

--
Cheers Malcolm °¿° (Linux Counter #276890)
openSUSE 12.2 (x86_64) Kernel 3.4.11-2.16-desktop
up 1 day 7:45, 3 users, load average: 0.07, 0.07, 0.05
CPU Intel i5 CPU M520@2.40GHz | Intel Arrandale GPU

mikewillis
23-Oct-2012, 12:36
Can you post the output of


$ id
$ mount

and the output of

$ ls -l
in whichever directory that setup.sh file is located in.

Wrap all the output in CODE tags to make it readable.

mikewillis
23-Oct-2012, 12:37
Your post is half an hour before mine yet I'm sure it wasn't there when I hit reply. I certainly didn't spend anywhere near half an hour typing. Odd.

malcolmlewis
23-Oct-2012, 13:04
Your post is half an hour before mine yet I'm sure it wasn't there when
I hit reply. I certainly didn't spend anywhere near half an hour typing.
Odd.



Hi Mike
nntp sync....

--
Cheers Malcolm °¿° (Linux Counter #276890)
openSUSE 12.2 (x86_64) Kernel 3.4.11-2.16-desktop
up 1 day 8:48, 3 users, load average: 0.10, 0.22, 0.29
CPU Intel i5 CPU M520@2.40GHz | Intel Arrandale GPU

albumns
23-Oct-2012, 17:42
Hi Mike
nntp sync....

--
Cheers Malcolm °¿° (Linux Counter #276890)
openSUSE 12.2 (x86_64) Kernel 3.4.11-2.16-desktop
up 1 day 8:48, 3 users, load average: 0.10, 0.22, 0.29
CPU Intel i5 CPU M520@2.40GHz | Intel Arrandale GPU


Hi guys:

thanks so much for such kind helps. It works now after I unselect "mountable by users" for /home directory in partition tools.

thanks again for kind advices.