# permission problem

**URL:** <https://forums.suse.com/t/permission-problem/23229>\
**Category:** SLED Applications\
**Created:** [October 23, 2012, 12:16pm UTC](https://forums.suse.com/t/permission-problem/23229 "2012-10-23T12:16:25Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![albumns](https://avatars.discourse-cdn.com/v4/letter/a/3bc359/32.png) [@albumns](https://forums.suse.com/u/albumns)\
**Post date:** [October 23, 2012, 12:16pm UTC](https://forums.suse.com/t/permission-problem/23229/1 "2012-10-23T12:16:25Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![malcolmlewis](https://sea2.discourse-cdn.com/flex022/user_avatar/forums.suse.com/malcolmlewis/32/11375_2.png) [@malcolmlewis](https://forums.suse.com/u/malcolmlewis)\
**Post date:** [October 23, 2012, 2:02pm UTC](https://forums.suse.com/t/permission-problem/23229/2 "2012-10-23T14:02:55Z")

</div>

> [@albumns](#):
>
> 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

---

<div class="post-metadata">

**Author:** ![mikewillis](https://avatars.discourse-cdn.com/v4/letter/m/b2d939/32.png) [@mikewillis](https://forums.suse.com/u/mikewillis)\
**Post date:** [October 23, 2012, 2:36pm UTC](https://forums.suse.com/t/permission-problem/23229/3 "2012-10-23T14:36:23Z")

</div>

Can you post the output of

`$ id
$ mount
`  
and the output of

```auto
$ ls -l
```

in whichever directory that setup.sh file is located in.

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

---

<div class="post-metadata">

**Author:** ![mikewillis](https://avatars.discourse-cdn.com/v4/letter/m/b2d939/32.png) [@mikewillis](https://forums.suse.com/u/mikewillis)\
**Post date:** [October 23, 2012, 2:37pm UTC](https://forums.suse.com/t/permission-problem/23229/4 "2012-10-23T14:37:45Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![malcolmlewis](https://sea2.discourse-cdn.com/flex022/user_avatar/forums.suse.com/malcolmlewis/32/11375_2.png) [@malcolmlewis](https://forums.suse.com/u/malcolmlewis)\
**Post date:** [October 23, 2012, 3:04pm UTC](https://forums.suse.com/t/permission-problem/23229/5 "2012-10-23T15:04:33Z")

</div>

> [@mikewillis](#):
>
> 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

---

<div class="post-metadata">

**Author:** ![albumns](https://avatars.discourse-cdn.com/v4/letter/a/3bc359/32.png) [@albumns](https://forums.suse.com/u/albumns)\
**Post date:** [October 23, 2012, 7:42pm UTC](https://forums.suse.com/t/permission-problem/23229/6 "2012-10-23T19:42:19Z")

</div>

[QUOTE=malcolmlewis;9691]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[/QUOTE]

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.
