Go Back   The macosxhints Forums > OS X Help Requests > System



Reply
 
Thread Tools Rate Thread Display Modes
Old 04-12-2012, 01:41 PM   #1
vanakaru
All Star
 
Join Date: Oct 2006
Posts: 634
How to make my optibay HDD totally Read and Writeby me - a new user?

I have brand new logic board. And I have a new account - semi fresh start so to speak. I run SnowLeo.
All is well only my optibay HDD is not writable any more. Yes, I can change the ownership of the entire volume, each folder and each file. But I have 20000 files on it in 100 folders that I just can not go through the ritual one by one.
vanakaru is offline   Reply With Quote
Old 04-12-2012, 04:59 PM   #2
trevor
Moderator
 
Join Date: Jun 2003
Location: Boulder, CO USA
Posts: 19,804
What filesystem are you using on this Optibay drive? Do you have any software installed on your Mac to give you NTFS read/write ability? Did you before you switched motherboards?

Can we see the results of the following commands copy/pasted in your Terminal?

ls -alOe /Volumes
diskutil list
df -aH
id
echo "done"


Trevor
trevor is offline   Reply With Quote
Old 04-13-2012, 01:50 AM   #3
vanakaru
All Star
 
Join Date: Oct 2006
Posts: 634
This is the OPTI drive Mac Extended - not Journaled I have problems. When I got new logic board I replaced the system HDD with emptied SSD128 and CarbonCopyCloned entire previous HDD(that worked with the same setup HDD+OPTI) to it.
Actually I did not change the user. I erased the drive that had different user.
On this system I have two users; ”erki” that I use daily and ”erkikannus” that I use for troubleshooting. I think at this point I would like to get your opinion about my setup (honestly I have no idea about correct Permissions/Ownership/root setup)


Code:
Last login: Fri Apr 13 09:30:11 on ttys000
ssd-4:~ erki$ ls -alOe /Volumes
total 8
drwxrwxrwt@  4 root        admin  hidden  136 13 apr   09:38 .
 0: group:everyone deny add_file,add_subdirectory,directory_inherit,only_inherit
drwxrwxr-t@ 32 root        admin  -      1156 12 apr   16:02 ..
drwxrwxr-x@ 54 erkikannus  staff  -      1904 12 apr   14:18 OPTI
 0: 68E55495-7F17-424C-B4E8-5281B5702EDA allow list,add_file,search,add_subdirectory,delete_child,readattr,writeattr,readextattr,writeextattr,readsecurity
 1: group:admin allow list,add_file,search,add_subdirectory,delete_child,readattr,writeattr,readextattr,writeextattr,readsecurity
lrwxr-xr-x   1 root        admin  -         1 12 apr   16:01 SSD128 -> /
ssd-4:~ erki$ diskutil list
/dev/disk0
   #:                       TYPE NAME                    SIZE       IDENTIFIER
   0:      GUID_partition_scheme                        *128.0 GB   disk0
   1:                        EFI                         209.7 MB   disk0s1
   2:                  Apple_HFS SSD128                  127.7 GB   disk0s2
/dev/disk1
   #:                       TYPE NAME                    SIZE       IDENTIFIER
   0:      GUID_partition_scheme                        *750.2 GB   disk1
   1:                        EFI                         209.7 MB   disk1s1
   2:                  Apple_HFS OPTI                    749.8 GB   disk1s2
ssd-4:~ erki$ df -aH
Filesystem      Size   Used  Avail Capacity  Mounted on
/dev/disk0s2    128G    38G    89G    31%    /
devfs           114k   114k     0B   100%    /dev
/dev/disk1s2    750G   312G   438G    42%    /Volumes/OPTI
map -hosts        0B     0B     0B   100%    /net
map auto_home     0B     0B     0B   100%    /home
ssd-4:~ erki$ id
uid=502(erki) gid=20(staff) groups=20(staff),101(com.apple.sharepoint.group.1),204(_developer),100(_lpoperator),98(_lpadmin),80(admin),61(localaccounts),12(everyone),401(com.apple.access_screensharing)
ssd-4:~ erki$ echo "done"
done
ssd-4:~ erki$

Last edited by vanakaru; 04-13-2012 at 01:58 AM.
vanakaru is offline   Reply With Quote
Old 04-13-2012, 04:04 PM   #4
trevor
Moderator
 
Join Date: Jun 2003
Location: Boulder, CO USA
Posts: 19,804
I don't actually see what is causing a problem with /Volumes/OPTI. It's got two ACLs on it, one apparently from your old deleted user, but they are both of the 'allow' variety, so shouldn't block anything. If you'd like to strip the ACLs off anyway, you can use the Terminal command

sudo chmod -N /Volumes/OPTI
echo "done"


The drive is owned by your user erkikannus, while you are currently logged into your user erki, but the drive has read and write ability for the staff group, and erki is in the staff group. So there shouldn't be anything blocking you there either.

If you wanted to make the drive owned by erki, you could use the command

sudo chown erki /Volumes/OPTI
ls -alOe /Volumes
echo "done"


Trevor
trevor is offline   Reply With Quote
Old 04-14-2012, 01:50 AM   #5
vanakaru
All Star
 
Join Date: Oct 2006
Posts: 634
Thank you. Actually After Effects did not allow to write to the folder on OPTI. It works fine now.
vanakaru is offline   Reply With Quote
Old 04-18-2012, 02:40 AM   #6
vanakaru
All Star
 
Join Date: Oct 2006
Posts: 634
Well, it seemed to be OK but not yet.
When I tried to unzip some files to this HDD I do not see it at the location I put it. I redid the unzipping and the files appear to be in the folder on this HDD and I was asked to overwrite them. So it seems that some folders are not the way they need to be. Some files are invisible to me.
However AE can export files without a problem.
vanakaru is offline   Reply With Quote
Reply

Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump



All times are GMT -5. The time now is 04:24 AM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.
Site design © IDG Consumer & SMB; individuals retain copyright of their postings
but consent to the possible use of their material in other areas of IDG Consumer & SMB.