Change file permissions on hfs drive

The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP


.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty margin-bottom:0;







up vote
0
down vote

favorite












I was unable to boot macOS on my mac laptop. I took the drive out to try recover my documents un my ubuntu machine. I installed



sudo apt-get install hfsprogs
sudo apt-get install hfsplus


So I could access the drive.
I then mounted the drive with read and write permissions.



sudo mount -t hfsplus -o force, rw /dev/sdb2 /media/user/MAC


It was somewhat a success as I can view and read some of my Docuemnt folders. However to access others, I would need to change the ownership and access of the folders. I tried with



 sudo chown user /media/user/MAC (my user account is 'user')

but im greeted with:

chown: changing ownership of '/media/user/MAC/Applications/Adobe Dreamweaver CS6/Adobe Dreamweaver CS6.app/Contents/Frameworks/Xalan.framework': Read-only file system
chown: changing ownership of '/media/user/MAC/Applications/Adobe Dreamweaver CS6/Adobe Dreamweaver CS6.app/Contents/Frameworks/Xerces.framework/Resources': Read-only file system
chown: changing ownership of '/media/user/MAC/Applications/Adobe Dreamweaver CS6/Adobe Dreamweaver CS6.app/Contents/Frameworks/Xerces.framework/Versions/A/_CodeSignature/CodeResources': Read-only file system


So i think to run fsck but that fails.



user@ubuntu: sudo fsck.hfsplus /dev/sdb2
** /dev/sdb2
** Checking HFS Plus volume.
** Checking Extents Overflow file.
Invalid index key
(3, 198)
** Repairing volume.
** Rechecking volume.
** Checking HFS Plus volume.
** Checking Extents Overflow file.
Invalid index key
(3, 198)
** Repairing volume.
** Rechecking volume.
** Checking HFS Plus volume.
** Checking Extents Overflow file.
Invalid index key
(3, 198)
** Repairing volume.
** Rechecking volume.
** Checking HFS Plus volume.
** Checking Extents Overflow file.
Invalid index key
(3, 198)


Anything else I could try?
I realise I will need to re-install macOS, but I just want to recover some files. Theyre there, I just cant access them due to permission.







share|improve this question



















  • Not permissions - you have the drive mounted read-only. See chown: changing ownership of '/media/user/MAC/Applications/Adobe Dreamweaver CS6/Adobe Dreamweaver CS6.app/Contents/Frameworks/Xalan.framework': Read-only file system
    – waltinator
    12 hours ago










  • I mounted the drive with "mount -t hfsplus -o force, rw" the rw being read write.
    – Jake
    8 hours ago










  • that's how you asked for it to be mounted. Look at mount | grep MAC.
    – waltinator
    4 hours ago
















up vote
0
down vote

favorite












I was unable to boot macOS on my mac laptop. I took the drive out to try recover my documents un my ubuntu machine. I installed



sudo apt-get install hfsprogs
sudo apt-get install hfsplus


So I could access the drive.
I then mounted the drive with read and write permissions.



sudo mount -t hfsplus -o force, rw /dev/sdb2 /media/user/MAC


It was somewhat a success as I can view and read some of my Docuemnt folders. However to access others, I would need to change the ownership and access of the folders. I tried with



 sudo chown user /media/user/MAC (my user account is 'user')

but im greeted with:

chown: changing ownership of '/media/user/MAC/Applications/Adobe Dreamweaver CS6/Adobe Dreamweaver CS6.app/Contents/Frameworks/Xalan.framework': Read-only file system
chown: changing ownership of '/media/user/MAC/Applications/Adobe Dreamweaver CS6/Adobe Dreamweaver CS6.app/Contents/Frameworks/Xerces.framework/Resources': Read-only file system
chown: changing ownership of '/media/user/MAC/Applications/Adobe Dreamweaver CS6/Adobe Dreamweaver CS6.app/Contents/Frameworks/Xerces.framework/Versions/A/_CodeSignature/CodeResources': Read-only file system


So i think to run fsck but that fails.



