[Brains-users] 10_ACPC directory & permission error
Eugene Zeien
eugene-zeien at uiowa.edu
Thu Mar 16 11:01:28 PST 2006
Hopefully, someday, the standard workup group will be pulled out into
the brains2 configuration files /opt/brains2/bin/brains2rc, ~/.brains2rc
Until then, if the complaint is really annoying, you can hack some code ;-)
> Dated: March 7, 2006
> I was unable to find an occurrence of 'chown' in the current brains2 source code.
> Unfortunately, there are still a couple of 'chgrp' commands that are dependent
> upon the existence of group 'stdwkup' and the user's inclusion in that group.
>
> Rather than use 'sudo' to run brains2, you can safely ignore the complaint.
> Alternatively, you can edit scripts and change 'stdwkup' to 'office-users'.
> Here's a one-liner that will change the default group for the fitting script.
>
> sed -i".bak" 's/stdwkup/office-users/g' `find /opt/brains2 -name brains2_fit.csh`
>
> [root at opteron ipl_config]# fgrep chgrp /opt/brains2/bin/brains2_fit.csh
> chgrp stdwkup $ACPCdir/$tracer/fit_$airMode.log
> chgrp stdwkup $airFile
> chgrp stdwkup $ACPCdir/$tracer/check_fit.brains2
>
> Since you are likely using an older version of brains2 than the source I'm searching,
>
> find /opt/brains2 -type f -exec fgrep -l stdwkup '{}' \;
>
> Will give you a list of the files which may contain references to this group.
> I know there is one .tcl script that uses 'stdwkup' as a function-name, and you
> probably don't want to edit the binaries.
>
> Hope this helps,
> gene
Ronald Pierson wrote:
> Seems we covered this once before on this list, but I don't remember the
> suggested solution.
>
> This problem is due to how we use groups here at Iowa. There is a stdwkup
> group, and brains2 tries to chgrp the standard directory to that group.
> This is to make sure that only the RAs that process the images have
> permissions to modify some key files. Since you don't have that group on
> your system, it gives the error. Beyond the error message, I don't remember
> that it gives any real problems. Does anyone else know for sure?
>
> Ronald Pierson
>
>
> -----Original Message-----
> From: brains-users-bounces at psychiatry.uiowa.edu
> [mailto:brains-users-bounces at psychiatry.uiowa.edu] On Behalf Of Lee, Buyean
> Sent: Thursday, March 16, 2006 12:01 PM
> To: 'brains-users at www.psychiatry.uiowa.edu'
> Subject: [Brains-users] 10_ACPC directory & permission error
>
> Dear Brains Users,
>
> I am using Brains2 installed in a RedHat Linux desktop.
>
> When I tried to create standard directory (using Create Standard
> Directory... menu), there is the following error.
>
> "Failed to change group on /soma/Fallypride/Analyses/10_ACPC/standard.
> Check your permissions."
>
> Do I need to contact IT department?
>
> Buyean Lee
>
> ----------------------------------------------------------
> IMPORTANT WARNING: This email (and any attachments) is only intended for
> the use of the person or entity to which it is addressed, and may contain
> information that is privileged and confidential. You, the recipient, are
> obligated to maintain it in a safe, secure and confidential manner.
> Unauthorized redisclosure or failure to maintain confidentiality may subject
> you to federal and state penalties. If you are not the intended recipient,
> please immediately notify us by return email, and delete this message from
> your computer.
> ----------------------------------------------------------
> _______________________________________________
> Brains-users mailing list
> Brains-users at www.psychiatry.uiowa.edu
> http://www.psychiatry.uiowa.edu/mailman/listinfo/brains-users
>
>
>
> _______________________________________________
> Brains-users mailing list
> Brains-users at www.psychiatry.uiowa.edu
> http://www.psychiatry.uiowa.edu/mailman/listinfo/brains-users
>
More information about the Brains-users
mailing list