1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

edit file on unix

Discussion in 'Shell Script' started by novice20, Oct 4, 2010.

  1. novice20

    novice20 New Member

    Joined:
    Oct 4, 2010
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    0
    Why am I not able to edit my unix file though i have the permissions -rwxrwxrwx? :(
     
  2. NewsBot

    NewsBot New Member

    Joined:
    Dec 2, 2008
    Messages:
    1,267
    Likes Received:
    1
    Trophy Points:
    0
    You may not have the permission on the folder
     
  3. benicio

    benicio New Member

    Joined:
    Oct 15, 2010
    Messages:
    6
    Likes Received:
    0
    Trophy Points:
    0
    its not a folder its a file, try this in your command line.

    #chmod 777 filename
     
  4. go4expert

    go4expert Moderator

    Joined:
    Aug 3, 2004
    Messages:
    306
    Likes Received:
    7
    Trophy Points:
    0
    The file already has 777 and still if he is not able to edit the file means that the user trying to edit the file is not having the permission on the folder.
     
  5. benicio

    benicio New Member

    Joined:
    Oct 15, 2010
    Messages:
    6
    Likes Received:
    0
    Trophy Points:
    0
    :D what am i thinking..
    maybe he should change the folder permission to 777 then
     
  6. techgeek.in

    techgeek.in New Member

    Joined:
    Dec 20, 2009
    Messages:
    572
    Likes Received:
    17
    Trophy Points:
    0
    Occupation:
    EOC (exploitation of computers)..i m a Terminator.
    Location:
    Not an alien!! for sure
    Home Page:
    First see in which usergroup you belong...the permissions which u are showing is incomplete..please post the complete string....
     
  7. Prakhar14

    Prakhar14 New Member

    Joined:
    Apr 27, 2011
    Messages:
    12
    Likes Received:
    0
    Trophy Points:
    0
    The directory or folder inside which you have that file, may not have write permission.You should change the permission for your directory.
     

Share This Page