언어 설정

Menu
Sites
Language
How to give Read-Write permission to filesystem

Hi,

I am trying to create a symbolic link using "ln -s /opt/python/bin/python /usr/bin" command in my Tizen shell.

But i am getting the following error: "ln: creating symbolic link `/usr/bin/python': Read-only file system"

How i can give read-write permission to "/opt/python/bin/python" ?

Responses

5 댓글
AVSukhov

Hello,

Try to use "sdb root on"

Ahmed All Razi

Hi

I did "sdb root on" first. But got same result.

I have to give write permission to do "ln -s /opt/python/bin/python /usr/bin"

Ahmed All Razi

Hi

I did "sdb root on" first. But got same result.

I have to give write permission to do "ln -s /opt/python/bin/python /usr/bin"

Alex Dem

Hi
I think it is due /usr/bin is read-only but not /opt/python/bin/python (you could set any premissions for /opt/python/bin/python using 'chmod').

I was able to create symbolic link inside tmp folder
sh-4.1# ln -s /opt/python/bin/python /tmp
ln -s /opt/python/bin/python /tmp
ln: creating symbolic link `/tmp/python': File exists

Also I have tried after 'sdb root on' from sdb shell:

1) display /usr/bin permissons:
sh-4.1# ls -l /usr
dr-xr-xr-x   4 root root 20480 Apr 28  2014 bin (execute and read only)

2) change permission for /tmp folder using 'chmod' (or another file inside)
sh-4.1# chmod 777 /tmp

3) change permission for /usr/bin/ folder using 'chmod' (or another file inside)
sh-4.1# chmod 777 /usr/bin/
chmod 777 /usr/bin/
chmod: changing permissions of `/usr/bin/': Read-only file system
Alexey.

Ahmed All Razi

Yes "usr/bin" is read-only directory.

I could not able to change the permission.

Anyway my present problem is solved in some other way.

 

Thank you all for your response.