From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from ns.pcdesk.net ([65.100.173.137] helo=pcdesk.net) by speech.braille.uwo.ca with esmtp (Exim 3.36 #1 (Debian)) id 1Bl7HZ-0003wV-00 for ; Thu, 15 Jul 2004 10:32:21 -0400 Received: from merlin.pcdesk.net ([192.168.0.10]) (AUTH: LOGIN jbahm, TLS: TLSv1/SSLv3,128bits,RC4-MD5) by pcdesk.net with esmtp; Thu, 15 Jul 2004 08:31:36 -0600 Date: Thu, 15 Jul 2004 08:39:11 -0600 (Mountain Daylight Time) From: "Joseph C. Lininger" To: Jayson Smith , "Speakup is a screen review system for Linux." In-Reply-To: <000701c46a26$e30d07c0$6500a8c0@h2c8f0> Message-ID: References: <000b01c46954$d449eb40$6500a8c0@h2c8f0> <20040714040020.GA4927@romuald.net.eu.org> <000701c46958$85dcdfe0$6500a8c0@h2c8f0> <20040714045033.GA5416@romuald.net.eu.org> <001501c46970$ad2ede00$6500a8c0@h2c8f0> <20040714173826.GA13425@romuald.net.eu.org> <000701c469ca$b7e27b40$6500a8c0@h2c8f0> <20040714182556.GA13865@romuald.net.eu.org> <000701c46a26$e30d07c0$6500a8c0@h2c8f0> X-X-Sender: jbahm@imap.pcdesk.net Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Cc: Subject: Re: Proftpd question X-BeenThere: speakup@braille.uwo.ca X-Mailman-Version: 2.1.4 Precedence: list Reply-To: "Speakup is a screen review system for Linux." List-Id: "Speakup is a screen review system for Linux." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 15 Jul 2004 14:32:22 -0000 Hi, To answer your first question, a hard link wouldn't help you in this case. the reason is that you can't make a hard link to a directory. All a hard link is is another name in the filesystem for a file. They can't cross filesystems, and they can only point at files. To create one, just use the ln program without the -s option. If your kernel has the grsecurity patches installed (not likely), you can't even create a hard link that points outside a chroot. It really doesn't matter anyway since a hard link isn't an option. The only thing you can really do is to either use sftp (which doesn't chroot), or disable chrooting. I don't remember your exact problem now, but you can't use sftp for anonymous connections (obviously), and proftp has an implied chroot that can't be disabled for an anonymous ftp account. (this is a good thing actually) To ansewr your second question, you can interpret the bits as follows: r=4 w=2 x=1 For each group (owner, group, world) add these numbers together. Therefore, -rw-r--r-- gives 644 and -rwxr-xr-x gives 755. -- Joseph C. Lininger jbahm@pcdesk.net Note, the following is used for automated processing. Please lieve in tact if quoting me in a reply. Verification: 5eab38a77ac40416e075be8f50607ff7 On Thu, 15 Jul 2004, Jayson Smith wrote: > A few questions. > First, the link is a symbolic link. Would making it a hard link fix the > problem? How do you make a hard link? > Also, is there a way to find out, in numeric terms, the permissions of a > file or directory? Keeping up with what 755, rwx--r--r or whatever, etc. > means when compared to each other is a bit difficult for me at times. > Jayson. > > ----- Original Message ----- > From: "Gregory Nowak" > To: "Jayson Smith" ; "Speakup is a screen review > system for Linux." > Sent: Wednesday, July 14, 2004 2:25 PM > Subject: Re: Proftpd question > > >> -----BEGIN PGP SIGNED MESSAGE----- >> Hash: SHA1 >> >> This could be due to the permissions and ownership of >> /var/www/dectalk. It should be owned by root, with a group of root, >> and 755 permissions. >> >> Greg >> >> >> On Wed, Jul 14, 2004 at 01:48:05PM -0400, Jayson Smith wrote: >>> Hi, >>> That fixed it but I've got another problem. When I log in anonymously >>> locally using ncftp, I can see a directory called dectalk@ but can't > change >>> to that directory. When logging in via my Windows machine I get an > empty >>> directory listing. I do have a symlink to /var/www/dectalk in > /home/ftp. >>> That, in fact, is the only thing there. But I can't get to it. I went > into >>> my proftpd.conf and commented out the line about chrooting everybody > into >>> their home dir. Any thoughts? >>> Jayson. >>> >> >> - -- >> Free domains: http://www.eu.org/ or mail dns-manager@EU.org >> >> -----BEGIN PGP SIGNATURE----- >> Version: GnuPG v1.2.3 (GNU/Linux) >> >> iD8DBQFA9Xq07s9z/XlyUyARAqKzAJ9PRJ/JOx+XFK7nFeUAcS38zC45BgCgwhXp >> efkcDL6kyEYyqPdU52A9VF0= >> =m0ap >> -----END PGP SIGNATURE----- > > > _______________________________________________ > Speakup mailing list > Speakup@braille.uwo.ca > http://speech.braille.uwo.ca/mailman/listinfo/speakup >