LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
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 01-24-2005, 10:36 PM   #1
rgiggs
Member
 
Registered: Apr 2004
Location: berkeley, ca
Distribution: slk10, winxp
Posts: 313

Rep: Reputation: 30
makepkg messed up permissions


hi,
i was following the instructions to make packages by 'make DESTDIR=... install'. i figured since i used make install, not copying the file manually, the permissions should be ok. i also briefly checked the permissions of the files before calling makepkg.
however, after installing the package, i (normal user) lost (i think) all permissions. funny thing is, i switched to another virtual console/terminal (what do you call those that you can switch using ALT and the function keys anyways?), and tried to log in. i entered username and password, then it said something like "cannot cd to /home/rgiggs" and then i was kiced out immediately.
strange how one seemingly correctly configured package (it was xfce 4.0.6 by the way) could change the permissions for (perhaps) all other files/executables and lock me out entirely.
i reinstalled slackware, figuring the system was so screwed that it'd be faster to reinstall it clean.
any insight would be helpful.
thanks.
 
Old 01-25-2005, 04:17 AM   #2
keefaz
LQ Guru
 
Registered: Mar 2004
Distribution: Slackware
Posts: 6,552

Rep: Reputation: 872Reputation: 872Reputation: 872Reputation: 872Reputation: 872Reputation: 872Reputation: 872
It is better to be root to make a package, and it is also better to choose a working directory
in /tmp. Be very carefull when doing a package, it is easy to make a confusion with the
package and the system paths, like ./etc and /etc
 
  


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
I messed up with permissions mfrangos79 Linux - Security 4 07-20-2005 08:58 PM
messed up permissions Smokey Slackware 5 10-29-2004 12:17 PM
su permissions messed up ceph Linux - General 1 09-08-2004 11:54 PM
Messed up my permissions usercsr Slackware 7 07-08-2004 11:21 AM
I think I messed up my permissions... jeffreybluml Linux - Newbie 4 03-25-2004 06:12 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 06:21 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