 |
 |
Set Read/Write permissions on all files/folders in Home folder
|
 |
|
 |
|
Junior Member
Join Date: Mar 2003
Location: Chester, UK
Status:
Offline
|
|
Hi,
I've just moved back to Mac with an iBook, and i've copied stuff that I backed up on CDs from my PC back into my Home folder on my iBook. Because it was backed up to CD, all of the files seem to have become Read Only and it's annoying having to keeping to set permissions to Read/Write. I've tried selecting all the folders in my Home folder and changing the permissions but it doesn't take effect on the files in the folders.
Is there a command I can type at Terminal to set the permissions on all the files in my Home folder?
Cheers,
Nick
|
|
|
| |
|
|
|
 |
|
 |
|
Posting Junkie
Join Date: Nov 2001
Location: Retired.
Status:
Offline
|
|
Under "Get Info" on your Users folder, you can apply the same permissions to every item contained in the selected folder or disk, by clicking "Apply to enclosed items"...
|
|
|
| |
|
|
|
 |
|
 |
|
Mac Elite
Join Date: May 2001
Location: Earth
Status:
Offline
|
|
chmod -R u+rw ~
should do the trick. The "Apply to enclosed items" option in the Info window of the Finder is broken in Panther (at least up to 10.3.2).
btw, welcome back 
|
|
|
| |
|
|
|
 |
|
 |
|
Senior User
Join Date: Sep 2000
Location: Shallow Alto, CA
Status:
Offline
|
|
In case you are no longer the owner of the files you might also need to change owner
chown -R username ~ (replace username with your short username)
|
|
|
| |
|
|
|
 |
|
 |
|
Mac Elite
Join Date: Jan 2003
Location: 127.0.0.1
Status:
Offline
|
|
When I brought my home directory over to my PB from my older iBook, I opened Terminal and did the following:
sudo chown -R username /Users/username
sudo chgrp -R groupname /Users/username
sudo chmod -R 775 /Users/username
Where
username = your short name
groupname = a group such as 'admin' or 'staff'
7 = RWX
5 = RX
0 = No access
|
|
|
| |
|
|
|
 |
|
 |
|
Junior Member
Join Date: Mar 2003
Location: Chester, UK
Status:
Offline
|
|
Thanks for your replies, "chmod -R u+rw ~" worked fine.
Cheers,
Nick
|
|
|
| |
|
|
|
 |
|
 |
|
Mac Elite
Join Date: Jan 2003
Location: suburban Chicago
Status:
Offline
|
|
I have a related issue -- I'm trying to be able to get into my desktop's home folder (where all my documents are -- from my PB. I managed to get TO the dekstop from the laptop (that doesn't work so well in Panther... certainly not as easily as it Jaguar!) -- but it tells me my home folder is off limits because I don't have permission.
When I'm down here -- it says that that folder has read and write priveleges for everything, so it seems to me I should be able to access it from a different computer, but I cannot get to it from the PB. I can't change anything on the users folder in genertal -- everything is grayed out.
So -- I don't know what the commands written above mean -- what do they mean and what will they do? And does anyone else have any suggestions? It was always very convenient to be able to get to one computer from the other. But Panther has changed all that...
Thanks.
|
|
|
| |
|
|
|
 |
|
 |
|
Mac Elite
Join Date: May 2001
Location: Earth
Status:
Offline
|
|
Originally posted by bbales:
I have a related issue -- I'm trying to be able to get into my desktop's home folder (where all my documents are -- from my PB. I managed to get TO the dekstop from the laptop (that doesn't work so well in Panther... certainly not as easily as it Jaguar!) -- but it tells me my home folder is off limits because I don't have permission.
When I'm down here -- it says that that folder has read and write priveleges for everything, so it seems to me I should be able to access it from a different computer, but I cannot get to it from the PB. I can't change anything on the users folder in genertal -- everything is grayed out.
So -- I don't know what the commands written above mean -- what do they mean and what will they do? And does anyone else have any suggestions? It was always very convenient to be able to get to one computer from the other. But Panther has changed all that...
Thanks.
First don't use the Network icon in the sidebar to connect (it's broken in Panther, hopefully fixed with 10.3.3 when it's released). Make sure Personal File Sharing is enabled in the Sharing Prefs on your desktop computer.
To connect, use command-K in the finder, and enter the rendez-vous name of your desktop computer in the server address field. It should read something like :
afp://firstname-lastnames-computer.local
Enter the login/password required to connect on the desktop computer, then select your home directory, and click connect... it should work.
(you can check your rendez-vous name in the Sharing System Preferences, next to the Edit button in the small text). Check that your PowerBook and your Desktop computer have different rendez-vous names.
chmod is a command to change permissions of files/folders
-R means recursive (apply to all enclosed files/folders)
u means change user permissions
+ means set (- for unset)
rw means read/write
and ~ means your home directory
use "man chmod" for more info in terminal...
(Last edited by pat++; Feb 25, 2004 at 06:01 PM.
)
|
|
|
| |
|
|
|
 |
|
 |
|
Mac Elite
Join Date: Jan 2003
Location: suburban Chicago
Status:
Offline
|
|
thanks for the info. Unfortunately, I STILL can't get into my home folder from my PB. Is any restarting involved? Are there any tricks I'm missing?
Thanks for the info and the help.
|
|
|
| |
|
|
|
 |
|
 |
|
Mac Elite
Join Date: May 2001
Location: Earth
Status:
Offline
|
|
Originally posted by bbales:
thanks for the info. Unfortunately, I STILL can't get into my home folder from my PB. Is any restarting involved? Are there any tricks I'm missing?
Thanks for the info and the help.
Weird... What is the exact error message? do you manage to connect? and then cannot go in any folder? or cannot connect at all? does it work the other way around (from desktop to PB)? Try to create a new user on the desktop computer and see if it works... just to be sure it's not a problem with the setup of your existing user...
|
|
|
| |
|
|
|
 |
|
 |
|
Mac Elite
Join Date: Jan 2003
Location: suburban Chicago
Status:
Offline
|
|
Hi -- By using the apple-K feature I've been able to see my desktop from my laptop. (And half thee time that doesn't work either! It's an alias that disappears. But for whatever reason, recently this has worked.)
HOWEVER -- when I navigate to my hard drive, and the users folder, my folder has a little red circle with a minus sign in it. If I click on it, it tells me I don't have sufficient priveleges. I can get into the shared folder. I had created a "tester" identity and I can't get into that, either.
I haven't tried to see my laptop from my desktop, but will later on.
|
|
|
| |
|
|
|
 |
|
 |
|
Mac Elite
Join Date: Jan 2003
Location: suburban Chicago
Status:
Offline
|
|
I have no troublegetting into my laptop from my desktop. And there are 4 users set up on the powerbook! That makes me wonder if I am not signed in properly on the desktop. Maybe my machine is confused as to my identity. Can't do it now, but later I'll try logging off and then on again.
I hope to get this fixed, as it was extremely convenient for moving files from one machine to the other.
|
|
|
| |
|
|
|
 |
 |
|
 |
|
|
|
|
|

|
|
 |
Forum Rules
|
 |
 |
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
|
HTML code is Off
|
|
|
|
|
|
 |
 |
 |
 |
|
 |
|