Gordon Ross <[email protected]> writes:

>> > You need to either run the mount command as user "reader"
>> > (assuming that's who should be able to r/w the mount).
>> 
>> I'm running it as root because user fails like this:
>> reader > mount -Fsmbfs //harvey/harvey-e /mnt/harvey-e
>> Password:
>> mount: mount_smbfs: /mnt/harvey-e: Not owner
>> 
>> Should user be able to do that?  If so how is it done?
>
> 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.

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

Reply via email to