Thread: unix terminal read/write

  1. #1
    Registered User
    Join Date
    Nov 2004
    Posts
    86

    unix terminal read/write

    I had the need to boot up in root mode on my mac, which allows me to work with files without having to log in. THis is all well and good, But I ended up having to compile and run a hastily written c tool to do a check.

    I discovered that the compile could not occur because i was unable to write in root mode

    how do I enable read and write on the unix root?

    thanx

  2. #2
    Crazy Fool Perspective's Avatar
    Join Date
    Jan 2003
    Location
    Canada
    Posts
    2,640
    run "chmod u+rw <file-I-want-to-read-and-write>" ?

    please note that i don't really understand what your asking.

  3. #3
    Registered User
    Join Date
    Nov 2004
    Posts
    86
    my bad if it's ambiguous

    the reason i discovered the inability to write was through implementing cc

    but I want/need to find a way of implementing read and write permission over hte whole system in root, ie: being able to say pico and then save the file

  4. #4
    </life>
    Join Date
    Oct 2004
    Posts
    83
    I think what your trying to say is your filesystem is mounted read-only and you want to mount it read-write. try

    mount / -o remount,rw
    Microsoft is merely an illusion, albeit a very persistant one.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Problem Clearing Terminal
    By mrginger in forum C Programming
    Replies: 3
    Last Post: 04-15-2009, 11:58 AM
  2. Console, Terminal and Terminal Emulator
    By lehe in forum C Programming
    Replies: 4
    Last Post: 02-15-2009, 09:59 PM
  3. How to program in unix
    By Cpro in forum Linux Programming
    Replies: 21
    Last Post: 02-12-2008, 10:54 AM
  4. Setting up a Unix box
    By @nthony in forum Tech Board
    Replies: 6
    Last Post: 07-22-2007, 10:22 PM
  5. About Unix Programming - Making a career desision
    By null in forum C Programming
    Replies: 0
    Last Post: 10-14-2001, 07:37 AM