user@ubuntu: sudo fsck.hfsplus /dev/sdb2
** /dev/sdb2
** Checking HFS Plus volume.
** Checking Extents Overflow file.
Invalid index key
(3, 198)
** Repairing volume.
** Rechecking volume.
** Checking HFS Plus volume.
** Checking Extents Overflow file.
Invalid index key
(3, 198)
** Repairing volume.
** Rechecking volume.
** Checking HFS Plus volume.
** Checking Extents Overflow file.
Invalid index key
(3, 198)
** Repairing volume.
** Rechecking volume.
** Checking HFS Plus volume.
** Checking Extents Overflow file.
Invalid index key
(3, 198)


Anything else I could try?
I realise I will need to re-install macOS, but I just want to recover some files. Theyre there, I just cant access them due to permission.







share|improve this question



















  • Not permissions - you have the drive mounted read-only. See chown: changing ownership of '/media/user/MAC/Applications/Adobe Dreamweaver CS6/Adobe Dreamweaver CS6.app/Contents/Frameworks/Xalan.framework': Read-only file system
    – waltinator
    12 hours ago










  • I mounted the drive with "mount -t hfsplus -o force, rw" the rw being read write.
    – Jake
    8 hours ago










  • that's how you asked for it to be mounted. Look at mount | grep MAC.
    – waltinator
    4 hours ago












up vote
0
down vote

favorite









up vote
0
down vote

favorite











I was unable to boot macOS on my mac laptop. I took the drive out to try recover my documents un my ubuntu machine. I installed



sudo apt-get install hfsprogs
sudo apt-get install hfsplus


So I could access the drive.
I then mounted the drive with read and write permissions.



sudo mount -t hfsplus -o force, rw /dev/sdb2 /media/user/MAC


It was somewhat a success as I can view and read some of my Docuemnt folders. However to access others, I would need to change the ownership and access of the folders. I tried with



 sudo chown user /media/user/MAC (my user account is 'user')

but im greeted with:

chown: changing ownership of '/media/user/MAC/Applications/Adobe Dreamweaver CS6/Adobe Dreamweaver CS6.app/Contents/Frameworks/Xalan.framework': Read-only file system
chown: changing ownership of '/media/user/MAC/Applications/Adobe Dreamweaver CS6/Adobe Dreamweaver CS6.app/Contents/Frameworks/Xerces.framework/Resources': Read-only file system
chown: changing ownership of '/media/user/MAC/Applications/Adobe Dreamweaver CS6/Adobe Dreamweaver CS6.app/Contents/Frameworks/Xerces.framework/Versions/A/_CodeSignature/CodeResources': Read-only file system


So i think to run fsck but that fails.



user@ubuntu: sudo fsck.hfsplus /dev/sdb2
** /dev/sdb2
** Checking HFS Plus volume.
** Checking Extents Overflow file.
Invalid index key
(3, 198)
** Repairing volume.
** Rechecking volume.
** Checking HFS Plus volume.
** Checking Extents Overflow file.
Invalid index key
(3, 198)
** Repairing volume.
** Rechecking volume.
** Checking HFS Plus volume.
** Checking Extents Overflow file.
Invalid index key
(3, 198)
** Repairing volume.
** Rechecking volume.
** Checking HFS Plus volume.
** Checking Extents Overflow file.
Invalid index key
(3, 198)


Anything else I could try?
I realise I will need to re-install macOS, but I just want to recover some files. Theyre there, I just cant access them due to permission.







share|improve this question











I was unable to boot macOS on my mac laptop. I took the drive out to try recover my documents un my ubuntu machine. I installed



sudo apt-get install hfsprogs
sudo apt-get install hfsplus


So I could access the drive.
I then mounted the drive with read and write permissions.



sudo mount -t hfsplus -o force, rw /dev/sdb2 /media/user/MAC


It was somewhat a success as I can view and read some of my Docuemnt folders. However to access others, I would need to change the ownership and access of the folders. I tried with



 sudo chown user /media/user/MAC (my user account is 'user')

but im greeted with:

