1 |
On Jul 14, 2012 6:48 AM, "Joseph" <syscon780@×××××.com> wrote: |
2 |
> |
3 |
> I've a usbstick formated with ext2 file system and must have use it on a |
4 |
different computer because when mount the usb stick I get file ownership: |
5 |
> -rw-r--r-- 1 test users 692926 Jan 7 2012 asterisk_1_4_39.tar.gz |
6 |
> -rw-r--r-- 1 test users 8502 Jul 21 2011 asterisk-help.txt |
7 |
> -rw-r--r-- 1 joseph 1000 22696 Mar 26 18:27 |
8 |
asus_10-0-0-1_shaw_nvrambak.bin |
9 |
> -rw-r--r-- 1 joseph 1000 22459 Mar 26 16:16 |
10 |
asus_home_10-10-0-1.nvrambak.bin |
11 |
> |
12 |
> The ownership should be joseph:users but when I try to change (as root) |
13 |
it I get : Read-only file system |
14 |
> chown -R joseph:users /media/stick/* |
15 |
> chown: changing ownership of `/media/stick/asterisk_1_4_39.tar.gz': |
16 |
Read-only file system |
17 |
> chown: changing ownership of `/media/stick/asterisk-help.txt': Read-only |
18 |
file system |
19 |
> |
20 |
> How to deal with it? |
21 |
> I the past changing the ownership always worked from root. |
22 |
> |
23 |
> -- |
24 |
> Joseph |
25 |
> |
26 |
|
27 |
The file system probably has errors. See dmesg. Also, run fsck -vfy |
28 |
/dev/usbdev (replace usbdev with sdc or whatever). |
29 |
|
30 |
That should fix the problem. |