Date: Sun, 21 Jan 2001 20:12:46 -0500 (EST) From: Dru <genisis@istar.ca> To: Chip <chip@wiegand.org> Cc: "freebsd-questions@FreeBSD.ORG" <freebsd-questions@FreeBSD.ORG> Subject: Re: files with an asterisk are not editable - why? Message-ID: <Pine.BSF.4.21.0101212007360.12625-100000@genisis> In-Reply-To: <3A6B863C.380F6552@wiegand.org>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.21.0101212007360.12625-100000>