|
|
#201 |
|
Guest
Posts: n/a
|
Help I am also have locked drives.
Running 10.6.2 Last login: Mon Feb 15 11:57:30 on console Mike-Klebers-Mac-Pro:~ mikekleber$ ls -alO /Volumes total 8 drwxrwxrwt@ 9 root admin hidden 306 Feb 15 11:57 . drwxrwxrwx@ 31 root admin - 1122 Feb 13 19:09 .. drw-rw-rw- 21 mikekleber staff - 782 Feb 11 16:20 Current Working drw-rw-rw- 40 mikekleber staff uchg 1428 Feb 10 15:12 Drobo lrwxr-xr-x 1 root admin - 1 Feb 15 11:57 Prod 1 -> / drwxrwxrwx+ 8 root admin - 272 Dec 24 02:22 Prod 1 BU drwxrwxrwx@ 39 root admin - 1394 Feb 13 12:18 Prod1 Backup drw-rw-rw- 88 mikekleber staff - 3060 Dec 21 19:26 backup movies drw-rw-rw- 591 mikekleber staff - 20162 Dec 25 10:45 backup music |
|
|
|
#202 |
|
Hall of Famer
Join Date: Feb 2003
Location: Brighton, UK
Posts: 4,123
|
Quick fix as you probably cannot access Drobo, backup movies, backup music, Current Working
Code:
sudo chflags nouchg /Volumes/*; sudo chmod 775 /Volumes/* |
|
|
|
|
|
#203 |
|
Prospect
Join Date: Mar 2010
Posts: 3
|
Hello all. I found this forum...lucky for me.
Same issue. Unchangeable Custom access to an external drive...locked out. I am a bit hesitant to enter code into the terminal..other than what Trevor posted: PHP Code:
Thanks in advance! |
|
|
|
|
|
#204 |
|
Hall of Famer
Join Date: Feb 2003
Location: Brighton, UK
Posts: 4,123
|
well ideally would be good to see the output of
Code:
ls -alO /Volumes Code:
sudo chflags nouchg /Volumes/"External 1TB"
|
|
|
|
|
|
#205 | |||||||||||||||||||||||
|
Hall of Famer
Join Date: Apr 2002
Posts: 3,315
|
You clumped two separate commands together there (ls -alO /Volumes and id), so we never got the proper output from either of them. BTW, may as well include the -e option with the first one... ls -alOe /Volumes id ...as that could potentially save everyone some time (depending on the circumstance). |
|||||||||||||||||||||||
|
|
|
|
|
#206 |
|
Prospect
Join Date: Mar 2010
Posts: 3
|
Thanks...shows ya what I know.
![]() PHP Code:
|
|
|
|
|
|
#207 | |||||||||||||||||||||||
|
Hall of Famer
Join Date: Apr 2002
Posts: 3,315
|
Start off with this one (as agentx advised): sudo chflags nouchg /Volumes/"External 1TB" Now it looks like you'll need this too: sudo chmod 775 /Volumes/"External 1TB" And i would probably knock off that ACL as well: sudo chmod -N /Volumes/"External 1TB" ...but you could skip that last one, since it isn't preventing access. [rather, it contains several entries which allow access to some other users... but your current OS doesn't have any names in dslocal for whomever they are, so it displays those long numbers instead. (admin will now get access via POSIX).] Last edited by Hal Itosis; 03-29-2010 at 11:05 PM. |
|||||||||||||||||||||||
|
|
|
|
|
#208 |
|
Prospect
Join Date: Mar 2010
Posts: 3
|
That worked! Thanks ever so much Hal & Agent.
I owe yez a pint or two! Cheers! Mike |
|
|
|
|
|
#209 |
|
Prospect
Join Date: Aug 2006
Posts: 20
|
CUSTOM permissions- cannot change external HD
Similar tale of woe: Wife's laptop, MacBookPro, has impact damage and ½ the screen is blank. She was running Time Machine and has good backups. I have an iMac 1.83 (10.6.3) and erased the HD and restored wife's files via TimeMachine. I tried to use MIGRATE ASST, but that hung up. All files appear to be properly reinstalled.
The backup TM files were on an external HD named "Jills Iomega", and I was able to restore, apparently with success to the original iMac’s HD, but I cannot even open one of the external HD’s. I cannot change the CUSTOM permissions on one of 2 iomega HD's that are attached. The most important external HD, Jills Iomega, I cannot even open. The other one is fine. Jills Iomega is formatted: Mac OS Extended (Journaled) SUGGESTIONS: I have tried this mess: Code:
Last login: Mon Apr 5 23:05:00 on ttys000
-bash: export: `Quicktime/CEI': not a valid identifier
MacBookPro-3:~ curt_norman$ id
uid=501(curt_norman) gid=501(curt_norman) groups=501(curt_norman),101(com.apple.sharepoint.group.1),401(com.apple.access_screensharing),204(_developer),100(_lpoperator),98(_lpadmin),80(admin),61(localaccounts),12(everyone)
MacBookPro-3:~ curt_norman$ ls -l /Volumes
total 8
lrwxr-xr-x 1 root admin 1 Apr 5 22:53 Jill's HD -> /
drw-rw--w-+ 174 curtnorman 502 5984 Mar 26 00:26 Jills Iomega
drwxrwxr-t 24 curt_norman curt_norman 884 Aug 13 2009 Mac OS X Install DVD
drwxrwxr-x 7 curt_norman curt_norman 306 Apr 4 14:27 iomega 120 external HD
MacBookPro-3:~ curt_norman$ ls -l /Volumes/MyDiskName
ls: /Volumes/MyDiskName: No such file or directory
MacBookPro-3:~ curt_norman$ echo ---------------
---------------
MacBookPro-3:~ curt_norman$
MacBookPro-3:~ curt_norman$ sudo chmod -R u+X /Volumes/Jills Iomega
chmod: /Volumes/Jills: No such file or directory
chmod: Iomega: No such file or directory
MacBookPro-3:~ curt_norman$ sudo chmod -R u+X /Volumes/Jills IomegaJills Iomega
chmod: /Volumes/Jills: No such file or directory
chmod: IomegaJills: No such file or directory
chmod: Iomega: No such file or directory
MacBookPro-3:~ curt_norman$ drwxrwxr-t ls -l /Volumes/ExternalHD
-bash: drwxrwxr-t: command not found
MacBookPro-3:~ curt_norman$ sudo chmod -R u+X /Volumes/Jills Iomega
chmod: /Volumes/Jills: No such file or directory
chmod: Iomega: No such file or directory
MacBookPro-3:~ curt_norman$
MacBookPro-3:~ curt_norman$
MacBookPro-3:~ curt_norman$
MacBookPro-3:~ curt_norman$ sudo chmod -R u+X /Volumes/
chmod: Unable to change file mode on /Volumes//Jills Iomega: Operation not permitted
Any suggestions: To help me fend off a divorce feel free to contact me directly at Curt@PlantationPhotography.com curt Last edited by trevor; 04-06-2010 at 12:39 AM. Reason: Added [code] tags around Terminal output for readability |
|
|
|
|
|
#210 |
|
Moderator
Join Date: Jun 2003
Location: Boulder, CO USA
Posts: 19,854
|
Could we see the results of
ls -aleO /Volumes I do not advise using the -R flag with sudo chmod as it changes too much stuff that you're not aware of. If you are referring to a drive whose name is "Jills Iomega", you either need to escape the space by prepending it with a \ or else put quotation marks around the name. Spaces are special characters in the Terminal that show where one part of a command ends and the next one begins. If you have a space in a volume name, you must deal with that space specially. So, for example, the command to add execute permissions for the user owner (note that the owner is shown as curtnorman with no underscore in their username, but your user is curt_norman with an underscore in your username) of /Volumes/"Jills Iomega" would be sudo chmod u+x /Volumes/"Jills Iomega" or sudo chmod u+x /Volumes/Jills\ Iomega Also note that I'm NOT advising you to do this, there are too many reasons to think it probably won't help, and we need more information, which you can give us with the Trevor Last edited by trevor; 04-06-2010 at 01:18 AM. |
|
|
|
|
|
#211 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Hall of Famer
Join Date: Apr 2002
Posts: 3,315
|
Hmm, terminal is tripping over some junk there. Probably a startup file issue (to troubleshoot in some other thread).
You didn't use -O or -e, so we can't see everything. There is an ACL there, and I'll just assume some flag as well (to save time). Don't worry, I see that group 'number' there.
That's the ACL in action. Okay, try (copy/paste) one at a time: sudo chflags 0 /Volumes/Jills* sudo chmod -N /Volumes/Jills* sudo chown 501:80 /Volumes/Jills* sudo chmod 775 /Volumes/Jills* Hey trevor... didn't see you earlier. Yup, I agree about -R but forgot to mention it.. EDIT#2: yikes, didn't catch the subtle username deal. Have changed my 3rd command accordingly. Thanks! Last edited by Hal Itosis; 04-06-2010 at 01:06 AM. |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
|
|
|
|
#212 |
|
Prospect
Join Date: Aug 2006
Posts: 20
|
I think the original user name on all of my computers is Curt Norman.
I may have been trying to do something different to differintiate between the computers.... not sure.... ---------------------------------- I just tried, > which you can give us with the ls -aloE /Volumes < at your suggestion, and got this: -aloE /Volumes ls: illegal option -- E usage: ls [-ABCFGHLOPRSTUWabcdefghiklmnopqrstuwx1] [file ...] MacBookPro-3:~ curt_norman$ |
|
|
|
|
|
#213 |
|
Prospect
Join Date: Aug 2006
Posts: 20
|
Last login: Mon Apr 5 23:11:22 on ttys000
-bash: export: `Quicktime/CEI': not a valid identifier MacBookPro-3:~ curt_norman$ ls -aloE /Volumes ls: illegal option -- E usage: ls [-ABCFGHLOPRSTUWabcdefghiklmnopqrstuwx1] [file ...] MacBookPro-3:~ curt_norman$ sudo chflags 0 /Volumes/Jills* Password: MacBookPro-3:~ curt_norman$ sudo chmod -N /Volumes/Jills* MacBookPro-3:~ curt_norman$ sudo chgrp 80 /Volumes/Jills* MacBookPro-3:~ curt_norman$ ' > sudo chmod 775 /Volumes/Jills* > sudo chmod 775 /Volumes/Jills* |
|
|
|
|
|
#214 |
|
Prospect
Join Date: Aug 2006
Posts: 20
|
After the first suggestion
I typed in the password when requested, but NUMBERS do not seem to register... and nothing "apparently" changed... |
|
|
|
|
|
#215 |
|
Prospect
Join Date: Aug 2006
Posts: 20
|
what is ACL ?
|
|
|
|
|
|
#216 |
|
Prospect
Join Date: Aug 2006
Posts: 20
|
tried again:
Last login: Tue Apr 6 00:59:15 on ttys000 -bash: export: `Quicktime/CEI': not a valid identifier MacBookPro-3:~ curt_norman$ sudo chflags 0 /Volumes/Jills* Password: MacBookPro-3:~ curt_norman$ |
|
|
|
|
|
#217 |
|
Prospect
Join Date: Aug 2006
Posts: 20
|
HOT DOG!
I was able to change permissions from CUSTOM to read and write! |
|
|
|
|
|
#218 |
|
Hall of Famer
Join Date: Apr 2002
Posts: 3,315
|
Try again, you're almost done!!!
NOTE: I tweaked command #3. |
|
|
|
|
|
#219 | |||||||||||||||||||||||
|
Moderator
Join Date: Jun 2003
Location: Boulder, CO USA
Posts: 19,854
|
I'm sorry, I used the correct case when I first asked you to show us the results of the command, but when I was referring to it inside a paragraph I messed up the case of the O and e options. The correct command that we would like to see is ls -alOe /Volumes I have also edited my query above to correct this mistake on my part. Trevor |
|||||||||||||||||||||||
|
|
|
|
|
#220 |
|
Prospect
Join Date: Aug 2006
Posts: 20
|
even though I am able to change permissions with tweak #1,
I should command #3 ? |
|
|
|
![]() |
| Tags |
| custom access permission, disk locked, external hard drive, no access, permission, permissions |
|
|