03-17-2011
Quote:
Originally Posted by
Corona688
I know that. And I noted that if statement looks like it should do so.
Which is why I asked what, exactly you were typing into it, and also asked you to make sure you were typing it in letter for letter, and asked you if you were aware these paths were case-sensitive.
sorry for the confusion. the if statement works correctly if the directory does exist it says so and if it does not it does attempt to create the directory but i get the error
"mkdir: cannot create directory '/home/timberwolves/coaches': Permission denied"
then it proceeds with the if statement for failing the check.
9 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hi, Im newbie,
I wanna to create file in each user directory, how to make that script, maybe someone can give me example, im confusing coz i have to change form one user directory to other
Thank U. (8 Replies)
Discussion started by: cleks
8 Replies
2. UNIX for Dummies Questions & Answers
Please help. I am the beginner. Don't understand about archive file. How to create a directory for the files from each archive with name of directory which equivalent to the base name of the archive. eg I have file abc.txt. How can I create a directory name abc. Thank you (1 Reply)
Discussion started by: snail
1 Replies
3. Shell Programming and Scripting
hello.
i hav accepted name of directory from user through a form.now i need to create a directory under cgi-bin of that name.I am not able to do so.n help is required (12 Replies)
Discussion started by: raksha.s
12 Replies
4. Shell Programming and Scripting
Hi All,
I have directory under /opt/test.
The ownership of the test directory is root:root.
I have login to the server as test user.
I need to have some script to create a directory inside /opt/test.
This script will be called as test user.
When I try to execute... (4 Replies)
Discussion started by: kalpeer
4 Replies
5. Solaris
I need to create a user account for a developer that will allow him rwx access to all resources in a directory. How can I do that?
Thanks (5 Replies)
Discussion started by: gsander
5 Replies
6. AIX
Hello,
I am new in AIX please tell how can i create user and add group in this user for example, i want to create user umair and want to add this user primanry group DBA and secondary group ORACLE,how can i do this please tell in detail
Thanks,
Umair (1 Reply)
Discussion started by: umair
1 Replies
7. Solaris
Hi All,
I am trying to uninstall jdk 1.5 from my Solaris 10 64 bit but some how was not successful.so tried to delete the folder of jdk from /usr but its throughing error as:
Unable to remove directory jdk: Read-only file system
Even I tried to create a dir in /usr but its not allowing me... (4 Replies)
Discussion started by: Pshah
4 Replies
8. Shell Programming and Scripting
Hello All,
I have to write a shell script and use it in informatica. The script has to perform below actions:
The script gets executed from edw user.
Through the script, a DT folder has to be created under edw_sca user.
Is this scenario possible through a SHELL script or not.
... (2 Replies)
Discussion started by: bghosh
2 Replies
9. Shell Programming and Scripting
I have a script, which is checking if file exists and move it to another directory
if
then
mkdir -p ${LOCL_FILES_DIR}/cool_${Today}/monthly
mv report_manual_alloc_rpt_A_I_ASSIGNMENT.${Today}*.csv ${LOCL_FILES_DIR}/cool_${Today}/monthly
... (9 Replies)
Discussion started by: digioleg54
9 Replies
LEARN ABOUT DEBIAN
pdebuild-user-mode-linux
pdebuild-user-mode-linux(1) pbuilder pdebuild-user-mode-linux(1)
NAME
pdebuild-user-mode-linux - pbuilder-user-mode-linux way of doing debuild
SYNOPSIS
pdebuild-user-mode-linux [pdebuild-user-mode-linux options] -- [pbuilder-user-mode-linux options]
DESCRIPTION
A convenience program for pbuilder-user-mode-linux which invokes pbuilder after obtaining appropriate root privilege in a Debian source
directory. One must be inside the source tree containing the debian directory, in order to make it work.
PDEBUILD OPTIONS
--buildsourceroot [fakeroot]
The command used to gain root privilege for invoking dpkg-buildpackage
--auto-debsign
Invoke debsign at the end of pdebuild process.
--debsign-k [key-id]
Pass -k option to debsign to specify which keyid to sign.
--buildresult [Directory for build results]
The place which build result is stored.
--configfile [Extra config file to use]
The configuration file is used, but not passed on to pbuilder-user-mode-linux.
--debbuildopts [options to pass to dpkg-buildpackage]
The space-delimited list of options are passed to dpkg-buildpackage. This option appends to pbuilder option --debbuildopts and may
also be used to reset the list of options by passing the empty string.
--use-pdebuild-internal
Uses a different implementation of pdebuild, which calls clean and build inside the chroot, using bind-mounts.
pdebuild-internal tries to run debian/rules clean inside the chroot. To achieve the goal, the working directory is passed on inside
the chroot, in the form of bind-mounting and debuild is run.
This option will not protect the working directory and its parent directories from the build scripts.
-- [pbuilder options]
After the -- symbol, an arbitrary number of pbuilder options can be specified. See pbuilder-user-mode-linux.1 for full list of
options.
There is an exception that --buildresult needs to be specified as pdebuild option before the -- to be effective.
FILES
/etc/pbuilderrc
The configuration file for pbuilder-user-mode-linux, used in pdebuild-user-mode-linux.
/usr/share/pbuilder/pbuilderrc
The default configuration file for pbuilder-user-mode-linux, used in pdebuild-user-mode-linux.
${HOME}/.pbuilderrc
Configuration file for pbuilder-user-mode-linux, used in pdebuild-user-mode-linux, overrides what is written in /etc/pbuilderrc
AUTHOR
Initial coding, and main maintenance is done by Junichi Uekawa <dancer@debian.org>.
The homepage is available at http://pbuilder.alioth.debian.org
SEE ALSO
/usr/share/doc/pbuilder/pbuilder-doc.html, pbuilder-user-mode-linux(1), pbuilderrc(5), pbuilder-uml.conf(5)
Debian 2006 May 24 pdebuild-user-mode-linux(1)