LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 11-10-2006, 09:26 PM   #1
manolakis
Member
 
Registered: Nov 2006
Distribution: xubuntu
Posts: 464

Rep: Reputation: 37
changing permissions command


Hey there!!!
Does anyone know how to change permissions in Linux?
I had a problem and i decided to make a new user account and i erased the previous one. In the home dir i still got the previous user-folder but this time is locked.
I want to have access to it and use its content.
 
Old 11-10-2006, 09:51 PM   #2
duryodhan
Senior Member
 
Registered: Oct 2006
Distribution: Slackware 12 Kernel 2.6.24 - probably upgraded by now
Posts: 1,054

Rep: Reputation: 46
chown <new-user-name> <file name>

do as root.
 
Old 11-10-2006, 10:12 PM   #3
slakmagik
Senior Member
 
Registered: Feb 2003
Distribution: Slackware
Posts: 4,113

Rep: Reputation: Disabled
probably need to make that chown -R(ecursive) - oh, and technically, we're changing ownership there. To specifically change perms, it'd be chmod, of course. (man ch{mod,own} for more details)

Last edited by slakmagik; 11-10-2006 at 10:14 PM.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
file permissions OK, but command permissions? stabu Linux - General 2 10-05-2005 12:00 PM
Changing permissions NomDeGuerre Linux - Newbie 10 03-10-2004 11:55 AM
Changing permissions in 9.2 Jerrac Mandriva 17 12-08-2003 07:36 AM
Changing Many Permissions at Once food188 Linux - General 3 11-02-2003 08:17 AM
Changing Permissions linuxfond Linux - Newbie 11 07-01-2003 02:48 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 05:10 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration