 |
 |
What's the Best way to share files with diffrent users over SMB?
|
 |
|
 |
|
Senior User
Join Date: Mar 1999
Location: Livingston NJ USA
Status:
Offline
|
|
Hello, i have posted this in the networking section, but I believe the unix forum dwellers are more capable of answering the question...
-----
Here is the dilemma.
I would like to share the following:
/Users/userA/Music/iTunes/iTunes_Music
With userB on a windows machine.
Also, userB must be able to access the following:
/Users/userB/
At the same time.
---------------------
Here is what does not work:
Making a hard link to the music directory in the userB account. I am having trouble making hard links to directories in OS X, as far as I can tell the kernel does not allow it.
Logging into both accounts at the same time using windows 2000. I don't think its possible. If it is I don't know how to do it, and i'd rather not do it this way. I want both user to keep their passwords private.
---------------------
I could put the iTunes stuff in the /Users/Shared folder, but if I do, how to I get to it over the network using SMB? Would this be the best way? User that log in are restricted to their account folders. I would rather keep users restricted to their proper folders also..
In short, what is the best way of doing this?
Thanks.
|
|
|
| |
|
|
|
 |
|
 |
|
Moderator 
Join Date: Apr 2000
Location: Gothenburg, Sweden
Status:
Offline
|
|
Originally posted by Avon:
Hello, i have posted this in the networking section, but I believe the unix forum dwellers are more capable of answering the question...
-----
Here is the dilemma.
I would like to share the following:
/Users/userA/Music/iTunes/iTunes_Music
With userB on a windows machine.
Also, userB must be able to access the following:
/Users/userB/
At the same time.
---------------------
Here is what does not work:
Making a hard link to the music directory in the userB account. I am having trouble making hard links to directories in OS X, as far as I can tell the kernel does not allow it.
Logging into both accounts at the same time using windows 2000. I don't think its possible. If it is I don't know how to do it, and i'd rather not do it this way. I want both user to keep their passwords private.
---------------------
I could put the iTunes stuff in the /Users/Shared folder, but if I do, how to I get to it over the network using SMB? Would this be the best way? User that log in are restricted to their account folders. I would rather keep users restricted to their proper folders also..
In short, what is the best way of doing this?
Thanks.
OK, let's take them one after the other:
Hard links: Root can create hard links to directories, unless Apple changed something recently. I don't think you should do this, however, because it generally leads to serious disk corruption.
Logging in twice: Yes, you can do that, if you contact the same server using two different names. Let's say the dns entry mymac.corp.com points to IP 12.34.56.78. Then you could connect to
\\mymac.corp.com\userB -U:userB
at the same time as
\\12.34.56.78\userA -U:userA
This is a bug in Windows, but it's a fairly useful one at times!
Now, for my recommended soloution: Use the program here:
http://www.versiontracker.com/morein...596&db=mac
to share the entire Users directory. Then let the standard access privileges control who can access what inside that directory.
|
|
|
| |
|
|
|
 |
|
 |
|
Mac Elite
Join Date: May 2001
Location: ~/
Status:
Offline
|
|
You could always put your music directory in /User/Share and make a soft link to it in your ~/ directory. As long as you put a group read & write permission on the music directory in /User/Share and userA and userB are in the same group you shouldn't have any problem sharing that directory over Samba. This has the added bonus of allowing you to share your music directory over Apache. If you make up some .m3u files with the path to your music you can open the .m3u in Winamp or iTunes and stream MP3s out over HTTP or link to the MP3 itself.
It is pretty trivial to switch the iTunes Music directory to be anything you want, like /User/Share/Music.
(Last edited by Graymalkin; Jan 6, 2003 at 12:47 AM.
)
|
|
|
| |
|
|
|
 |
 |
|
 |
|
|
|
|
|

|
|
 |
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
|
|
|
|
|
|
 |
 |
 |
 |
|
 |
|