|
|
06-07-2009
, 04:18 PM
|
|
|
Posts: 1,905 |
Thanked: 3,303 times |
Joined on Jan 2009
@ Barcelona
|
#3
|
| The Following 4 Users Say Thank You to javispedro For This Useful Post: | ||
|
|
06-08-2009
, 06:41 AM
|
|
Posts: 3,841 |
Thanked: 1,071 times |
Joined on Nov 2006
|
#4
|
| The Following User Says Thank You to TA-t3 For This Useful Post: | ||
|
|
06-08-2009
, 06:46 AM
|
|
Posts: 542 |
Thanked: 116 times |
Joined on Sep 2008
@ 52 N, 6 E
|
#5
|
You can't change that in /etc/fstab anyway (unlike a desktop file that setting is ephemeral), there is a script in /usr/sbin that does the actual mounting (look for mmc something). But if you change that script then _all_ files on the card will have the exec bit set, you can't just set it for just the files you want.
The better option is to go for the 'clone to sd card' trick.
|
|
06-08-2009
, 07:04 AM
|
|
Posts: 3,841 |
Thanked: 1,071 times |
Joined on Nov 2006
|
#6
|
| The Following User Says Thank You to TA-t3 For This Useful Post: | ||
|
|
06-08-2009
, 07:19 AM
|
|
Posts: 542 |
Thanked: 116 times |
Joined on Sep 2008
@ 52 N, 6 E
|
#7
|
You can: look for the "fmask" mount option or just set it to "0033" (rwx for owner, r-- for rest).
#!/bin/sh mount -t vfat -o rw,noauto,nodev,nosuid,noatime,nodiratime,utf8,uid=29999,shortname=mixed,dmask=000,fmask=0133 "$1" "$2" > /dev/null
|
|
06-08-2009
, 07:29 AM
|
|
|
Posts: 1,905 |
Thanked: 3,303 times |
Joined on Jan 2009
@ Barcelona
|
#8
|
| The Following 2 Users Say Thank You to javispedro For This Useful Post: | ||
|
|
06-10-2009
, 02:51 PM
|
|
Posts: 542 |
Thanked: 116 times |
Joined on Sep 2008
@ 52 N, 6 E
|
#9
|
![]() |
| Thread Tools | Search this Thread |
|
How can I set the mmc1 in /etc/fstab that all files are created with rwx r x r x ?
The format is FAT32.
Or can I reformat it to ext3 ?
Nokia N810 FW version 5.2008.43-7
iPad 2 (iOS 4.3.2) Macbook Pro (10.6.6)
Nokia 5800 phone FW 62.0.0125