From owner-freebsd-questions Sun Jan 21 17: 6:39 2001 Delivered-To: freebsd-questions@freebsd.org Received: from mail1.toronto.istar.net (mail1.toronto.istar.net [209.89.75.17]) by hub.freebsd.org (Postfix) with ESMTP id 262A737B400 for ; Sun, 21 Jan 2001 17:06:22 -0800 (PST) Received: from d141-117-39.home.cgocable.net ([24.141.117.39] helo=genisis) by mail1.toronto.istar.net with esmtp (Exim 2.02 #1) id 14KVQn-000037-00; Sun, 21 Jan 2001 20:06:01 -0500 Date: Sun, 21 Jan 2001 20:12:46 -0500 (EST) From: Dru X-Sender: genisis@genisis To: Chip Cc: "freebsd-questions@FreeBSD.ORG" Subject: Re: files with an asterisk are not editable - why? In-Reply-To: <3A6B863C.380F6552@wiegand.org> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Sun, 21 Jan 2001, Chip wrote: > I ran ls -lF and got the class assignment files listed > with the asterisk, owned by myself (not root). > I then ran ls -lf and got a similar listing but the files > in question do not have the asterisk. > I ran ll and got a listing that was the same as running > ls -lF except the files in question did not have the > asterisks. > In the man page, ls(1), an asterisk means that the file > is executable. How does a .html file, or a .gif file, > get the executable attribute? Could it be because I first > created some of these as root on a floppy, then copied them > to my user directory? Since I was not able to work on them > as a user, I chmod 777 the files so I could work on them. > That may be where the executable flag comes from? I was > not able to work on the floppy as a user, only as root. I've had this problem before when copying files back and forth to floppies; I find it strange that they weren't owned by root. However, if I use mtools or mfm, I don't have these problems as I can transfer files back and forth between my home directory and a floppy without having to become root to mount the floppy first. You can find a tutorial on using these tools at: http://www.oreillynet.com/pub/a/bsd/2000/12/13/FreeBSD_Basics.html Cheers, Dru To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message