Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - General
User Name
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.


  Search this Thread
Old 10-17-2006, 05:35 AM   #1
Registered: Oct 2006
Distribution: Fedora Core
Posts: 60

Rep: Reputation: 15
How to gain Write-Access to a File System as Root

I am trying to get change a script in a directory of a Linux derivat. I am logged in over root. The directory /opt/... seems to be write locked, I cannot create or change files. What I need to do to get write access??

Thanks and Regards
Old 10-17-2006, 06:21 AM   #2
Registered: Mar 2006
Distribution: BackTrack, RHEL, FC, CentOS, IPCop, Ubuntu, 64Studio, Elive, Dream Linux, Trix Box
Posts: 310

Rep: Reputation: 30
Hi tobiasw,

can you post the output of
ls -la in that directory,

If it is r-x r-x r-x you will have to enter

chmod -R 700 dirname

If you see something like t in the list you will have to:-

chmod -t filename

Hope this helps you,


Last edited by imagineers7; 11-11-2006 at 10:47 PM.
Old 10-17-2006, 08:50 AM   #3
Senior Member
Registered: Oct 2003
Location: UK
Distribution: Kubuntu 12.10 (using awesome wm though)
Posts: 3,530

Rep: Reputation: 63
...or it could be the filesystem itself. To see if you have any readonly filesystems mounted, try this command:

mount |grep '(.*ro.*)'
If you have a readonly-mounted device on which you wish to modify a file, you can remount it readwrite like this:

mount -o remount,rw /mount/point
Of course, this won't work if the readonly-ness of it is from the filesystem type (e.g. a CDROM or a squashfs filesystem image).
Old 02-02-2011, 08:02 AM   #4
LQ Newbie
Registered: Nov 2006
Location: Shelbyville, Indiana
Distribution: PCLinuxos Full Monty Desktop
Posts: 3

Rep: Reputation: 0
How to access an iso image.

Nice thing about unix (Linux) is that all the tools are available to do what you want.
Try this:
# mount -o loop file_name.iso /mnt

No need to copy files ie: dd etc...

Now you can see that the iso image is now mounted just like all other partitions by a df command.

Bob Westwater


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Can't gain new ROOT access dauphinfay Linux - General 3 07-28-2005 12:38 AM
How to gain **write-access** to windows xp files? sairam9 Linux - Newbie 3 07-14-2005 09:09 AM
Gain root access to user longnam Slackware 5 03-29-2005 11:43 AM
Shell scripts: gain root access - how? ludeKing Programming 16 09-02-2004 10:35 PM
which is the best file system for read write access from linux and windows tomank Linux - Newbie 4 04-05-2004 08:48 AM > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 02:49 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration