|
|
#501 |
|
Prospect
Join Date: Oct 2011
Posts: 3
|
Regarding the above post here is the results of ls -alOe /Volumes
id diskutil list df echo "done" MBP and HD are the disks in question. MBP is my macbook pro which I've accessed via firewire on my flatmates imac. HD is an external drive with custom permissions. Last login: Tue Oct 18 20:05:30 on ttys000 192-168-1-3:~ lyndamills$ ls -alOe /Volumes total 13 drwxrwxrwt@ 10 root admin hidden 340 18 Oct 19:57 . 0: group:everyone deny add_file,add_subdirectory,directory_inherit,only_inherit drwxrwxr-t 31 root admin - 1122 18 Oct 19:57 .. drwxrwxr-x 10 lyndamills staff - 408 18 Oct 17:29 FAT drw-rw-r-- 41 lyndamills staff uchg 1462 13 Oct 22:22 HD dr-xr-xr-x 2 lyndamills staff - 1848 18 Oct 19:57 Iluminating Your Heart's Desire drwxrwxrwx 35 lyndamills staff - 1258 13 Oct 21:40 MBP drwxrwxr-t 26 lyndamills staff - 952 13 Oct 19:19 Mac OS X Install DVD drwxrwxr-t 25 lyndamills staff - 918 15 Aug 2009 Mac OS X Install DVD 1 lrwxr-xr-x 1 root admin - 1 18 Oct 19:57 Macintosh HD -> / drwxrwxr-x+ 34 root admin - 1224 13 Oct 21:40 New Mac Backup 0: B2307AC5-0A22-48D3-BF9E-90A1EBBB897C allow list,add_file,search,add_subdirectory,delete_child,readattr,writeattr,readextattr,writeextattr,readsecurity 192-168-1-3:~ lyndamills$ id uid=501(lyndamills) gid=20(staff) groups=20(staff),204(_developer),100(_lpoperator),98(_lpadmin),81(_appserveradm),80(admin),79(_appserverusr),61(localacc ounts),12(everyone),401(com.apple.access_screensharing),402(com.apple.sharepoint.group.1) 192-168-1-3:~ lyndamills$ diskutil list /dev/disk0 #: TYPE NAME SIZE IDENTIFIER 0: GUID_partition_scheme *500.1 GB disk0 1: EFI 209.7 MB disk0s1 2: Apple_HFS Macintosh HD 499.8 GB disk0s2 /dev/disk1 #: TYPE NAME SIZE IDENTIFIER 0: CD_partition_scheme Iluminating Your Heart's Desire *831.7 MB disk1 1: CD_DA 190.6 MB disk1s1 2: CD_DA 184.7 MB disk1s2 3: CD_DA 257.8 MB disk1s3 4: CD_DA 198.7 MB disk1s4 /dev/disk2 #: TYPE NAME SIZE IDENTIFIER 0: GUID_partition_scheme *500.1 GB disk2 1: EFI 209.7 MB disk2s1 2: Apple_HFS HD 499.8 GB disk2s2 /dev/disk3 #: TYPE NAME SIZE IDENTIFIER 0: GUID_partition_scheme *500.1 GB disk3 1: EFI 209.7 MB disk3s1 2: Apple_HFS MBP 499.8 GB disk3s2 /dev/disk4 #: TYPE NAME SIZE IDENTIFIER 0: Apple_partition_scheme *7.8 GB disk4 1: Apple_partition_map 30.7 KB disk4s1 2: Apple_Driver_ATAPI 1.0 GB disk4s2 3: Apple_HFS Mac OS X Install DVD 6.7 GB disk4s3 /dev/disk5 #: TYPE NAME SIZE IDENTIFIER 0: GUID_partition_scheme *500.1 GB disk5 1: EFI 209.7 MB disk5s1 2: Apple_HFS Mac OS X Install DVD 10.0 GB disk5s2 3: Apple_HFS FAT 340.1 GB disk5s3 4: Apple_HFS New Mac Backup 149.4 GB disk5s4 192-168-1-3:~ lyndamills$ df Filesystem 512-blocks Used Available Capacity Mounted on /dev/disk0s2 976101344 539162512 436426832 56% / devfs 242 242 0 100% /dev map -hosts 0 0 0 100% /net map auto_home 0 0 0 100% /home /dev/disk1 1414548 1414548 0 100% /Volumes/Iluminating Your Heart's Desire /dev/disk2s2 976101344 907312848 68788496 93% /Volumes/HD /dev/disk5s2 19531256 14048088 5483168 72% /Volumes/Mac OS X Install DVD /dev/disk4s3 13162144 12993304 168840 99% /Volumes/Mac OS X Install DVD 1 /dev/disk5s3 664273168 213310152 450963016 33% /Volumes/FAT /dev/disk5s4 291772632 155795800 135976832 54% /Volumes/New Mac Backup /dev/disk3s2 976101344 156464496 819636848 17% /Volumes/MBP 192-168-1-3:~ lyndamills$ echo "done" |
|
|
|
|
|
#502 |
|
Hall of Famer
Join Date: Feb 2003
Location: Brighton, UK
Posts: 4,123
|
The external is easy to fix. Terminal Command.
Code:
sudo chflags nouchg /Volumes/HD However it looks like you have tried to reset permissions on boot drive (MBP) manually already and probably messed up permissions on whole disk if you used "apply to enclosed items".Did you try and fix that ? Permissions on boot drive should be Code:
sudo chown root:admin /Volumes/MBP ; sudo chown 775 /Volumes/MBP |
|
|
|
|
|
#503 | |||||||||||||||||||||||
|
Hall of Famer
Join Date: Apr 2002
Posts: 3,315
|
The external called "HD" will need additional changes (due to drw-rw-r--). And there is an error in the "MBP" part (the second chown should be chmod). To summarize... sudo chflags nouchg /Volumes/HD sudo chown 0:80 /Volumes/MBP sudo chmod 775 /Volumes/HD /Volumes/MBP
__________________
chown -R us /your\ base/ -HI- . |
|||||||||||||||||||||||
|
|
|
|
|
#504 |
|
Hall of Famer
Join Date: Feb 2003
Location: Brighton, UK
Posts: 4,123
|
@Hal, I am under the impression that when you remove the uchg flag the execute bit comes back.
Yes the chown should have been chmod. Doh ! |
|
|
|
|
|
#505 | |||||||||||||||||||||||
|
Hall of Famer
Join Date: Apr 2002
Posts: 3,315
|
Nope... two different animals altogether. [e.g., did you also think that locking an item would undo a file's ability to execute or a folder's ability to be viewed?]
__________________
chown -R us /your\ base/ -HI- . |
|||||||||||||||||||||||
|
|
|
|
|
#506 |
|
Guest
Posts: n/a
|
External HDD 1.5 tb (Maxtor) issues
I have read through this thread thinking that it might be the place to find the solution to my problem...however I am really not all that advanced with command prompt and my mac...so I do apologies if this it the wrong place for my question or if it has been answered else where.
I will be as concise as possible: Mac details: MacBook Pro 2.2 GHz Intel Core I7 4 Gb Ram OS x Version 10.7.2 External HDD: Maxtor Basics Desktop Media 1.5 TB Partitioned: 200 GB time machine 1.3 TB Media etc... Problem: I was copying a folder of music (aprox 70mb) over to my HDD for back up. After 5 min the file transfer appeared to have crashed at 99%. I decided to eject the drive in an attempt to re-boot it, however it would not allow me to eject. So in a naive manner I yanked the cable. Re-inserted and it appeared to load fine. Both drives were displaying on the desktop however when I went to open the media partition, the screen flickered and crashed the file explorer window in finder. I can however access my time machine drive with no issues. I have tried disc utility to repair and verify, however this has not solved the problem. I have tried the drive on a windows PC and it allows me access to the drive and all my files and folders are still there. plus I have also managed to drag and drop files on to the drive icon and copy files to the drive. I have tired all the steps "sudo chflags nouchg..." with no result. Any one got any ideas? Pauls-MacBook-Pro:~ productdesigner_1$ ls -alO /Volumes total 296 drwxrwxrwt@ 7 root admin hidden 238 20 Oct 23:19 . drwxr-xr-x 30 root wheel - 1088 12 Oct 23:34 .. drwxrwxrwx 1 productdesigner_1 staff - 16384 20 Oct 13:36 BOOTCAMP lrwxr-xr-x 1 root admin - 1 20 Oct 19:06 Macintosh HD -> / drwxrwxrwx 0 root wheel - 0 20 Oct 23:20 MobileBackups drwxrwxrwx 1 productdesigner_1 staff - 131072 31 Dec 1979 Paul's HDD drwxrwxr-x 14 productdesigner_1 staff - 544 13 Oct 23:23 Time Machine Thanks in advance! Paul |
|
|
|
#507 |
|
Guest
Posts: n/a
|
Slight Varient
I have a similar situation to the others here. My only difference is that the drive in question is a NAS, and I'm not sure what kind of an impact that has on any of this.
I have "custom" permissions on all of the files located on the NAS. Some of the directories allow me full access to rename, copy, add in files, take out files, etc. While others completely lock me out from anything but reading the files. I am confused to say the least. I have tried to change the permissions (if thats even the problem) on several of the files, to no avail. I'm just kind of at a loss after hours of searching and trying things that I've found Please help ;( Ted-Riolos-MacBook-Pro:~ tedriolo$ ls -alO /Volumes total 104 drwxrwxrwt@ 10 root admin hidden 340 Oct 25 00:54 . drwxr-xr-x 33 root wheel - 1190 Oct 24 23:21 .. drwxr-xr-x 29 root wheel - 1054 Oct 12 15:56 Backup SSD drwxrwxrwx 0 root wheel - 0 Oct 25 01:04 MobileBackups drwxrwxr-x 186 tedriolo staff - 6392 Oct 24 11:05 Motorcars drwxrwxrwx 4 tedriolo staff - 16384 Oct 25 00:59 Movies lrwxr-xr-x 1 root admin - 1 Oct 24 23:21 SSD -> / drwxrwxr-x 24 tedriolo staff - 884 Oct 20 18:19 Spinning HD drwxrwxrwx 41 tedriolo staff - 16384 Oct 25 01:00 Television drwxrwxrwx 7 tedriolo staff - 16384 Oct 24 22:46 Volume_1 Ted-Riolos-MacBook-Pro:~ tedriolo$ id uid=501(tedriolo) gid=20(staff) groups=20(staff),403(com.apple.sharepoint.group.2),402(com.apple.sharepoint.group.1),401(com.apple.access_screensharing) ,12(everyone),33(_appstore),61(localaccounts),79(_appserverusr),80(admin),81(_appserveradm),98(_lpadmin),100(_lpoperator ),204(_developer) Ted-Riolos-MacBook-Pro:~ tedriolo$ echo "done" done Ted-Riolos-MacBook-Pro:~ tedriolo$ |
|
|
|
#508 |
|
Guest
Posts: n/a
|
help please
naitdoggs-MacBook:~ naitdogg$ ls -alOe /Volumes
total 8 drwxrwxrwt@ 5 root admin hidden 170 Nov 20 00:13 . 0: group:everyone deny add_file,add_subdirectory,directory_inherit,only_inherit drwxrwxr-x 30 root admin - 1088 Nov 18 02:20 .. lrwxr-xr-x 1 root admin - 1 Nov 18 02:31 Macintosh HD -> / drwxr-xr-x 1 naitdogg staff - 65536 Sep 10 18:26 WD Backup drwxr-xr-x@ 15 naitdogg staff - 510 Nov 17 18:15 luda mix GIGGAWATTS naitdoggs-MacBook:~ naitdogg$ its saying my CD and my WD t2 external back up are read only and im not sure how to repair please help |
|
|
|
#509 |
|
Guest
Posts: n/a
|
naitdoggs-MacBook:~ naitdogg$ ls -alO /Volumes
total 8 drwxrwxrwt@ 5 root admin hidden 170 Nov 21 18:07 . drwxrwxr-x 30 root admin - 1088 Nov 18 02:20 .. lrwxr-xr-x 1 root admin - 1 Nov 21 18:07 Macintosh HD -> / drwxr-xr-x 1 naitdogg staff - 65536 Sep 10 18:26 WD Backup drwxr-xr-x@ 15 naitdogg staff - 510 Nov 17 18:15 luda mix GIGGAWATTS naitdoggs-MacBook:~ naitdogg$ please help the WD backup is saying everything is read only any ideas |
|
|
|
#510 |
|
Guest
Posts: n/a
|
Same Issue with Maxtor External Hard Drive
Dear Trevor,
If you could walk me through this that would be amazing. I have read through your post and feel like I need some help to fix this. I am running on a Macmini. I have a Maxtor External Hard Drive that I use as a backup (not the bootable one - but the other drive). In trying to get multiple computers to connect via file share or bluetooth, I set permissions in the Get Info window of the Maxtor (admin - Read & Write, staff, everyone - all have read and write permissions) and then hit "Apply to enclosed items"....after this when I reopened the GET INFO window, the permissions still SAY "Read & Write" but above the Name/Privilege tag (and under the Sharing & Permissions: there is a line that says "You can only read". When I try to uncheck "Ignore ownership on this volume" I get the following error message "The operation can't be completed. An unexpected error occurred (error code -8076)." I am now backing that drive up onto another drive because it has all of our nonprofit files on it. I am in Nicaragua and have no other access to IT help. Thanks so much for any help you might have! Tabatha |
|
|
|
#511 |
|
Guest
Posts: n/a
|
hello, i am not sure if any one can help but i am computer illiterate but hope someone can help, and explain in detail as i probably wont understand.
I cant access my external hardrives iphoto library, but can access other folders within it. This external hard drive was used to recover all my information off my old computer that died, (sorry i dont know the technical name). When i plug it into my mums computer (also a mac) and click on more info it comes up with me - Read and write staff - read and write everyone - read only but when i go into my iphoto and click on get info if comes up with: me - Read and write staff - read only everyone - read only Also when i put in ls -alO /Volumes into terminal this comes up: Macintosh-5:~ talyah$ ls -alO /Volumes total 8 drwxrwxrwt@ 5 root admin hidden 170 Feb 10 10:10 . drwxrwxr-t 36 root admin - 1292 Oct 1 2010 .. drwxrwxr-t 36 talyah staff - 1292 Nov 2 12:23 Mac HD lrwxr-xr-x 1 root admin - 1 Feb 6 19:51 Macintosh HD -> / drwxrwxrwx 10 talyah staff - 816 Nov 15 11:23 Time Machine Backups |
|
|
|
#512 |
|
Prospect
Join Date: Mar 2012
Location: Cape Town
Posts: 8
|
Hey, new user here, read enough of the thread to understand bits and pieces... What is wrong with my iPOD in the following case:
admins-macbook-3:~ admin$ ls -alOe /Volumes total 8 drwxrwxrwt@ 4 root admin hidden 136 Mar 13 12:52 . drwxrwxr-t 46 root admin - 1632 Jan 23 19:42 .. d--x--x--x 3 root admin - 102 Mar 13 12:52 IPOD lrwxr-xr-x 1 root admin - 1 Mar 4 12:37 MacBook -> / admins-macbook-3:~ admin$ I cannot restore the iPOD because of a read/write error... Regards, Grant |
|
|
|
|
|
#513 |
|
Hall of Famer
Join Date: Feb 2003
Location: Brighton, UK
Posts: 4,123
|
@granti_boy
Generally you do not mess with permissions on iOS devices. You need put device into DFU mode and restore using iTunes to get things back to normal. Once done you can either restore your data from backup or reconfigure the device from scratch. there are loads of links and tutorials when you google ipod or iphone DFU mode. |
|
|
|
|
|
#514 |
|
Registered User
Join Date: Jul 2012
Posts: 1
|
I have a MacMini running Leopard 10.5.8 and have 3 external storage devices.
Yesterday, I turned on the one with my media files, Samsung Story 1GB, I got a warning. screen1.JPG Then, I tried Disk Utility but repairing options were grayed out except Verify Disk. screen2.JPG When I tried that, I got another warning. (I tried to get the screenshots) screen3.JPG When I click "Get Info" on the Samsung, everything is grayed out. I can access the files, but can't edit or move any of them. Going thru some forums, being very unfamiliar with Terminal, I nevertheless entered ls -alOe /Volumes in the Terminal screen and got the following. james-belgins-mac-mini:~ jamesb$ ls -alOe /Volumes total 8 drwxrwxrwt@ 4 root admin hidden 136 2 Jul 02:36 . drwxrwxr-t 35 root admin - 1258 2 Jul 02:32 .. lrwxr-xr-x 1 root admin - 1 2 Jul 02:31 Macintosh HD -> / drwxrwxr-x@ 35 jamesb staff - 1258 27 Jun 18:00 SAMSUNG 0: user:jamesb allow list,add_file,search,add_subdirectory,delete_child,readattr,writeattr,readextat tr,writeextattr,reads ecurity james-belgins-mac-mini:~ jamesb$ I can't reformat the disk as I would lose all data. The free space on my Mac's hard drive is not big enough for copying all files and I have no way of getting a new external soon. Can anybody help me please? |
|
|
|
|
|
#515 |
|
Hall of Famer
Join Date: Feb 2003
Location: Brighton, UK
Posts: 4,123
|
Has the Samsung got a system on it ?
Ie. do you clone your system drive to it ? Just remember one copy of data is never enough unless you are fine with losing it ! Overall if no system is on the SAMSUNG run this command and see if you get R/W access to your drive again. It looks like the ACL (access control list) is not letting you write. Code:
sudo chmod -RN /Volumes/SAMSUNG |
|
|
|
|
|
#516 |
|
Prospect
Join Date: Sep 2012
Posts: 1
|
Hello everyone and especially Trevor!
Here's my major problem: I bought a second hand PPC G5 Leopard 10.5.8 installed. After working on some files I discovered I didn't have certain permissions to perform tasks so I changed my whole internal HD with the "Get Info" pane. After this I was locked out of all HD's, and couldn't even restart my mac. It stayed on the grey apple logo screen, fans roaring and all... After reading a lot of posts here about the problem I discovered I have been really stupid changing permissions through the Get Info pane but still need help very very bad. Point is my external LaCie drive (USB) is also locked for me. All my digital legacy is on there! Please, please give me a clue on how to unlock my LaCie at least.... I will see how to do the other HD's when we get this one rescued. The other ones still being in my mac at home. I can't show you the Terminal results from these as it doesn't even startup anymore... The LaCie is now at my workplace to be rescued. Here's the result of the ls -alO /Volumes command: Last login: Wed Sep 19 08:34:05 on console iMac-van-dtp2:~ Dirkjan$ ls -alO /Volumes total 8 drwxrwxrwt@ 6 root admin hidden 204 21 sep 08:23 . drwxrwxr-t 31 root admin - 1122 11 sep 08:21 .. drw-rw-r--+ 48 root admin uchg 1700 7 sep 22:06 FILES drw-rw-r--+ 46 root admin uchg 1632 18 sep 16:47 FOTO&VIDEO drw-rw-r--+ 11 root admin uchg 442 1 sep 21:39 HD BACKUP lrwxr-xr-x 1 root admin - 1 19 sep 08:33 Macintosh HD -> / iMac-van-dtp2:~ Dirkjan$ Waiting with fingers crossed. Thanks so much in advance people! |
|
|
|
|
|
#517 |
|
MVP
Join Date: Sep 2002
Location: /
Posts: 1,121
|
I can see uchg in the output that you posted above.
If you reread this thread slowly and carefully, I think you will find the help that you seek. Many persons far more knowledgeable than I have contributed to this thread. So, slowly, carefully.
__________________
Sumleilmus ________ 10.9.5 MacBook Pro 9,2 (13 inch, early 2013) 10.9.5 Mac Pro 3,1 (2 x 4core, 2008) |
|
|
|
|
|
#518 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Moderator
Join Date: Jun 2003
Location: Boulder, CO USA
Posts: 19,854
|
Ufdah! That will destroy your operating system installation. I've got to say that this time, though, it's a blessing in disguise. When you buy a second hand computer, you always always need to install a clean fresh operating system on it. You have no idea what the previous owner or owners installed on it, and it could be filled with malware, either purposely or because of a lack of knowledge of the previous owner(s). So, you'll need to reinstall OS X.
No problem. Connect your external LaCie to a different Mac (or this Mac after you've clean-reinstalled OS X), and issue the following commands: sudo chflags nouchg /Volumes/FILES sudo chflags nouchg /Volumes/FOTO&VIDEO sudo chflags nouchg /Volumes/HD\ BACKUP sudo chmod 775 /Volumes/FILES sudo chmod 775 /Volumes/FOTO&VIDEO sudo chmod 775 /Volumes/HD\ BACKUP ls -alOe /Volumes echo "done" Because of the 'sudo', you'll be asked to enter your administrator password at the text prompt. Do so. As you type the password, nothing is echoed back to the screen. This is normal when entering passwords on the command line. Just type it blind and hit Return when you're done. If you've never used the sudo command before, you'll also get a warning about it's usage. This is normal too, for the first use of sudo only. Trevor |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
|
|
|
|
#519 |
|
Moderator
Join Date: Jun 2003
Location: Boulder, CO USA
Posts: 19,854
|
Oh, and let us know what the results of the ls -alOe /Volumes command (in that list of commands immediately above) are. You only showed us the results of ls -alO /Volumes before, which means that there may be hidden ACLs that could still be problematic for you. This thread was started in the days before ACLs were built-in to OS X, so the appropriate command has changed over the years.
Trevor |
|
|
|
|
|
#520 |
|
Registered User
Join Date: Nov 2012
Posts: 1
|
I've been reading pages of this thread for at least an hour, trying to learn how I might get my external NAS (an HP MediaVault) to unlock all the folders and files in the /Volumes/Backup which are now saying I have "custom access." I can mount the drive, see the files, copy the files to my desktop, etc. But I use CrashPlan to backup my MBP to this NAS, and since I installed Lion, for some reason these permissions problems are (so sayeth CrashPlan) preventing CrashPlan from backing up to the drive. CrashPlan support was really nice, but couldn't solve the problem, saying it was Apple's issue, or HP's. Apple support was really nice, but couldn't solve the problem. HP doesn't support this NAS any longer. I have reached the end of line...I'm grateful for any help!
I have tried a bunch of commands:
I'm overmatched...thanks for any help. Brian-MacBook-Pro-3:~ bragan$ ls -alOe /Volumes total 40 drwxrwxrwt@ 4 root admin hidden 136 Nov 2 16:41 . 0: group:everyone deny add_file,add_subdirectory,directory_inherit,only_inherit drwxr-xr-x 33 root wheel - 1190 Nov 2 15:50 .. drwx------ 1 bragan staff - 16384 Oct 29 15:42 Backup lrwxr-xr-x 1 root admin - 1 Nov 2 15:49 Macintosh HD -> / |
|
|
|
![]() |
| Tags |
| custom access permission, disk locked, external hard drive, no access, permission, permissions |
|
|