> > You can only mount on directories you own.
> > As root, do "chown reader /mnt/harvey-e"
> > then as "reader" run:
> >   /usr/sbin/mount -F smbfs //harvey/harvey-e /mnt/harvey-e
> 
> You man not have noticed but the first post on this was example of
> exactly what you say above.  The mount point belonged to user reader.
> 
> Before the command: ls -l
> drwxr-xr-x 2 reader wheel 2 2009-03-26 07:10 harvey-e
> 
> reader > mount -Fsmbfs //harvey/harvey-e /mnt/harvey-e
> Password:
> mount: mount_smbfs: /mnt/harvey-e: Not owner
> 
> The error is, at best misleading... since reader is the owner.
> 
> None the less, mount fails when run by user reader with a user reader
> owned mount point.

Oh.  Sorry I missed that.

Does it work to make the mount as root?  (and with uid=...?)
If so, there could be something missing from the RBAC config.
i.e. check for smbfs in /etc/security/exec_attr ...

If it fails as root (with same Windows login) then the real
error may be the tree connect being denied by the server.
Might want to snoop during the mount.

Gordon


_______________________________________________
cifs-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/cifs-discuss

Reply via email to