The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Dummies Questions & Answers
Google UNIX.COM


UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !!

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
file permission problem skully SUN Solaris 2 05-25-2008 11:29 PM
Problem with ext3 partition digjam Filesystems, Disks and Memory 3 12-08-2007 07:59 AM
Permission Problem kungpow SUN Solaris 6 09-19-2006 06:54 AM
Permission problem rockyrak Forum Support Area for Unregistered Users & Account Problems 2 02-10-2005 01:24 PM
SCO 5.05 partition problem budrito UNIX for Advanced & Expert Users 3 09-22-2002 03:24 AM

Reply
 
Submit Tools LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 05-12-2008
Registered User
 

Join Date: May 2008
Posts: 3
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit! Stumble this Post!Spurl this Post!
Partition Permission Problem

I am using a PowerBook G4 with OS X 10.4.11. While modifying permissions using the Finder Info window on what I thought was a folder on a data partition, I inadvertently changed the permissions for the entire partition instead of the folder. Now I cannot access that partition nor any folders or files in it using any of the three accounts I have set up on the computer, including Admin. I also tried accessing the partition using Terminal – “Permission Denied.”

I booted with an install CD for OS X 10.5 that I had used at work to check the permission settings using Terminal. I just started researching Unix commands yesterday, so I am only familiar with the very basics. My original install CD for Tiger is in my safe deposit box (I hope).

Here are the permissions for the main system and data partitions:

System: drwxrwxr-t@ root admin

Data: drwx---rwx@ root admin

After changing the directory to the Data partition, I could see all folders and files on it. I tried using “chmod –R775/” to change permissions with no effect. Then I copied/pasted the permissions from the System partition after typing “chmod” with no effect.

I compared the permissions on the PowerBook with those on my G4 tower running OS X10.2.8, and I noticed that the tower permissions do not contain the “@” symbol. Is that significant?

How can I restore the original permissions to the Data Partition?

Thank you.
Reply With Quote
Forum Sponsor
  #2 (permalink)  
Old 05-12-2008
Registered User
 

Join Date: May 2008
Posts: 22
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit! Stumble this Post!Spurl this Post!
The "@" usually means a symbolic link, but that is shown at the end of the line, after the filename, and not in the middle of the line like what you have.

Can you post more details like:
[1] Do you have sudo permissions to root?
[2] Have you tried using the "Verify/Repair Permissions" in Disk Utiity?
[3] Full path names to these directories/partitions...something like /Volumes/<HD-name> & "ls -ld" o/p for the same.

To troubleshoot most such issues, you do not need to boot from a Boot CD. Finder is smart enough to help you take of this, since that is where you broke stuff from. Note that the exception to this is when you hose your boot disk.

Also, to troubleshoot a 10.4.11 issue, use a Tiger Boot CD instead of a Leopard CD.

I don't have a PB but am checking my options on my MBP. As such Tiger should be Tiger on both, so there shouldn't be any difference. But keep this in mind.

You could also get more help at other Mac sites like macosxhints, macfixit etc.
Reply With Quote
  #3 (permalink)  
Old 05-13-2008
Registered User
 

Join Date: May 2008
Posts: 3
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit! Stumble this Post!Spurl this Post!
Quote:
Originally Posted by frozentin View Post
The "@" usually means a symbolic link, but that is shown at the end of the line, after the filename, and not in the middle of the line like what you have.

Can you post more details like:
[1] Do you have sudo permissions to root?
[2] Have you tried using the "Verify/Repair Permissions" in Disk Utiity?
[3] Full path names to these directories/partitions...something like /Volumes/<HD-name> & "ls -ld" o/p for the same.

To troubleshoot most such issues, you do not need to boot from a Boot CD. Finder is smart enough to help you take of this, since that is where you broke stuff from. Note that the exception to this is when you hose your boot disk.

Also, to troubleshoot a 10.4.11 issue, use a Tiger Boot CD instead of a Leopard CD.

I don't have a PB but am checking my options on my MBP. As such Tiger should be Tiger on both, so there shouldn't be any difference. But keep this in mind.

You could also get more help at other Mac sites like macosxhints, macfixit etc.
1. I have an "Admin" account set up with full access. How do I check to see if I have sudo perms to root? While logged in under the Admin account under Tiger, I typed "ls -ld" Terminal responded "drwxr-xr-x 15 admin staff 510 May 12 07:48 ."
When I used the same command after booting from the Leopard CD I got this: "drwxrwxrt 7 root admin 1024 May 13 03:50."

2. I tried using Disk Utility, and I verified and repaired disk successfully. However, the Verify/Repair Permission buttons are dimmed.

3. Full path names:
Computer name: REO-PB-G4:~ admin$
System Partition: /Volumes/OSX10.4
Data Parition: /Volumes/Rich_LTG4_Data
This is the result from Terminal when I use the mount command for the Data Partition: "/dev/disk0s5 on /Volumes/Rich_LTG4_Data (local, journaled)" When I try to change drive to the Data Partition, I get "Permission denied" That command only works if I boot from the cd.

I did get a response in the macosxhints forum. He told me to try "sudo chmod 1775 /Volumes/Data." When I tried it, Terminal responded "command not found."

To clarify - I need to make the Data partition permissions full access to all users.

Later today plan to get my Tiger CD from my safe deposit box.

Thanks.
Reply With Quote
  #4 (permalink)  
Old 05-14-2008
Registered User
 

Join Date: May 2008
Posts: 3
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit! Stumble this Post!Spurl this Post!
Partition Permission Paroblem Solved

I just logged in under my Tiger user account, and tried "sudo chmod 1775 /Volumes/Data" -- IT WORKED!!

I received this fix from Hal Itosis in the macosxhints forum.

Many thanks to all of you who responded to my problem.!
Reply With Quote
Google UNIX.COM
Reply

Thread Tools
Display Modes




All times are GMT -7. The time now is 04:42 AM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited.
The UNIX and Linux Forums Content Copyright ©1993-2008 The CEP Blog All Rights Reserved -Ad Management by RedTyger Visit The Global Fact Book

Content Relevant URLs by vBSEO 3.2.0

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101