PDA

توجه ! این یک نسخه آرشیو شده میباشد و در این حالت شما عکسی را مشاهده نمیکنید برای مشاهده کامل متن و عکسها بر روی لینک مقابل کلیک کنید : ReadOnly File System



gigabyte2052
March 16th, 2014, 23:00
درود دوستان من قصد داشتم ایزو یک سیستم عامل یونیکس بیسی رو یکی از فایل های سیستمیشو تغییر بدم با ارور

ReadOnly File System


برای ادیت این فایل در این مسیره چه راهی پیشنهاد میدید
/opt/deflate/winroute/webiface

فایل نیم موجود در پوشه index.php هست میخوام رینیم شه به index.txt

لطفا دستوارت و با توجه به دایرکتوری به من بدید ممنونم .

bigsinoos
March 16th, 2014, 23:10
chmod 755 filename ( add write premission to the file)

vi /opt/deflate/winroute/webiface ( edit file)


mv index.php index.txt ( rename file, use this command in target directory)



موفق باشید...

gigabyte2052
March 16th, 2014, 23:37
درود

ارور

/opt/deflate/winroute/webiface$ chmod 777 index.php
chmod: changing permissions of `index.php': Read-only file system
/opt/deflate/winroute/webiface$ chmod 777 index.php
chmod: changing permissions of `index.php': Read-only file system
/opt/deflate/winroute/webiface$ chmod 755 index.php
chmod: changing permissions of `index.php': Read-only file system

bigsinoos
March 16th, 2014, 23:43
https://www.google.com/#newwindow=1&q=chmod+Read-only+file+system+problem&safe=off
chmod command fails with "Read-only file system" (http://www.linuxquestions.org/questions/linux-general-1/chmod-command-fails-with-read-only-file-system-648675/)

جواب نگرفتی اطلاعات سرور رو pm کن برات فیکس کنم.

gigabyte2052
April 2nd, 2014, 14:12
سلام دوستان هنوز من نتونستم این مشکل و حل کنم کسی دیگه ای میتونه؟

mohs3n
May 1st, 2014, 12:17
فایل سیستمتون بصورت ro مونت شده .
دستور زیر رو اجرا کنید تا قابلیت نوشتن تو این پارتیشن رو داشته باشید:
# mount -o remount,rw /opt