Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the '10.5: Share any files between users on the same Mac' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
10.5: Share any files between users on the same Mac
Authored by: Kapila on Aug 29, '11 05:53:16PM

This line: sudo chown admin:friday Friday

returned the error message: "chown: admin: Invalid argument"

So I substituted the following: chown :friday Friday

which seemed to work.



[ Reply to This | # ]
10.5: Share any files between users on the same Mac
Authored by: ekdor on Sep 04, '11 02:25:51PM

Ok I did some research. I looked into the syntax to try to understand what I was telling the terminal to do and it revealed the issue. Hope this helps someone else.

The line as printed above at the time of this writing is as follows:
sudo chown admin:friday Friday

it is telling terminal to change the owner to admin and the group to friday and apply to the file/folder Friday. the error is returned in my case because admin doesn't exist. I was confused by this because there is a group called admin, not the same thing. So the resulting error was a syntax error.

So I suggest trying to substitute the owner "admin in this case" with one of your admin accounts e.g. Fred.
sudo chown Fred:friday Friday

Hope that was correct and makes sense.



[ Reply to This | # ]