LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices

Reply
 
Search this Thread
Old 08-29-2006, 11:05 AM   #1
BiThian
Member
 
Registered: Aug 2006
Location: Romania
Distribution: NetBSD 3.1
Posts: 118

Rep: Reputation: 15
slackware owners and groups


I was making a package and I typed
Code:
chown -R root.root /usr/
, when I should had typed:
Code:
chown -R root.root ./usr/
Can someone post the list with user&group for the /usr directory?
Thanks.
 
Old 08-29-2006, 12:28 PM   #2
dunric
Member
 
Registered: Jul 2004
Distribution: Slackware
Posts: 462

Rep: Reputation: 74
From my desktop machine:
Code:
find /usr ! -user root ! -group root -printf '%u.%g %p\n'
lp.sys /usr/bin/lppasswd
daemon.daemon /usr/bin/at
bin.bin /usr/man/man3/gdbm.3.gz
bin.bin /usr/info/gdbm.info.gz
bin.bin /usr/include/gdbm.h
so it's not that bad but it strongly depends what particular packages were installed on your box.
 
Old 08-29-2006, 12:34 PM   #3
Daga
Member
 
Registered: Apr 2006
Location: A comfy chair...
Distribution: Slackware
Posts: 110

Rep: Reputation: 15
Hah, I've done similar things

There was a post a couple weeks ago about restoring permissions for the root directory. The same trick _should_ work here, possibly with a couple modifications. See:

http://www.linuxquestions.org/questi...d.php?t=462314
 
  


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
Map Windows NT Groups to UNIX Groups - why? kenji1903 Linux - Networking 4 10-16-2007 11:52 AM
Slackware Groups (GIDs) Woodsman Slackware 2 08-26-2006 11:38 PM
Playstation2 owners Fear58 General 6 06-13-2004 12:37 AM
winbind: wbinfo -g only lists global groups from PDC and not local groups saradiya Linux - Networking 0 12-01-2003 02:58 AM
Linux + 8500 owners? Kage Linux - Newbie 3 03-06-2002 05:09 PM


All times are GMT -5. The time now is 09:20 PM.

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