[英]How to remove file permissions on linux from an external hard drive?
My macbook recently died and I am currently trying to figure out how to copy my data. 我的Macbook最近去世了,我目前正试图找出如何复制数据的方法。
What I did was, I took out the hard drive, put it in an enclosure and plugged it in to my other laptop that runs linux. 我所做的就是,取出硬盘驱动器,将其放入机箱中,然后将其插入运行Linux的另一台笔记本电脑中。
The problem is, I cannot copy files from the hard drive due to file permissions. 问题是,由于文件许可权,我无法从硬盘驱动器复制文件。 I tried to access the hard drive as root.
我试图以根用户身份访问硬盘。 But I still cannot copy files.
但是我仍然无法复制文件。
How do I remove file permissions from the harddrive? 如何从硬盘驱动器中删除文件权限?
To make the partition accessible under Linux run: 要使分区在Linux下可访问,请运行:
sudo chmod -R 777 /media/<drive-name>/
this should make the mac drive accessible for you. 这应该使您可以访问Mac驱动器。
Changing ownership would do about the same, but you need not worry about it. 更改所有权可以达到相同目的,但是您不必担心。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.