Find the answer to your Linux question:
Results 1 to 3 of 3
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1

    entire filesystem rw

    due to an spelling-error in a shellscript i tried a shell-variable was not found and the entire filesystem got rewritten with "chmod 600".
    Now there is the little problem with all scripts and programs being non-executable. Is there anything that can be done at this point?
    When doing a shell command (except "cd") there is always - not unexpected - a "Permission denied" error.
    Will a restart do any good? I get the feeling, there will be no start after a shutdown ...
    Would be nice if anyone had some particular knowledge on this field.

  2. #2
    SuperMod (Back again) devils casper's Avatar
    Join Date
    Jun 2006
    Chandigarh, India
    hi oh_no !!!

    i think reboot would create problems... you changed pernission of entire file system... it means you executed that script as root... this should not be done........
    root is used for maintainance only...

    well !! i think you need LiveCd now...
    boot through Live Cd and change permission.......

    <=== { casper } ===>
    It is amazing what you can accomplish if you do not care who gets the credit.
    New Users: Read This First

  3. #3
    Hi devil_caspar,
    thx for answering.
    Given the fact that the system is on a (v)Server that might prove difficult. But I didn't think of that and just asked the provider, wether or not it's doable.
    The script was running as root since it was creating a system-wide backup. Irony at its best ...

  4. $spacer_open

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts