Change file permissions on hfs drive
![Creative The name of the picture](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgO9GURib1T8z7lCwjOGLQaGtrueEthgQ8LO42ZX8cOfTqDK4jvDDpKkLFwf2J49kYCMNW7d4ABih_XCb_2UXdq5fPJDkoyg7-8g_YfRUot-XnaXkNYycsNp7lA5_TW9td0FFpLQ2APzKcZ/s1600/1.jpg)
![Creative The name of the picture](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhYQ0N5W1qAOxLP7t7iOM6O6AzbZnkXUy16s7P_CWfOb5UbTQY_aDsc727chyphenhyphen5W4IppVNernMMQeaUFTB_rFzAd95_CDt-tnwN-nBx6JyUp2duGjPaL5-VgNO41AVsA_vu30EJcipdDG409/s400/Clash+Royale+CLAN+TAG%2523URR8PPP.png)
.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.
mount macosx copy chown hfs+
add a comment |Â
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.
mount macosx copy chown hfs+
Not permissions - you have the drive mounted read-only. Seechown: 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 atmount | grep MAC
.
â waltinator
4 hours ago
add a comment |Â
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.
mount macosx copy chown hfs+
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.
mount macosx copy chown hfs+
asked 17 hours ago
Jake
1084
1084
Not permissions - you have the drive mounted read-only. Seechown: 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 atmount | grep MAC
.
â waltinator
4 hours ago
add a comment |Â
Not permissions - you have the drive mounted read-only. Seechown: 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 atmount | 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
add a comment |Â
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
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
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
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