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



Reply
 
Thread Tools Rating: Thread Rating: 118 votes, 4.97 average. Display Modes
Old 02-15-2010, 12:08 PM   #201
Mikek
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
  Reply With Quote
Old 02-16-2010, 07:12 AM   #202
agentx
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/*
Not sure how you want drobo permissions setup ?
agentx is offline   Reply With Quote
Old 03-28-2010, 03:02 PM   #203
Scot Drummer
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:
Last loginSun Mar 28 13:53:02 on console
skyemac
-2:~ Mikels -alO /Volumesid
ls
: /VolumesidNo such file or directory
skyemac
-2:~ Mikediskutil list
/
dev/disk0
   
#:                       TYPE NAME                    SIZE       IDENTIFIER
   
0:      GUID_partition_scheme                        *1.0 TB     disk0
   1
:                        EFI                         209.7 MB   disk0s1
   2
:                  Apple_HFS OSX                     21.5 GB    disk0s2
   3
:                  Apple_HFS Time Machine            483.2 GB   disk0s3
   4
:                  Apple_HFS Multimedia              494.9 GB   disk0s4
/dev/disk1
   
#:                       TYPE NAME                    SIZE       IDENTIFIER
   
0:      GUID_partition_scheme                        *320.1 GB   disk1
   1
:                        EFI                         209.7 MB   disk1s1
   2
:                  Apple_HFS SkyeMac                 319.7 GB   disk1s2
/dev/disk2
   
#:                       TYPE NAME                    SIZE       IDENTIFIER
   
0:      GUID_partition_scheme                        *1.0 TB     disk2
   1
:                        EFI                         209.7 MB   disk2s1
   2
:                  Apple_HFS External 1TB            999.9 GB   disk2s2
skyemac
-2:~ Mikedf
Filesystem    512
-blocks      Used  Available Capacity  Mounted on
/dev/disk1s2   624470624 450202536  173756088    73%    /
devfs                225       225          0   100%    /dev
/dev/disk0s2    41943040  32536048    9406992    78%    /Volumes/OSX
/dev/disk0s3   943718400 832748416  110969984    89%    /Volumes/Time Machine
/dev/disk0s4   966667616 112077880  854589736    12%    /Volumes/Multimedia
map 
-hosts             0         0          0   100%    /net
map auto_home          0         0          0   100
%    /home
/dev/disk2s2  1952853344 273432464 1679420880    15%    /Volumes/External 1TB
skyemac
-2:~ Mike$ echo "done"
done
skyemac
-2:~ Mike
Any help to this problem would be much appreciated!

Thanks in advance!
Scot Drummer is offline   Reply With Quote
Old 03-29-2010, 07:12 AM   #204
agentx
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
But it is likely a "flag" has been set on drive....to get rid of it.....
Code:
sudo chflags nouchg /Volumes/"External 1TB"
hope this helps.
agentx is offline   Reply With Quote
Old 03-29-2010, 02:02 PM   #205
Hal Itosis
Hall of Famer
 
Join Date: Apr 2002
Posts: 3,315
Quote:
Originally Posted by Scot Drummer
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:

Code:
Last login: Sun Mar 28 13:53:02 on console
skyemac-2:~ Mike$ ls -alO /Volumesid
ls: /Volumesid: No such file or directory

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).
Hal Itosis is offline   Reply With Quote
Old 03-29-2010, 03:54 PM   #206
Scot Drummer
Prospect
 
Join Date: Mar 2010
Posts: 3
Thanks...shows ya what I know.

PHP Code:
Last loginMon Mar 29 14:46:30 on ttys000
skyemac
-2:~ Mikels -alOe /Volumes
total 8
drwxrwxrwt
@  7 root  admin  hidden  238 Mar 29 14:45 .
 
0group:everyone deny add_file,add_subdirectory,directory_inherit,only_inherit
drwxrwxr
-t60 root  admin  -      2108 Dec 14 22:00 ..
d------r--+ 35 root  admin  uchg   1258 Mar 27 21:07 External 1TB
 0
group:admin allow list,add_file,add_subdirectory,readattr,writeattr,readextattr,writeextattr,readsecurity
 1
3006A30E-BBE5-49F3-A9C0-FC665456AB24 allow list,add_file,add_subdirectory,readattr,writeattr,readextattr,writeextattr,readsecurity
 2
83C5BB9A-6E32-11D8-80DC-000A95AEDBF0 allow list,add_file,add_subdirectory,readattr,writeattr,readextattr,writeextattr,readsecurity
 3
5F7857DC-6E32-11D8-80DC-000A95AEDBF0 allow list,add_file,add_subdirectory,readattr,writeattr,readextattr,writeextattr,readsecurity
drwxrwxrwx
23 Mike  staff  -       850 Dec 15 19:33 Multimedia
drwxrwxr
-t35 root  admin  -      1258 Oct 25  2008 OSX
lrwxr
-xr-x   1 root  admin  -         1 Mar 28 13:52 SkyeMac -> /
drwxrwxr-x  15 Mike  staff  -       578 Dec 14 21:57 Time Machine
skyemac
-2:~ Mikeid
uid
=501(Mikegid=20(staffgroups=20(staff),101(com.apple.sharepoint.group.1),401(com.apple.access_screensharing),204(_developer),100(_lpoperator),98(_lpadmin),81(_appserveradm),80(admin),79(_appserverusr),61(localaccounts),12(everyone),402(com.apple.sharepoint.group.2)
skyemac-2:~ Mike
Scot Drummer is offline   Reply With Quote
Old 03-29-2010, 10:54 PM   #207
Hal Itosis
Hall of Famer
 
Join Date: Apr 2002
Posts: 3,315
Quote:
Originally Posted by Scot Drummer
Code:
skyemac-2:~ Mike$ ls -alOe /Volumes
total 8
drwxrwxrwt@  7 root  admin  hidden  238 Mar 29 14:45 .
 0: group:everyone deny add_file,add_subdirectory,directory_inherit,only_inherit
drwxrwxr-t@ 60 root  admin  -      2108 Dec 14 22:00 ..
d------r--+ 35 root  admin  uchg   1258 Mar 27 21:07 External 1TB
 0: group:admin allow list,add_file,add_subdirectory,readattr,writeattr,readextattr,writeextattr,readsecurity
 1: 3006A30E-BBE5-49F3-A9C0-FC665456AB24 allow list,add_file,add_subdirectory,readattr,writeattr,readextattr,writeextattr,readsecurity
 2: 83C5BB9A-6E32-11D8-80DC-000A95AEDBF0 allow list,add_file,add_subdirectory,readattr,writeattr,readextattr,writeextattr,readsecurity
 3: 5F7857DC-6E32-11D8-80DC-000A95AEDBF0 allow list,add_file,add_subdirectory,readattr,writeattr,readextattr,writeextattr,readsecurity
drwxrwxrwx@ 23 Mike  staff  -       850 Dec 15 19:33 Multimedia
drwxrwxr-t@ 35 root  admin  -      1258 Oct 25  2008 OSX
lrwxr-xr-x   1 root  admin  -         1 Mar 28 13:52 SkyeMac -> /
drwxrwxr-x  15 Mike  staff  -       578 Dec 14 21:57 Time Machine

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.
Hal Itosis is offline   Reply With Quote
Old 03-29-2010, 11:58 PM   #208
Scot Drummer
Prospect
 
Join Date: Mar 2010
Posts: 3
That worked! Thanks ever so much Hal & Agent.
I owe yez a pint or two!

Cheers!


Mike
Scot Drummer is offline   Reply With Quote
Old 04-06-2010, 12:29 AM   #209
Curt Norman
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
Curt Norman is offline   Reply With Quote
Old 04-06-2010, 12:47 AM   #210
trevor
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 ls -aloE /Volumes ls -aleO /Volumes requested above, and by telling us why you have two distinct usernames, one curtnorman and one curt_norman.

Trevor

Last edited by trevor; 04-06-2010 at 01:18 AM.
trevor is offline   Reply With Quote
Old 04-06-2010, 01:00 AM   #211
Hal Itosis
Hall of Famer
 
Join Date: Apr 2002
Posts: 3,315
Quote:
Originally Posted by Curt Norman
Last login: Mon Apr 5 23:05:00 on ttys000
-bash: export: `Quicktime/CEI': not a valid identifier

Hmm, terminal is tripping over some junk there. Probably a startup file issue (to troubleshoot in some other thread).


Quote:
Originally Posted by Curt Norman
drw-rw--w-+ 174 curtnorman 502 5984 Mar 26 00:26 Jills Iomega

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.


Quote:
Originally Posted by 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

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.
Hal Itosis is offline   Reply With Quote
Old 04-06-2010, 01:00 AM   #212
Curt Norman
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$
Curt Norman is offline   Reply With Quote
Old 04-06-2010, 01:02 AM   #213
Curt Norman
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*
Curt Norman is offline   Reply With Quote
Old 04-06-2010, 01:03 AM   #214
Curt Norman
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...
Curt Norman is offline   Reply With Quote
Old 04-06-2010, 01:04 AM   #215
Curt Norman
Prospect
 
Join Date: Aug 2006
Posts: 20
what is ACL ?
Curt Norman is offline   Reply With Quote
Old 04-06-2010, 01:08 AM   #216
Curt Norman
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$
Curt Norman is offline   Reply With Quote
Old 04-06-2010, 01:10 AM   #217
Curt Norman
Prospect
 
Join Date: Aug 2006
Posts: 20
HOT DOG!

I was able to change permissions from CUSTOM to read and write!
Curt Norman is offline   Reply With Quote
Old 04-06-2010, 01:14 AM   #218
Hal Itosis
Hall of Famer
 
Join Date: Apr 2002
Posts: 3,315
Try again, you're almost done!!!

NOTE: I tweaked command #3.
Hal Itosis is offline   Reply With Quote
Old 04-06-2010, 01:17 AM   #219
trevor
Moderator
 
Join Date: Jun 2003
Location: Boulder, CO USA
Posts: 19,854
Quote:
Originally Posted by Curt Norman
MacBookPro-3:~ curt_norman$ ls -aloE /Volumes
ls: illegal option -- E
usage: ls [-ABCFGHLOPRSTUWabcdefghiklmnopqrstuwx1] [file ...]

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
trevor is offline   Reply With Quote
Old 04-06-2010, 01:18 AM   #220
Curt Norman
Prospect
 
Join Date: Aug 2006
Posts: 20
even though I am able to change permissions with tweak #1,
I should command #3 ?
Curt Norman is offline   Reply With Quote
Reply

Tags
custom access permission, disk locked, external hard drive, no access, permission, permissions


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 09:40 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.