Sponsored Content
Full Discussion: MakeFile Issues
Top Forums UNIX for Dummies Questions & Answers MakeFile Issues Post 302428238 by SkySmart on Wednesday 9th of June 2010 08:49:29 AM
Old 06-09-2010
MakeFile Issues

Ok, so apparently, when the package that has this makefile in it is installed, it changes the permissions and ownership of /var/ and /var/home to cacti.

how can i modify the below so that only /var/home/cacti is given the ownership cacti:cacti and 755?

thanks


Code:
rm -rf fakeroot
        mkdir fakeroot
        $(INSTALL) -d -o cacti -g cacti -m 755 $(PWD)/fakeroot/var/home/cacti/

 

10 More Discussions You Might Find Interesting

1. Programming

Makefile

I m using SUN Studiuo11 compiler.There is problem while building Makefile. I got error as dmake:fetal error command failed for target plz help me. (7 Replies)
Discussion started by: NamrataGurav
7 Replies

2. UNIX for Advanced & Expert Users

Makefile problem - How to run module load in a Makefile

Hi, I'm trying to run the module load command in a Makefile and i'm getting the following error: make: module: command not found Why is this? Is there any way to run this command in a Makefile? NOTE: command - module load msjava/sunjdk/1.5.0 works fine outside of the Makefile (2 Replies)
Discussion started by: hernandinho
2 Replies

3. Programming

Makefile help

I've copied a C++ project from my old computer to this one, and I am now trying to (without success) compile the project in the same way as I did before. I use Emacs as a text editor and compile with g++. Here is what my makefile looks like: CC=g++ CPPFLAGS=-Wall CPPFLAGS+=-I..... (4 Replies)
Discussion started by: TriKri
4 Replies

4. Programming

makefile help

Hi all, I'm new to make files . I'm writing a make file to compile and create .so files. i've 20 .cpp files. I want to compile one file at a time and then i've to create 1 .so for each file that i compiled. for eg: list.mk is having all the 20 .spp files. name = a.cpp name =+... (2 Replies)
Discussion started by: vij_krr
2 Replies

5. Programming

Makefile issues

I have the make:11: *** No seperator issue with my make file. So I needed to tab all the commands and I needed a proper editor such as RHIDE, after I downlaoded it, its make file was also corrupted and broken. Out of options, I come to forums for assistance. Would anyone please fix it for... (7 Replies)
Discussion started by: darkzboy
7 Replies

6. Programming

[Makefile] nothing to be done for 'all'

hello, I have a firts makefile who call others makefile. for this i use: $ make -f linux.mak and output his: $ make -f linux.mak all make -C DerelictAL all PLATFORM=linux make: Entering directory `/home/builder/rpmbuild/SOURCES/derelict2-20100407/DerelictAL' make: Nothing to be done for... (2 Replies)
Discussion started by: bioinfornatics
2 Replies

7. UNIX for Advanced & Expert Users

Makefile executing another Makefile first?

I have 2 libraries in 2 different directories that I build with Makefiles. library B depends on library A. If I modify a .cpp file in library A and run lib B's Makefile can I have B's makefile to automatically rebuild library A? I am now rebuilding A, followed by B... but I'd like B to... (0 Replies)
Discussion started by: wwuster
0 Replies

8. UNIX for Dummies Questions & Answers

Help with makefile

what does the -f mean in the following command ? make -f file and whats the difference if you don't add it? (2 Replies)
Discussion started by: omega666
2 Replies

9. UNIX for Dummies Questions & Answers

Issues with Makefile (cannot find )

Hello guys ! Need a bit of help is compiling a code, the makefile for which was originally designed to work on a 32-bit Linux platform, for a 64-bit Linux platform. My platform is Ubuntu 10.04 LTS 64-bit. I am trying to compile a code called csim, file name csim-1.1.tar.gz. To compile this... (0 Replies)
Discussion started by: pbhat
0 Replies

10. Homework & Coursework Questions

Help with Simple Multi-Level Makefile (Extremely New at Makefile)

Use and complete the template provided. The entire template must be completed. If you don't, your post may be deleted! 1. The problem statement, all variables and given/known data: Basically, the prompt is make a makefile with various sub makefiles in their respective subdirectories. All code... (1 Reply)
Discussion started by: Tatl
1 Replies
faked(1)						      Debian GNU/Linux manual							  faked(1)

NAME
faked - daemon that remembers fake ownership/permissions of files manipulated by fakeroot processes. SYNOPSIS
faked [--debug] [--foreground] [--cleanup] [--key msg-key] [--load] [--save-file save-file] [--port TCP-port] DESCRIPTION
If a fakeroot process wants to change the ownership of a file, then faked is the process that remembers that new owner. If later the same fakeroot process does a stat() for that filename, then the libfakeroot wrapped stat() call will first ask faked for the fake ownership etc of that file, and then report it. OPTIONS
--debug Print debugging information on stderr. --foreground Don't fork into the background. --cleanup number Cleanup the semaphores. --key key-number Don't allocate a new communication channel, but use channel specified by key. (If the specified channel doesn't exist, it's cre- ated). --save-file save-file Save the environment to save-file on exit. --load Load a previously saved environment from the standard input. --unknown-is-real Use real ownership of previously-unknown files instead of setting them to root:root. --port tcp-port Use TCP port tcp-port. BUGS
None so far. Be warned, though: although I've written quite a few much larger (and smaller) programs, I've never written anything that was as tiny as fakeroot, had as many bugs as fakeroot, and still was as usable as, say, fakeroot version 0.0_3, the first version that could be used to build itself. COPYING
fakeroot is distributed under the GNU General Public License. (GPL 2.0 or greater). AUTHORS
joost witteveen <joostje@debian.org> Clint Adams <clint@debian.org> Timo Savola MANUAL PAGE
mostly by J.H.M. Dassen <jdassen@debian.org> mods/additions by joost and Clint. SEE ALSO
fakeroot(1), dpkg-buildpackage(1), debuild(1) /usr/share/doc/fakeroot/DEBUG Debian Project 17 June 2004 faked(1)
All times are GMT -4. The time now is 03:03 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy