Hello Richard,
Friday, July 18, 2003, 12:45:44 AM, you wrote:
Richard Crawford> I've got the boss convinced that we don't need to be able to execute
the
Richard Crawford> mount command as non-root, as long as I can execute the mount at
boot.
Richard Crawford> I've got that set up perfectly now.
Richard Crawford> To recap the entire problem at this point:
Richard Crawford> We have an Ultra-10 server, Trinity, running Solaris 2.9. We have
Richard Crawford> developers who run SunBlade 100 workstations which have PC cards on
Richard Crawford> them, so they run both Solaris 2.8 and Windows 2000. The goal is to
Richard Crawford> allow the developers to access the web directories on Trinity using
Richard Crawford> Windows 2000 as if it were mounted as a local drive, without using
Samba.
Richard Crawford> Here is what I've done so far:
Richard Crawford> 1. Shared out the web directory on Trinity:
Richard Crawford> # share -F nfs /webdirectory
Richard Crawford> 2. Create a mountpoint in the user directory on each user's
computer
Richard Crawford> (for example, bob):
Richard Crawford> $ mkdir /usr/home/bob/trinity
Richard Crawford> 3. Mount the shared resource on Trinity to that mountpoint:
Richard Crawford> # mount trinity:/webdirectory /usr/home/bob/trinity
Richard Crawford> 4. Share the user directory:
Richard Crawford> # share /usr/home/bob
Richard Crawford> 5. At this point, the user can see their home directory as a
separate
Richard Crawford> resource on their local network under Windows. They can map a
network
Richard Crawford> drive to it using the Map Network Drive tool, say, mapping drive G:
to
Richard Crawford> \\localhost\usr\home\bob
Richard Crawford> Et voila! The user can now read and write to the shared resource on
Richard Crawford> Trinity.
Richard Crawford> The difficult now is making sure that the files they create and use
have
Richard Crawford> the right attributes. They need to be set to permission 774 but
that
Richard Crawford> doesn't seem to be working. When I tested this setup and created a
file
Richard Crawford> from Windows, the file looked like this:
Richard Crawford> -rwxr--r-- 1 1001 staff 1966 Jul 17 14:43 testing.html*
Richard Crawford> The owner name is wrong (it should be bob), but the group name is
Richard Crawford> correct. However, the group permission is wrong. The owner name
being
Richard Crawford> wrong is something that we can live with (I can always execute a
massive
Richard Crawford> "chown" as root at some time in the future).
Richard Crawford> I attempted umask in the directory but that didn't seem to work.
Richard Crawford> Does anyone have any suggestions? I'd like to get this solved by
Richard Crawford> tomorrow afternoon.
Look at your Windows/SunPCi configuration. Unfortunately I'm not
familiar with that, so I cannot provide any help here, but whatever
application writes that file, the same application sets up permissions.
So there should be a way to set this up in SunPCi software ( or
Windows )
Regards,
Peter
--
Peter Kirkov
Support Engineer
________________________________________________
ACT Sofia
Tzarigradsko shosse blvd. 7km
BIC-IZOT, Office 710-714 Tel: +359-2-9718354
1113 Sofia - Bulgaria Fax: +359-2-9718343
mobile: +359-89-919638
mailto:[EMAIL PROTECTED]
_______________________________________________
Solaris-Users mailing list
[EMAIL PROTECTED]
http://www.filibeto.org/mailman/listinfo/solaris-users