* File Permitions
@ Rejean Proulx
` Alex Snow
` (2 more replies)
0 siblings, 3 replies; 4+ messages in thread
From: Rejean Proulx @ UTC (permalink / raw)
To: speakup
I know how to change permission for a file by using chmod, but how to I find
out what permission the file has before I change it? I tried reading about
ls or chmod itself but no luck so far.
Rejean Proulx
Visit my family at http://interfree.ca
MSN is: rejp@rogers.com
Ham License VA3REJ
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: File Permitions
File Permitions Rejean Proulx
@ ` Alex Snow
` Luke Davis
` Joseph C. Lininger
2 siblings, 0 replies; 4+ messages in thread
From: Alex Snow @ UTC (permalink / raw)
To: speakup
You do ls -l <filename>. that will give you all the permitions for the
specified file.
----- Original Message -----
From: "Rejean Proulx" <rejean@interfree.ca>
To: <speakup@braille.uwo.ca>
Sent: Thursday, October 09, 2003 7:27 PM
Subject: File Permitions
> I know how to change permission for a file by using chmod, but how to I
find
> out what permission the file has before I change it? I tried reading
about
> ls or chmod itself but no luck so far.
>
> Rejean Proulx
> Visit my family at http://interfree.ca
> MSN is: rejp@rogers.com
> Ham License VA3REJ
>
>
>
> _______________________________________________
> Speakup mailing list
> Speakup@braille.uwo.ca
> http://speech.braille.uwo.ca/mailman/listinfo/speakup
>
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: File Permitions
File Permitions Rejean Proulx
` Alex Snow
@ ` Luke Davis
` Joseph C. Lininger
2 siblings, 0 replies; 4+ messages in thread
From: Luke Davis @ UTC (permalink / raw)
To: speakup
ls -l
Will show something like, in the first column:
drwxrw-r--
The fields are as follows:
first: a d for directories, and other characters (usually a dash for
regular files), representing the file's type.
Next is the user, group, and world permission sets, each with three
fields.
You will get an r for readable, a w for writable, and an x for executable.
You will see a dash for anything that is not set. So, for resolv.conf:
ls -l resolv.conf
On Thu, 9 Oct 2003, Rejean Proulx wrote:
> I know how to change permission for a file by using chmod, but how to I find
> out what permission the file has before I change it? I tried reading about
> ls or chmod itself but no luck so far.
>
> Rejean Proulx
> Visit my family at http://interfree.ca
> MSN is: rejp@rogers.com
> Ham License VA3REJ
>
>
>
> _______________________________________________
> Speakup mailing list
> Speakup@braille.uwo.ca
> http://speech.braille.uwo.ca/mailman/listinfo/speakup
>
--
Want a free month of internet access on a great ISP? Go here:
http://www.tacticus.com/net/
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: File Permitions
File Permitions Rejean Proulx
` Alex Snow
` Luke Davis
@ ` Joseph C. Lininger
2 siblings, 0 replies; 4+ messages in thread
From: Joseph C. Lininger @ UTC (permalink / raw)
To: speakup
Try ls-l. That will list the permissions, owner, group, and modification
time.
--
Joseph C. Lininger
jbahm@pcdesk.net
----- Original Message -----
From: "Rejean Proulx" <rejean@interfree.ca>
To: <speakup@braille.uwo.ca>
Sent: Thursday, October 09, 2003 6:27 PM
Subject: File Permitions
> I know how to change permission for a file by using chmod, but how to I
find
> out what permission the file has before I change it? I tried reading
about
> ls or chmod itself but no luck so far.
>
> Rejean Proulx
> Visit my family at http://interfree.ca
> MSN is: rejp@rogers.com
> Ham License VA3REJ
>
>
>
> _______________________________________________
> Speakup mailing list
> Speakup@braille.uwo.ca
> http://speech.braille.uwo.ca/mailman/listinfo/speakup
>
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~ UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
File Permitions Rejean Proulx
` Alex Snow
` Luke Davis
` Joseph C. Lininger
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).