chmod not working on sdcard

Discussion in 'Coby Tablet Accessories' started by Ridgeland, Feb 20, 2011.

  1. Ridgeland

    Ridgeland Member

    Joined:
    Dec 14, 2010
    Messages:
    285
    Likes Received:
    9
    Trophy Points:
    87
    Location:
    Ridgeland, WI, USA
    Tablet / Device:
    Coby MID7015-4G
    I want to change a file on the sdcard to read-only.
    From ls -l
    ----rwxr-x system sdcard_rw 593 2011-02-20 19:28 Day_Template.html
    chmod 044 Day_Template.html
    gives new ls -l
    ----rwxr-x system sdcard_rw 593 2011-02-20 19:28 Day_Template.html
    chmod is ignored.

    I can copy this file to /tmp and chmod works as expected
    ----r--r-- root root 593 2011-02-20 19:54 testfile

    /sdcard/ is not cooperating. /nand/ shows the same problem.

    Trivial information: We have a web site we use as a journal with photos. It's a simple CMS with php pages. For each new day's entry I need to create a simple pseudo web page (only tags are <h2>, <br>, <p> and <a href image>) For consistency and simplicity (no typing < or >) I want to use a template that is a read-only file so I cannot write to it by mistake. I've already tested camera card to card reader to Kyros, TextEdit to type in the the html for the php then AndFTP to upload photos and web pages. Worked fine. Typing is slow though. Unless someone knows a fix I'll just keep a redundant copy for safety.
     
  2. l_n

    l_n Senior Member

    Joined:
    Dec 28, 2010
    Messages:
    788
    Likes Received:
    99
    Trophy Points:
    102
    Location:
    TN, USA
    Tablet / Device:
    Mid7015
    fat32 filesystems do not support unix-style permissions. you'd have to reformat it ext[2,3,4].
     
  3. Ridgeland

    Ridgeland Member

    Joined:
    Dec 14, 2010
    Messages:
    285
    Likes Received:
    9
    Trophy Points:
    87
    Location:
    Ridgeland, WI, USA
    Tablet / Device:
    Coby MID7015-4G
    I forgot that! It's Linux so I was expected anything but FAT, my bad.
    Wonder if attrib -w works? I'm not sure how to do that without a MS PC.
    Oh well redundant files for safety.
    Thanks for the answer.
     

Share This Page

Search tags for this page
android cannot chmod
,
android cant chmod
,
android chmod
,
android chmod 755 not working
,
android chmod 777 not working
,

android chmod not working

,
android chmod not working sd card
,
android m chmod sdcard
,
android sdcard chmod 777
,
android sdcard chmod not working
,
bluestacks cannot chmod of sdcard
,
cannot chmod android file in sdcard
,
chmod android
,
chmod android sdcard
,
chmod android sdcard not working
,
chmod files on sdcard android
,
chmod not work sdcard
,
chmod sdcard
,
goodsync android cannot chmod temporary file chmod
,
how to chmod android