chown: changing ownership of '/media/user/MAC/Applications/Adobe Dreamweaver CS6/Adobe Dreamweaver CS6.app/Contents/Frameworks/Xalan.framework': Read-only file system
chown: changing ownership of '/media/user/MAC/Applications/Adobe Dreamweaver CS6/Adobe Dreamweaver CS6.app/Contents/Frameworks/Xerces.framework/Resources': Read-only file system
chown: changing ownership of '/media/user/MAC/Applications/Adobe Dreamweaver CS6/Adobe Dreamweaver CS6.app/Contents/Frameworks/Xerces.framework/Versions/A/_CodeSignature/CodeResources': Read-only file system


So i think to run fsck but that fails.



user@ubuntu: sudo fsck.hfsplus /dev/sdb2
** /dev/sdb2
** Checking HFS Plus volume.
** Checking Extents Overflow file.
Invalid index key
(3, 198)
** Repairing volume.
** Rechecking volume.
** Checking HFS Plus volume.
** Checking Extents Overflow file.
Invalid index key
(3, 198)
** Repairing volume.
** Rechecking volume.
** Checking HFS Plus volume.
** Checking Extents Overflow file.
Invalid index key
(3, 198)
** Repairing volume.
** Rechecking volume.
** Checking HFS Plus volume.
** Checking Extents Overflow file.
Invalid index key
(3, 198)


Anything else I could try?
I realise I will need to re-install macOS, but I just want to recover some files. Theyre there, I just cant access them due to permission.









share|improve this question










share|improve this question




share|improve this question









asked 17 hours ago









Jake

1084




1084











  • Not permissions - you have the drive mounted read-only. See chown: changing ownership of '/media/user/MAC/Applications/Adobe Dreamweaver CS6/Adobe Dreamweaver CS6.app/Contents/Frameworks/Xalan.framework': Read-only file system
    – waltinator
    12 hours ago










  • I mounted the drive with "mount -t hfsplus -o force, rw" the rw being read write.
    – Jake
    8 hours ago










  • that's how you asked for it to be mounted. Look at mount | grep MAC.
    – waltinator
    4 hours ago
















  • Not permissions - you have the drive mounted read-only. See chown: changing ownership of '/media/user/MAC/Applications/Adobe Dreamweaver CS6/Adobe Dreamweaver CS6.app/Contents/Frameworks/Xalan.framework': Read-only file system
    – waltinator
    12 hours ago










  • I mounted the drive with "mount -t hfsplus -o force, rw" the rw being read write.
    – Jake
    8 hours ago










  • that's how you asked for it to be mounted. Look at mount | grep MAC.
    – waltinator
    4 hours ago















Not permissions - you have the drive mounted read-only. See chown: changing ownership of '/media/user/MAC/Applications/Adobe Dreamweaver CS6/Adobe Dreamweaver CS6.app/Contents/Frameworks/Xalan.framework': Read-only file system
– waltinator
12 hours ago




Not permissions - you have the drive mounted read-only. See chown: changing ownership of '/media/user/MAC/Applications/Adobe Dreamweaver CS6/Adobe Dreamweaver CS6.app/Contents/Frameworks/Xalan.framework': Read-only file system
– waltinator
12 hours ago












I mounted the drive with "mount -t hfsplus -o force, rw" the rw being read write.
– Jake
8 hours ago




I mounted the drive with "mount -t hfsplus -o force, rw" the rw being read write.
– Jake
8 hours ago












that's how you asked for it to be mounted. Look at mount | grep MAC.
– waltinator
4 hours ago




that's how you asked for it to be mounted. Look at mount | grep MAC.
– waltinator
4 hours ago















active

oldest

votes











Your Answer







StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "89"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);

else
createEditor();

);

function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
convertImagesToLinks: true,
noModals: false,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);



);








 

draft saved


draft discarded


















StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1062250%2fchange-file-permissions-on-hfs-drive%23new-answer', 'question_page');

);

Post as a guest



































active

oldest

votes













active

oldest

votes









active

oldest

votes






active

oldest

votes










 

draft saved


draft discarded


























 


draft saved


draft discarded














StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1062250%2fchange-file-permissions-on-hfs-drive%23new-answer', 'question_page');

);

Post as a guest













































































Popular posts from this blog

pylint3 and pip3 broken

Missing snmpget and snmpwalk

How to enroll fingerprints to Ubuntu 17.10 with VFS491