From: Silvio Cesar Lima (silcesar@hotmail.com)
Date: Thu Nov 14 2002 - 11:19:03 EST
Hi,
I change the permissions on parent directory for 070 and 777 for
subdirectories. I export from subdirectories so on a remote machine I can
see and change the subdirectories but not on local machine.
Thanks for everybody,
Silvio
Silvio Cesar De Lima
e-mail: silcesar@hotmail.com
|||||
o o
o
\_/
From: "Bill Hassell"<pooderbill@mindspring.com>
Reply-To: pooderbill@mindspring.com
To: Silvio Cesar Lima <silcesar@hotmail.com>
Subject: Re: [HPADM] Directory
Date: Thu, 14 Nov 2002 08:56:44 -0500
The ability to see a directory depends on the permissions of the parent
directory. The ability to see inside the directory depends on the directory
permissions. For example, as root:
mkdir /tmp/mydir
mkdir /tmp/mydir/nextdir
touch /tmp/mydir/nextdir/testfile
chmod 700 /tmp/mydir /tmp/mydir/nextdir
ll /tmp/mydir
Now change to an ordinary user:
su - ordinary_user
ll /tmp/mydir
mydir unreadable
ll /tmp/nextdir
/tmp/mydir/nextdir not found
Change the ownership to your application's owner so the app can read the
directories.
-- Best regards, Bill Hassell, pooderbill@mindspring.com _________________________________________________________________ MSN Messenger: converse com os seus amigos online. http://messenger.msn.com.br -- ---> Please post QUESTIONS and SUMMARIES only!! <--- To subscribe/unsubscribe to this list, contact majordomo@dutchworks.nl Name: hpux-admin@dutchworks.nl Owner: owner-hpux-admin@dutchworks.nl Archives: ftp.dutchworks.nl:/pub/digests/hpux-admin (FTP, browse only) http://www.dutchworks.nl/htbin/hpsysadmin (Web, browse & search)
This archive was generated by hypermail 2.1.7 : Sat Apr 12 2008 - 11:02:22 EDT