1. Download our Official Android App: Forums for Android!

How to give RW permissions to file in android using pc commandline

Discussion in 'Android Apps & Games' started by kirankvb, Jan 12, 2018.

  1. kirankvb

    kirankvb Lurker
    Thread Starter
    Rank:
    None
    Points:
    5
    Posts:
    7
    Joined:
    Jul 28, 2014

    Jul 28, 2014
    7
    0
    5
    I am going to create zip file, so in that, I need to change the file permission to rw-r-r and I want the command line in order to type in terminal
    I know how to change using GUI but I want using command line
    I copied some files in the "system/" directory and want to give some permissions to it
    can anyone help me
     

    Advertisement

  2. LV426

    LV426 Illegitimi non carborundum
    Moderator
    Rank:
     #20
    Points:
    1,238
    Posts:
    5,641
    Joined:
    Oct 16, 2015

    Oct 16, 2015
    5,641
    7,478
    1,238
    Male
    Software developer
    South West of England
    chmod 644 filename
     
    Hadron likes this.
  3. Hadron

    Hadron  
    VIP Member
    Rank:
     #7
    Points:
    2,218
    Posts:
    20,586
    Joined:
    Aug 9, 2010

    Aug 9, 2010
    20,586
    13,599
    2,218
    Spacecorp Test Pilot
    Dimension Jumping
    And it's a Linux command line, not a PC one - helpful to know if you need to look up what commands exist (PC command line will probably get you DOS or Windows).
     

Share This Page

Loading...