Windows client: File permissions and UNC path

Message boards : Questions and problems : Windows client: File permissions and UNC path
Message board moderation

To post messages, you must log in.

AuthorMessage
rvp_lan
Avatar

Send message
Joined: 30 Dec 08
Posts: 24
France
Message 42852 - Posted: 4 Mar 2012, 12:55:32 UTC

Boinc versions: 6.12.34 and test with new 7.0.18
OS: Windows XP 64bits SP2

Hi there,

I've tried to uninstall and reinstall Boinc client and manager in order to have my data on a shared network folder (Linux Samba share with full writable browseable permissions for everyone).

Between the uninstall/reinstall, I deleted all users and groups created by Boinc previous installation. Also set files permissions of Boinc's data folder for "full control" to "everyone" and removed all other users/groups.

With new install, it seems that installer tries to set permissions on the data folder, EVEN if it is set with: UNSELECT "protected application execution"; SELECT "ALLOW all users to control". Error message from dialog box and event viewer is:
Product: BOINC -- Error 1926.Could not set file security for file \\server\boinc\. Error: 5. Verify that you have sufficient privileges to modify the security permissions for this file.

I've also tried to connect the remote share to a drive letter B:, doesn't work either. Error message from dialog box and event viewer is:
Product: BOINC -- Error 1926.Could not set file security for file B:\. Error: 3. Verify that you have sufficient privileges to modify the security permissions for this file.

So, I've tried with local data, but still with NO protected mode and ALLOW all users control: installer still create boinc_users, boinc_masters groups, and RESET permissions on folder data (everyone is dismissed)???? Isn't it inconsistent with: allow ALL users to manage?

Then I created an unpriviledge user to check: Once logged, trying to launch boinc or boincmanager, it ends with this error: You are not allowed to manage Boinc. Ask your administrator to add you in the boinc_users group.

So, it seems to me inconsistent with "allow ALL users to manage Boinc". If I check this first in installer, I don't want to spend time after to add users to a group...

I fully understand that when Boinc runs in a service mode, we need special priviledges to stop/start the service, but when Boinc is run in standard executable mode?

Two questions:
1) Whatever are the options, are UNC paths supported for Boinc's data? (as a Linux mounted drive in my mind)
2) If we don't want to run Boinc in protected mode (through boinc special user), why installer still create boinc groups and set filesystem permissions on Boinc's data?

Regards

Seems related to this post: http://boinc.berkeley.edu/dev/forum_thread.php?id=7344&nowrap=true#42830
ID: 42852 · Report as offensive
Profile Trog Dog
Avatar

Send message
Joined: 6 May 06
Posts: 287
Australia
Message 42864 - Posted: 4 Mar 2012, 23:49:12 UTC

I can't answer your questions specifically, but on my samba shares I have to set the owner:group as nobody in order for the windows boxes to be able to write to them (but that may be just a quirk of my particular setup). I've never tried installing a windows program to a samba share, but I would think that it would be problematic particularly when it comes to setting permissions because the windows installer thinks it's talking to a windows box and wants to set the permissions in the windows way, whereas your samba share needs its permissions set the linux way.

I would think that to achieve what you're trying to do you would have to fool the installer - physically add a drive to your windows box eg drive D. Use the installer to install the data directories to it, copy this to your samba share, remove the new drive, map your data directories on the samba share as drive D.


CIC1=CC=C(C2=N[C@@H](CC(OC(C)(C)C)=O)C3=NN=C(C)N3C4=C2C(C)=C(C)S4)C=C1
ID: 42864 · Report as offensive
rvp_lan
Avatar

Send message
Joined: 30 Dec 08
Posts: 24
France
Message 42866 - Posted: 5 Mar 2012, 1:07:59 UTC - in response to Message 42864.  

Thx for the tip.

Actually only the data part are to be located on the network share. The Boinc's binaries stay local to the computer.

In the installer, you can choose separatly these two locations.
ID: 42866 · Report as offensive
Profile Trog Dog
Avatar

Send message
Joined: 6 May 06
Posts: 287
Australia
Message 42874 - Posted: 5 Mar 2012, 9:38:11 UTC - in response to Message 42866.  


Actually only the data part are to be located on the network share. The Boinc's binaries stay local to the computer.

Yeah I understood that, and I still think you are going to have to fool the installer
CIC1=CC=C(C2=N[C@@H](CC(OC(C)(C)C)=O)C3=NN=C(C)N3C4=C2C(C)=C(C)S4)C=C1
ID: 42874 · Report as offensive

Message boards : Questions and problems : Windows client: File permissions and UNC path

Copyright © 2024 University of California.
Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.2 or any later version published by the Free Software Foundation.