more permission problem

Wulfy wulfmann at tiscali.co.uk
Sun Mar 15 06:15:38 UTC 2009


Mahadi Hasan wrote:
> Thank you for your help.
> Sorry, I mistakenly wrote that I could not change permissions of the
> folders/files in my home directory mounted in root (/) directory.
> But there are some things I need to know about.
> I checked out the permissions of folders/files in my home directory on
> the command line, and I found that all the folders (Documents, Music,
> Public etc.) have permission like this: drwxr-xr-x,
> and, only one folder named Examples which has permission like this:
> lrwxrwxrwx, and a file which was created by me has permission like
> this: -rw-r--r--.
> My questions are:
> 1. What do d and l at the beginning of the permission mean?
> 2. Why can't I access the Examples folder, and even change the
> permission? How do I change the permission of this folder?
> 3. Why isn't there anything like d or l at the beginning of the
> permission of the file?
>
>   
I think I can shed light on 1) and 3):

d is a directory
l is a link
- is an ordinary file.

Sorry, I have no idea about question 2).

I hope that helps a bit.  :@)

-- 
Blessings

Wulfmann

Wulf Credo:
Respect the elders. Teach the young. Co-operate with the pack.
Play when you can. Hunt when you must. Rest in between.
Share your affections. Voice your opinion. Leave your Mark.
Copyright July 17, 1988 by Del Goetz





More information about the ubuntu-users mailing list