EldoS | Feel safer!

Software components for data protection, secure storage and transfer

OS X StorageAddMountingPoint as standard user

Also by EldoS: CallbackDisk
Create virtual disks backed by memory or custom location, expose disk images as disks and more.
Posted: 04/30/2015 20:20:31
by tagnal (Standard support level)
Joined: 03/18/2008
Posts: 20

I am having an issue with the OS version when I am trying to mount the storage as a Standard user in OS X.

When calling StorageAddMountingPoint(), it returns success, however, the storage object is not mounted.

Everything works fine when I am logged in as an Admin user.

Does FUSE only work with admin users? Am I not setting something properly.
Posted: 04/30/2015 20:56:37
by tagnal (Standard support level)
Joined: 03/18/2008
Posts: 20

I figured out how to configure the FUSE installation.

I ran:
sysctl -w osxfuse.tunables.admin_group=12

Now I am able to mount the storage as a standard user.

Now, to figure out how to set this after installation...
Posted: 05/01/2015 00:37:17
by Alexander Plas (EldoS Corp.)

Thank you for question and answer. Usually OSXFUSE allow any user to add the mounting point.
Posted: 05/01/2015 14:35:30
by tagnal (Standard support level)
Joined: 03/18/2008
Posts: 20

Well, I just realized that this only sets the value for the current kernel session. once the machine is rebooted, it loses the kernel parameter change. It would force the end user to enter admin credentials after every reboot to make this change.

Any other ideas?
Posted: 05/01/2015 14:52:49
by Eugene Mayevski (EldoS Corp.)

In general in Unix the procedure of mounting the device is the prerogative of the admin, so it's a possible situation that the OS won't let one create a permanent mounting point by non-admin user.

Sincerely yours
Eugene Mayevski
Also by EldoS: BizCrypto
Components for BizTalk® and SQL Server® Integration Services that let you securely store and transfer information in your business automation solutions.



Topic viewed 4297 times

Number of guests: 1, registered members: 0, in total hidden: 0


Back to top

As of July 15, 2016 EldoS Corporation will operate as a division of /n software inc. For more information, please read the announcement.

Got it!