Find the answer to your Linux question:
Results 1 to 2 of 2
Hi, I have created a user using useradd xxx and chaged the passwd xxx. I am able to successfully log into xxx , but when i am trying to create ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Dec 2011
    Posts
    1

    Giving permission for file creation in SuSe


    Hi,

    I have created a user using useradd xxx and chaged the passwd xxx. I am able to successfully log into xxx , but when i am trying to create a file its displaying " Permission denied"

    Please help me how to give the rights to user xxx

    Thanks in advance!

    -Sumanta

  2. #2
    Linux User Krendoshazin's Avatar
    Join Date
    Feb 2005
    Location
    London, England
    Posts
    471
    Where are you attempting to create these files? Users should only have access to their home directories and devices they've mounted, the rest belongs to root. If you're attempting to create the files in the user's home directory, then you'll need to change the owner as root:
    Code:
    chown -R user:group /home/user

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •