How do I put myself in the staff group?

I have been trying to optimize my iMac 24 ever since I upgraded to OS X Lion.  Tons of SBBOD and general slowness.  I went through all the basics and things are much better.  This included booting in to the recovery partition and resetting my home folders permissions back to the defaults for Lion.  I did this because I noticed that the permissions on my stuff in my home folder still had me in the group that was identified by my username - a throw back to a prior version of OS X.
After running the procedure, here is what my home directory looks like:
iMac24:~ hstan$ ls -l
total 2032
-rw-r--r--@  1 hstan  staff  518912 Sep 23 15:26 Apache Documents
drwx------+ 13 hstan  staff     442 Dec 20 08:11 Desktop
drwx------+ 62 hstan  staff    2108 Dec 16 15:14 Documents
drwx------+  5 hstan  staff     170 Dec 20 08:09 Downloads
drwx------@ 73 hstan  staff    2482 Dec 21 10:22 Library
drwx------+ 19 hstan  staff     646 Nov 28 21:25 Movies
drwx------+  7 hstan  staff     238 Mar 26  2006 Music
drwxrwxrwx   6 hstan  staff     204 May 27  2008 News.framework
drwx------+  8 hstan  staff     272 Oct 15 14:48 Pictures
drwxr-xr-x+  6 hstan  staff     204 Sep 24  2010 Public
drwxr-xr-x   8 hstan  staff     272 Nov  6  2010 Sites
iMac24:~ hstan$
I did successfully reset all the permissions in my home folder to what Lion expects as above.  Popping a terminal, I ran the 'id' command and this what I see:
iMac24:~ hstan$ id
uid=502(hstan) gid=502(hstan) groups=502(hstan),401(com.apple.access_screensharing),12(everyone),33(_appstore ),61(localaccounts),80(admin),98(_lpadmin),
100(_lpoperator),204(_developer)
How do I put myself back in to the staff group?  I know that I have to do it via the shell - just don't know to do it.  Also, once I do manage to put myself back in to the staff group should I delete the gid 502(hstan)?
I do admit that things did indeed smooth out after I reset my home folder to the default permissions.  Just stuck on this last bit of cleanup work.
Thanks!

Realize this thread has been dead for a while, but I was running into permission problems on 10.8.0 and managed to find this fix. I can't remember when I last did a clean install, but it was before the transition to staff as the primary group, so the account is pretty old.
I used Directory Utility to change the primary group on my account (twillis) from twillis to staff as described. I then rebooted into the recovery partition and ran resetpassword to repair the home directory permissions and also rain repair permissions from Disk Utility. Finally, I used chgrp to manually change groups on some things like apps and frameworks that were in twillis (this looked like the right group to use based on context). Process went smoothly and worked as expected with one glitch.
I have now found a few situations where files are still created or changed to the twillis group. According to id I am no longer in that group (as I would expect):
[twillis@elle] ~ 39 # id
uid=501(twillis) gid=20(staff) groups=20(staff), 401(com.apple.access_screensharing), 12(everyone),
33(_appstore),61(localaccounts),79(_appserverusr),80(admin),81(_appserveradm),9 8(_lpadmin),
100(_lpoperator),204(_developer)
As an example, unzipping a zip file with the Finder creates files in the group twillis even if the zip file and its contents were in staff. Another example involves AlbumData.xml in the iPhoto Library package: I can chgrp it to staff, open Aperture, edit a picture, and quit and AlbumData.xml will be back in twillis on exit (doing a simlar set of steps with iPhoto though does not change it).
Should I have removed the twillis group with Directory Utility too (using the "-" button right under the left column of the window) --- twillis is showing up listed in Users&Groups too in a "groups" section after the accounts, so perhaps I can delete it from there too? Or is there some other state that is still associating the twillis group with the twillis account that I also need to change?
Thanks,
tw

Similar Messages

  • How do I add myself to the "staff" group for a samba share?

    Hi all,
    I've been struggling with this for a few hours now. I searched but could not find the answer (neither here nor google).
    I am trying to set up a samba share on my raspberry pi and have it accessible by all other computer on my local network (just a home network). I want it set up so that when I access the share via my linux desktop I have read/write privileges, but when other users (my family, variety of linux and windows machines) access it they have read-only access and do not have to enter a password. I am not sharing any printers. The raspberry pi and my desktop are both running arch.
    I am currently able to mount the share, but I only have read-only access. In the smb.conf file it has a pre-configured section for A publicly accessible directory, but read only, except for people in the "staff" group, which is the section I have tried to use. My user name on my desktop is 'gav', and I have created a user with the same name on the pi. On both the pi and the desktop I have added 'gav' to the staff group (using groupadd and usermod -aG).
    On Windows machines: a Windows 7 desktop found the share and prompted for a password, I entered my password (as 'gav') and could access files, but read-only. A windows 8 laptop couldn't see it at all.
    Here are some outputs of some things:
    testparm (on the pi)
    Load smb config files from /etc/samba/smb.conf
    rlimit_max: increasing rlimit_max (1024) to minimum Windows limit (16384)
    params.c:Parameter() - Ignoring badly formed line in configuration file: i
    Processing section "[sharedfiles]"
    Loaded services file OK.
    Server role: ROLE_STANDALONE
    [global]
    workgroup = PISERVER
    server string = Shared Media
    log file = /var/log/samba/%m.log
    max log size = 50
    dns proxy = No
    idmap config * : backend = tdb
    [sharedfiles]
    comment = Proper share
    path = /mnt/sambashare
    write list = @staff
    guest ok = Yes
    I'm not sure which is the 'badly formed line', any idea how I find out?
    smbtree (on desktop)
    WORKGROUP
    PISERVER
    \\PI Shared Media
    \\PI\sharedfiles Proper share
    \\PI\IPC$ IPC Service (Shared Media)
    ASUSROUTER
    smbclient -L PI -U% (on desktop)
    Domain=[PISERVER] OS=[Unix] Server=[Samba 4.1.0]
    Sharename Type Comment
    IPC$ IPC IPC Service (Shared Media)
    sharedfiles Disk Proper share
    Domain=[PISERVER] OS=[Unix] Server=[Samba 4.1.0]
    Server Comment
    PI Shared Media
    Workgroup Master
    ASUSROUTER DSL-N55U
    PISERVER PI
    WORKGROUP SHODAN
    command I entered to mount share (as root)
    mount -t cifs //PI/sharedfiles /media/pi -o user=gav,password=pass,workgroup=PISERVER,ip=192.168.1.199
    Any help would be appreciated, please let me know if there are any more outputs I can provide.
    Thank you for reading
    Last edited by gav989 (2013-11-10 13:34:46)

    Consider using sshfs to mount your Pi from your Linux boxes.  It's much easier to configure and manage than samba.  It sounds like you already have your Windows machines mounting your Pi so Samba is doing its job in that respect.
    More info on sshfs in the Wiki: https://wiki.archlinux.org/index.php/Sshfs
    To help get you off the dime, here's a modified line from my fstab that I use to mount my Pi with:
    gav@PI:/mnt/backup /mnt/rpi/backup fuse.sshfs rw,relatime,user_id=0,group_id=0,allow_other 0 0
    Subsitute my mount points with yours.
    For a password-less mount:
         ssh-copy-id gav@PI
    after you've set up ssh and generated some keys on your client box.
    Here are some relevant lines from the smb.conf file on my Pi that I use for my one Windows box in the house that might help you with your write permissions:
       security = user
      hosts allow = 192.168.1.0/255.255.255.0
      guest account = gav
    ; And my share setup:
    [rpi]
       comment = Public Stuff
       path = /mnt
       writable = yes
    ;   printable = no
    ;   write list = @krb
    [torrent_dl]
       path = /mnt/video/torrent_dl
       writable = yes
       create mask = 0770
       directory mask = 0770
       guest ok = Yes
       case sensitive = No
       read only = No
    Hope this helps.

  • How do i put text in the picture

    how do i put text in the picture ?

    In addition to the apps already mentioned here are some that can add text to a photo:
    Some Image Editors That Support layers:
    Photoshop Elements 11 for Mac - $79
    GraphicConverter - $40
    Rainbow Painter - $30
    Imagerie - $38
    Acorn - $50
    Pixelmator - $60
    Seashore - Free
    GIMP for Mac - Free
    Xee 2.1 - free

  • How do i share my movie i have on imoivie with other divices? or how to i put in on the smartboard

    how do i share my movie i have on imovie with other divices? or how to i put it on the smartboard at school??

    - You can AirPlay it on an Apple TV or other device that supports AirPlay
    - You can connect an adopter and connect the iPod to a TV
    - You can import the move to your computer and then do what you want to do with it.
    - If your school's SmartBoard supports uploading from an iOS device (iPod touch, iPhone or iPad) you can directly upload to the board. Otherwise you will have to transfer to computer to upload to the board.
    - Transfer the the movie to DropBox or similar cloud serve and then distribute how you wish.

  • How do I put aperture in the "vault" on my WD Smartware external hard drive backup?

    How do I put aperture in the "vault" on my WD Smartware external hard drive backup?

    How do I put aperture in the "vault" on my WD Smartware external hard drive backup?

  • HT204408 Can I delete files in "All My Files" under Finder and Favorites without deleting them in the actual folders?  If they will be deleted from the original folders then how do I put them on the external hard drive to save the documents, photos, and v

    Can I delete files in "All My Files" under Finder and Favorites without deleting them in the actual folders?  If they will be deleted from the original folders then how do I put them on the external hard drive to save the documents, photos, and videos?

    Switch to the Finder app and open its preferences.
    Remove the check mark on the items you don't want displayed in the Sidebar tab.
    The originals are not removed from the machine.

  • HT2486 How can you put same contact in a Group multiple times so that you can print the same mailing label multiple times?

    How can you put same contact in a Group multiple times so that you can print the same mailing label multiple times?

    Hello,
    Avery...
    https://discussions.apple.com/thread/2588943?start=0&tstart=0
    Or...
    http://www.belightsoft.com/products/labelsaddresses/overview.php

  • How can I put part od the iTunes music library of iTunes music on an external drive in order to free up disk space?

    How can I put part od the iTunes music library of iTunes music on an external drive in order to free up disk space?

    see this
    http://support.apple.com/kb/HT4527
    http://support.apple.com/kb/HT1364
    Peace, Clyde

  • How do I put timecode on the storyline.  In FCP 7 there was a time code reader that read the actual TC on the source material.  There isn't one in FCP 10.1...Any recommendations???

    How do I put timecode on the storyline.  In FCP 7 there was a time code reader that read the actual TC on the source material.  There isn't one in FCP 10.1...Any recommendations???

    TC has not been lost...skimmer shows source TC.
    Nanoflash external recorder via SDI on a Sony PMW-EX3.
    Ok so Compressor will show source TC on an individual clip, good I didn't know this and it will be helpful.
    My scenario.  I build a timeline with a whole days shooting involving many different clips and build a Sequence from that-editing out the off camera questions/mistakes etc.  In the past I would export with source TC with a Timecode Reader filter applied.  Now, it is a TC Generator filter that is available that starts from 00:00.
    1. Possible solution, forget the source TC since I have a timeline built with (counter) TC on it and send that to client or get Apple to add it in the future.
    2. Apply TC Generator on a clip by clip basis and manually change the TC to match source material.  Probably too, much effort though.
    Chris

  • How do you put videos on the ipod?

    sorry i just got my ipod and the manual dont really help. How do you put videos on the ipod?

    Go to the ITunes web site and download the free copy if Saturday Night Live or Battle Star gallactica at the top. Let the images refresh they will come up. Or download this test file "First One at top":
    http://docs.info.apple.com/article.html?artnum=75424

  • How would i put pictures on the songs??

    How would i put pictures on the songs??

    Album artwork?
    In iTunes, on the bottom left is a box with an arrow up (if it's an arrow down, don't click), click on that and the icon will change with a box and an arrow down.
    Find the file on Safari/FireFox/IE/whatever internet browser you use, and click and hold the picture. Now drag it to the iTunes window, and release on the empty box in the low left pane. (You can also copy/paste the image from the internet, and onto the song.
    For multiple songs, select the songs you want to modify, right click (apple click for Mac), and select "Get Info". Copy and paste the image into the Album artwork box, and make the sure the tick box is checked. Apply (and select ok to the message that appears, warning you of changing multiple songs). Let it process and in less than a minute, you'll have album art.

  • I don't know much about computers can anyone walk me through this ? How Do I Change The Software Update Server Address On A Client  ? what do I open and how do i put it in the right spot?

    I don't know much about computers can anyone walk me through this ? How Do I Change The Software Update Server Address On A Client  ? what do I open and how do i put it in the right spot?

    The simplest method is to run a defaults command on the client Macs (easily pushed via Apple Remote Desktop):
    defaults write com.apple.SoftwareUpdate CatalogURL 'HTTP_URL_FOR_CATALOG'
    for a user. If you run it via sudo it will set it for whenever you use softwareupdate as root.
    The HTTP_URL_FOR_CATALOG has been changed with Mac OS X 10.6.  If you use MCX it will automatically pick the new catalog – however if  doing it manually the following URLs need to be used for whichever  client version is in question:
    Mac OS X 10.4: http://mysus.example.com:8088/index.sucatalog
    Mac OS X 10.5: http://mysus.example.com:8088/index-leopard.merged-1.sucatalog.sucatalog
    Mac OS X 10.6: http://mysus.example.com:8088/index-leopard-snowleopard.merged-1.sucatalog
    Mac OS X 10.7: http://mysus.example.com:8088/index-lion-snowleopard-leopard.merged-1.sucatalog
    Mac OS X 10.8: index-mountainlion-lion-snowleopard-leopard.merged-1.sucatalog
    To double check this applied you can run the following command:
    /usr/libexec/PlistBuddy -c Print /Library/Preferences/com.apple.SoftwareUpdate.plist
    and /usr/libexec/PlistBuddy -c Print ~/Library/Preferences/com.apple.SoftwareUpdate.plist
    to see what settings are for the computer and user appropriately.
    If  this is working correctly when running Software Update (GUI) you should  see the server address appear in parenthesis in the title of the  window.
    MCX
    Another alternative is to use Workgroup  Manager to manage the preferences via MCX from your server. This can be  done for users, or for computers if they are bound to your Open Directory.
    If you are using 10.5 Server or newer: you can simply use the Software Update section under Preferences.
    Manually:
    Choose the accounts, computers, or groups to have the preference applied to.
    Click on Preferences, and then the Details tab
    Press the Add… button and navigate to /Library/Preferences/com.apple.SoftwareUpdate.plist
    Press Edit…
    Under Often, add a New Key and enter the name CatalogURL
    Make sure the type is string and then enter your SUS URL (eg. http://mysus.example.com:8088/index.sucatalog or if using 10.6: http://mysus.examle.com:8088/ – see above from the defaults section)
    Press  Apply Now, then Done. Once users/computers have refreshed their MCX  settings (usually the next login or restart) the new settings will take  over.
    If this is working correctly when running Software  Update (GUI) you should see the server address appear in parenthesis in  the title of the window.
    In order to have a system-wide configuration one has to run the following:
    sudo defaults write /Library/Preferences/com.apple.SoftwareUpdate CatalogURL "http://your.updates-server.lan:8088/index.sucatalog"
    In order to correctly work both on Leopard and Snow Leopard the right command to issue is:
    defaults write /Library/Preferences/com.apple.SoftwareUpdate CatalogURL "http://your.updates-server.lan:8088/index-leopard-snowleopard.merged-1.sucatalog"
    Happily used and tested on my network
    The DNS trick that Chealion points out is fantastic. I use it at our office, and every computer on our LAN  will automatically pull the updates from the local repository at high  speed without any configuration.
    Create the swscan.apple.com DNS zone on your internal DNS server, and have it resolve via an A record to your Mac
    Tags: automaticupdates mac clients macosx setting as default software update
    Category: Serverfault
    Share
    0
    0
    Google +
    0
    0
    0
    5
    You might also like:
    Can I Update My Jb 4s To 6.1.2 Without Restore? Tue. Jan 21st, 2014
    Iphone 4 Not Charging After Update To IOS6 
    IPad 2 Not Updating To IOS 5.1 
    How To Resolve The â€âunable To Install Update” Error For OTA IOS Updates? 
    What Is â€âSoftware Update” Doing When It Says â€âChecking For New Software”? 
    Advertisement
    Comment
    - See more at:  http://www.eonlinegratis.com/2013/how-do-i-change-the-software-update-server-add ress-on-a-client-mac-to-use-my-own-server/#sthash.YhHp5zWk.dpuf

  • How can I put favicons on the bookmarks bar?

    I am used to seeing favicons next to my bookmarks--in fact, I have several that have favicons only (such as Google Reader, ESPN). Can this happen with Safari (Windows)? After favicons, seeing all text bookmarks on the bookmarks bar is so 2000s.
    Sorry if this is the wrong category; I didn't see a Windows Safari version forum.

    TheScreamoPrincess wrote:
    *How Can I Put Lyrics On The Songs In The iPod Touch?!
    Read the response by Jim VanLeeuwen, but I might add a few comments:
    (a) Lyrics on the Touch are only supported if you have firmware 2.0 or later.
    (b) If you auto-sync your iPod, the changes you make to your library will be copied over to the Touch on your next sync. But if you manually manage the Touch I believe that you will need to delete the revised songs from the Touch and drag the new copies over. Although you can add lyrics directly to the songs that are on the Touch (if you manually manage) it is better to edit your library and replace the updated songs on the Touch. That way in case your Touch ever gets corrupted and you have to delete everything, you won't lose the lyrics (or any other tag changes you made directly on the Touch).

  • HT3529 How do I take myself off of a group chat list?

    I have been included in a group chat that I no longer wish to be a part of.  How do I delete myself off the list to stop receiving everyone's texts??

    The only hope you have is to tell the person who started to group he/she needs to start a new group and leave you out.
    FWIW, there are numerous threads here and on other forums about this issue and supposedly Apple is aware of the situation.
    Whether they fix it or not is another question....

  • How to add a user to the wheel group?

    How to add a user to the wheel group in leopard?

    In Leopard, users can be added to system groups using 'dscl'. For example, while logged into an "admin" account, the command below can be entered using "/Applications" > "Utilities" > "Terminal.app" to add a user "username" to the "wheel" group:<pre>
    sudo /usr/bin/dscl . -append /groups/wheel GroupMembership username</pre>
    If you prefer a GUI, "Workgroup Manager.app", included with the Leopard version of the "Server Admin Tools" can be used.
    http://www.apple.com/support/downloads/serveradmintools105.html

Maybe you are looking for

  • Start up disc problems and my imac will not boot from the cd.

    Hi All, I have a start up disc that needs repaired, according to ONYX so then reading the apple support guide it seems I boot from my OSX CD that came with my iMac and use First Aid. However when I insert my OSX CD my imac reads it fine, as it does w

  • Connector Won't Fit

    Before I bought the iPhone 4 I was using the 3GS iPhone. I have a cable that is installed in my car connected to the car stereo to play music from the iPhone/iPod. I'm using the 30 pin connector on the bottom and not the earphone jack. Besides playin

  • How to Read,Write & Update XML File

    hi, How to read,create and update an XML file using DOM

  • Record appending problem in the flat file

    Hi everybody, I am using this code I have to append records one by one(in next line) in a text file, But the records are getting appended side by side how to solve this problem. code is like this <% String varValue="042204ccc"; String loginID="xxxx";

  • I cannot retrieve my website!

    I had a website created with iWeb that I used to publish to Mobile. When Mobile was about to end, I published it via FTP to Hostexcellence, it works fine (http://www.pascoli.com/Pascoli/Home.html). Of late I opened iWeb and my site had vanished, ther