HFS permissions from Windows 7

I've installed the Boot Camp updates in Windows 7 (x64) and I do indeed have read access to my HFS partition. I notice that you cannot access anything in the Users folder, which makes sense for security purposes however I would rather not put files I need to share in the root of my HFS partition.

What permissions does a folder on the HFS partition need for it to be accessible under Boot Camp? For instance, looking at the applications folder I see that it has "system", "admin", and "everyone" in the permissions list. That folder is accessible from Windows. I've tried adding the everyone permission to another folder within my home folder under Users but the folders don't even show up in Windows. Only the parent "Users" folder itself.

Has anyone had any success working with folders using the new HFS driver in Windows Boot Camp for any folders that are not in the root of the HFS partition?

Thanks

iMac 24 / MacBook Pro 17" / Mac Mini / iPhone 3G 16GB / iPhone Edge 4GB, Mac OS X (10.6), 3.06 Ghz / Core 2 Duo / 4GB Ram

Posted on Sep 1, 2009 5:53 PM

Reply
61 replies

Sep 3, 2009 10:04 AM in response to gotroot801

You might try the delete and re-create of the account. You'll have to create a new account you can log into while our manipulating your old account.

Create a new account called 'temp'. Make it an admin account.
Log out and back into 'temp'
Go into Preferences -> Accounts and delete your old account. When prompted, do NOT delete your old home directory. Tell it to keep it.
Immediately recreate your old account. It should tell you that the old home directory still exists. Tell it to use the old home directory.

At that point it should go in and fix any permissions.

Log out and back into your old account. Don't forget to delete the 'temp' account.

Worth a shot as it may fix whatever permission issues are broken.

If that fails, you can take the route that I did and rename your old 'bad' account, create a new account, and just copy all of my data over.

Sep 3, 2009 11:48 AM in response to DJRumpy

I used DJRumpy's method, creating an admin account, logging into it, deleting my main account, keeping the old home folder where it is.

Although OS X renames it "username (Deleted)". So I did the following...

sudo mkdir /Users/username
sudo mkdir /Users/username/Desktop
sudo mkdir /Users/username/Documents
sudo mkdir /Users/username/Downloads
sudo mkdir /Users/username/Library
sudo mkdir /Users/username/Movies
sudo mkdir /Users/username/Music
sudo mkdir /Users/username/Pictures
sudo mkdir /Users/username/Public
sudo mkdir /Users/username/Sites
sudo mv '/Users/username (Deleted)/Desktop' /Users/username
sudo mv '/Users/username (Deleted)/Documents' /Users/username
sudo mv '/Users/username (Deleted)/Downloads' /Users/username
sudo mv '/Users/username (Deleted)/Library' /Users/username
sudo mv '/Users/username (Deleted)/Movies' /Users/username
sudo mv '/Users/username (Deleted)/Music' /Users/username
sudo mv '/Users/username (Deleted)/Pictures' /Users/username
sudo mv '/Users/username (Deleted)/Public' /Users/username
sudo mv '/Users/username (Deleted)/Sites' /Users/username

This is from memory, please look it over, don't rely on my typing skills(or lack there of).
I then recreated my old account, logged into it, and deleted the now empty "/Users/username (Deleted)" folder.

All my setting short of my desktop picture and desktop icon spacing are back to normal as far as I can tell. Bootcamp HFS+ can now see the following folders (and all their contents I believe):

Desktop
Documents
Downloads
Library
Movies
Music
Pictures
Public
Sites

if "/Users/username/.Xauthority" was the problem, I effectively got rid of it by not copying it in the move.




Oh, I also edited the ACE on all the folders in /Users/username before going so far as I did.
Like so:

chmod -N ~/Desktop/
chmod -N ~/Documents/
chmod -N ~/Downloads/
chmod -N ~/Library/
chmod -N ~/Movies/
chmod -N ~/Music/
chmod -N ~/Pictures/
chmod -N ~/Public/
chmod -N ~/Sites/
chmod +a "everyone deny delete" ~/Desktop/
chmod +a "everyone deny delete" ~/Documents/
chmod +a "everyone deny delete" ~/Downloads/
chmod +a "everyone deny delete" ~/Library/
chmod +a "everyone deny delete" ~/Movies/
chmod +a "everyone deny delete" ~/Music/
chmod +a "everyone deny delete" ~/Pictures/
chmod +a "everyone deny delete" ~/Public/
chmod +a "everyone deny delete" ~/Sites/

Message was edited by: J_42

Sep 3, 2009 1:21 PM in response to DJRumpy

First of all your the acl you put ("1: user:ron allow list,add_file,...") on the folders are you and you
already have permission to view them. When in windows, obviously the program blocks all regular
users and doesn't care who you are. Your acl's should be directed towards staff or admin or everyone.
example : chmod -R +a "staff allow allow list,add_file,..." /Users/ron/Music

Yes the -R option works the same for acl's too.

Kj

Sep 6, 2009 4:51 PM in response to DJRumpy

I have no idea of the mechanics behind all this, but maybe I can add something to the conversation.
I have two iMacs at home. Yesterday, I installed Snow Leopard in both machines. Today, I installed Windows XP SP3 via boot camp in both machines. The funny thing is that, from the windows partition in my new iMac I can't see the Users folder (and below); however, in the old iMac, from windows I can perfectly see the contents of the Users folder and the contents of all the user accounts.

Using terminal in the /Users folder (ls -ale, as recommended in this thread), the only difference is that in my old iMac I can see a line like this:

0: group:com.apple.sharepoint.group.1 allow search

In the other mac, ls -ale just gives me the expected list of user folders, permissions, etc.

Now, if I only were able to know how to reproduce the old iMac situation in the other one, I would be very happy.

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

HFS permissions from Windows 7

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.