[英]Copy to SD Card changes the Execute permissions (Linux)
我在 /tmp 上有一个文件
-rw-r--r-- 1 root root 6782 Jun 30 11:20 DATA_00.csv
当我将其复制到 SD 卡时
cp /tmp/DATA_00.csv /mnt/mmccard/
它的执行标志已设置!
-rwxr-xr-x 1 root root 6782 Jun 30 11:21 DATA_00.csv
正常吗?
在 Linux 2.6.20 上;)
@koyaanisqatsi 嗨,我没有关于 fdisk -l 的新信息事实上我不知道为什么不只有一个分区。
/mnt/mmccard type vfat (rw,sync,fmask=0022,dmask=0022,codepage=cp437,iocharset=iso8859-1)
Disk /dev/mmcblk0p1: 8064 MB, 8064598016 bytes
4 heads, 16 sectors/track, 246112 cylinders
Units = cylinders of 64 * 512 = 32768 bytes
Device Boot Start End Blocks Id System
/dev/mmcblk0p1p1 ? 29216898 55800336 850670010+ 7a Unknown
Partition 1 does not end on cylinder boundary.
/dev/mmcblk0p1p2 ? 25540106 55528404 959625529 72 Unknown
Partition 2 does not end on cylinder boundary.
/dev/mmcblk0p1p3 ? 1 1 0 0 Empty
Partition 3 does not end on cylinder boundary.
/dev/mmcblk0p1p4 438273 438279 221 0 Empty
Partition 4 does not end on cylinder boundary.
这是用 w10 格式化为 FAT32
是 - 取决于 SD 卡的文件系统。 我猜有点像 MS FAT16/FAT32?
查看没有任何选项/参数的命令mount
。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.