LinuxQuestions.org
Review your favorite Linux distribution.
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 03-09-2004, 12:08 PM   #1
ryedunn
Member
 
Registered: Jul 2003
Location: Chicago
Distribution: Fedora, ubuntu
Posts: 459

Rep: Reputation: 30
files dependant on location (easy question)


I just installed samba3 .rpm and for some reason it put the smbpasswd file in a different dir. My question is that if I move this file into my samba3 dir, can that create any problems. Better yet, when a package is installed by an rpm, is there anything which states that the files MUST remain in these directories (besides the smg.cfg which I can manually change)?

If you have problems understanding my cryptic/newbie rhetoric, it might help to think like an M$ user where files can be dependant on its particular location.

The Gnubie
 
Old 03-09-2004, 12:19 PM   #2
qwijibow
LQ Guru
 
Registered: Apr 2003
Location: nottingham england
Distribution: Gentoo
Posts: 2,672

Rep: Reputation: 47
never move a binary.
instead, create a symbolic link.

ln -s [Full path to actual binary] [full path to symbolic link to create]

man ln for more info
 
Old 03-09-2004, 12:43 PM   #3
ryedunn
Member
 
Registered: Jul 2003
Location: Chicago
Distribution: Fedora, ubuntu
Posts: 459

Original Poster
Rep: Reputation: 30
how can I tell if something is a binary?
 
Old 03-09-2004, 12:49 PM   #4
qwijibow
LQ Guru
 
Registered: Apr 2003
Location: nottingham england
Distribution: Gentoo
Posts: 2,672

Rep: Reputation: 47
umm, i dont know...
you just do i suppose.. lol.

if its not a text file mp3 mpeg wav ogg html config jpg bmp then its a binary.. lol

well, you shouodnt realy move anything.
if a pragram A expects program B to be somwhere other than it is, then either fix it with a symbolic link (this is the messy way)
or re-compile program A editing the config file to point ot program B's actual position.

but ive only ever had to do this on very unusual distro's like knoppix.
 
  


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
easy question on downloading files > 2gig peter72 Linux - Networking 3 04-20-2005 05:29 PM
correct location of files kevin_hill54 Linux - Newbie 1 03-10-2005 07:22 AM
deamon files - location czezz Solaris / OpenSolaris 2 11-30-2004 08:41 AM
Help getting Dependant Files for Packages Garibaldi3489 Slackware 2 11-04-2004 07:35 PM
Folder location of new files timsch75 Linux - Newbie 2 03-22-2004 11:02 AM


All times are GMT -5. The time now is 01:17 AM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration