LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
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 07-26-2005, 02:33 PM   #1
under_r_run
LQ Newbie
 
Registered: Oct 2004
Location: NYS
Distribution: Debian 3.1 unstable
Posts: 5

Rep: Reputation: 0
restoring default device ownerships/permissions


This is probably one of the stupidest things i've done.

I accidentally ran:

chown -R user /dev

instead of:

chown -R user ./dev

Pretty much self explanatory, any quick fix?

Last edited by under_r_run; 07-26-2005 at 02:34 PM.
 
Old 07-26-2005, 02:50 PM   #2
username17
Member
 
Registered: Aug 2004
Location: Norfolk VA
Distribution: Slackware 11
Posts: 230

Rep: Reputation: 30
Hmm, change it back?

Code:
chown -R root /dev
Assuming root owns dev, I dont have a linux box in front of me, so I'm not sure.
 
Old 07-26-2005, 03:07 PM   #3
under_r_run
LQ Newbie
 
Registered: Oct 2004
Location: NYS
Distribution: Debian 3.1 unstable
Posts: 5

Original Poster
Rep: Reputation: 0
Quote:
Originally posted by username17
Assuming root owns dev, I dont have a linux box in front of me, so I'm not sure.
I thought of that too, I wasn't sure if root owned all of the devices.
 
Old 07-26-2005, 04:02 PM   #4
username17
Member
 
Registered: Aug 2004
Location: Norfolk VA
Distribution: Slackware 11
Posts: 230

Rep: Reputation: 30
I belive the group ownership varies from device to device, but I believe root owns all.

It shouldn't make a difference, but what distro are you on?


EDIT: I just SSH'd into my slack box at home, all files are owned by root, but like I said, some have different groups set.

Last edited by username17; 07-26-2005 at 04:04 PM.
 
Old 07-26-2005, 04:21 PM   #5
under_r_run
LQ Newbie
 
Registered: Oct 2004
Location: NYS
Distribution: Debian 3.1 unstable
Posts: 5

Original Poster
Rep: Reputation: 0
Yeah the group ownerships remained intact, just the owner was messed up.

I'm on Debian 3.1.
 
Old 07-27-2005, 01:27 PM   #6
username17
Member
 
Registered: Aug 2004
Location: Norfolk VA
Distribution: Slackware 11
Posts: 230

Rep: Reputation: 30
You've probably already done it, but I say set all the ownership permissions back.
GL
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
problem in restoring stdout to default user_linux Linux - Newbie 2 08-22-2005 02:21 PM
Need help restoring /var permissions Thiink Slackware 1 02-21-2005 05:36 AM
Restoring Default KDE Menus Ovalteen Linux - General 3 11-03-2004 05:17 AM
restoring alsa settings to default prEying Linux - Hardware 1 09-01-2004 11:10 AM
udev : framebuffer device (/dev/fb0) default permissions keefaz Slackware 6 07-04-2004 06:54 PM


All times are GMT -5. The time now is 04:02 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration