How to give user rights to a folder  (for Dummies, please help)

My userid, db2inst1, does not have rights to create, edit, and view files in it's home folder and subdirectories.
/export/home/db2inst1
I try to edit and view files in the sub folders, but get access denied. I thought it should have full rights to this folder?
I tried using the SMC as root, added the user db2inst1 to root and sys groups, then gave the user all rights, but that did not solve the issue.
What would be the terminal command to give this user, db2inst1, full rights to the home directory. It needs all rights to files created by other users. What ever is in the home folder and all subfolders under home, it needs the maxiumum access.

The short answer would be "chown -R <username> /export/home/<username>" where username is the user in question.
To be more polite you also need to change group ownership of users home folder to match primary user's group. Primary group can be seen by typing "id <username>", first group is the primary. If you know the group then you can do "chown -R <username>:<groupname> /export/home/<username>"
p.s. if you got to this because you created user with "useradd", then remember next time to use -m flag which creates user's home directory with apropriate permissions.

Similar Messages

Maybe you are looking for

  • Release PO against contract whit limit value for USER

    Dear colleague, We work SRM server 5.5 . SP14 extended classic scenario, and we use contract management. We need to release PO against contract and we want to LIMIT the users that PO value have  to be between 60 USD as minimum order value and 120 USD

  • Save spot colours in Photoshop for import to Indesign

    I'm having problems in Indesign due to using drop shadows in some graphics which are over an image with transparencies. What I think would solve the problem is to remove the transparencies in the image using photoshop and then use that. However, the

  • XBOX - logs me out of live within 10 mins (BT HOME...

    Help!!!!!!!! I got an xbox which i was looking forward to getting set up and running to get on my love films, catch up and get into the world of online gaming.  Only issue - when i turn my XBOX on, it signs in to live (usually) then I can start using

  • 4.6 C Project coped to -- ECC 6.0

    I am new to LSMW. I have copied one project from 4.6 C to ECC 6.0. The lsmw worked fine in 4.6C with lsmw and vd02... however I got a problem in ECC 6.0 , the lsmw is not updated . Also vd02 looks different , in between vd02 and via LSMW in both in 4

  • New tab in Internet Sales

    Hi All, When the user clicks on an order from search results, or when create new order action invoked there are tabs created on right pane of the Internet Sales. Did anybody add new custom tabs to ISA? May be adding threedocnav.jsp(similar to twodocn