[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: chmod 670



On Tue, Nov 13, 2007 at 01:25:35PM -0300, Patricio Rojo wrote:

>  - If you try 'ls', then its contents are shown

Yes, because you have read permission.

>  - If you try 'cd' to it, you get permission denied.

Yes, because you do not have search ("x") permission.

>  - If you try 'ls -l', you get many interrogation signs (?????) instead
> of the properties of the file.

Yes, because you do not have search ("x") permission, so "ls" can not
get the requested information, but it still has to display _something_.

>  - If the user is changed to someone other than you, but the group
> remains the same, then you get full access.

Yes, because group permission bits are used only if you are _not_ the
owner of the file.

> Anyways, getting many '????' is very awkward.

No, specifying "rw-" rights for a directory what is awkward. You get
what you've asked for.

Gabor

-- 
     ---------------------------------------------------------
     MTA SZTAKI Computer and Automation Research Institute
                Hungarian Academy of Sciences
     ---------------------------------------------------------



Reply to: