 |
|
 |
|
Next: No Christian has ever been known to recant on his..
|
| Author |
Message |
External

Since: Jan 11, 2007 Posts: 1
|
(Msg. 1) Posted: Tue Nov 13, 2007 11:50 am
Post subject: chmod 670 Archived from groups: linux>debian>user, others (more info?)
|
|
|
Hi,
I don't know whether this is a bug or it is expected behavior. If
this is a bug I would appreciate someone telling me who to report it
to:D...
I recently noticed that strange things happen if you do 'chmod 670' on
a directory that you own, and whose group is set to one you belong.
- If you try 'ls', then its contents are shown
- If you try 'cd' to it, you get permission denied.
- If you try 'ls -l', you get many interrogation signs (?????) instead
of the properties of the file.
- If the user is changed to someone other than you, but the group
remains the same, then you get full access.
Since the permissions are set to full access to the group, and I'm
part of that group, shouldn't I get full access to the directory?
Anyways, getting many '????' is very awkward.
Thank you very much!
Patricio
--
To UNSUBSCRIBE, email to debian-user-REQUEST.RemoveThis@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster.RemoveThis@lists.debian.org |
|
| Back to top |
|
 |  |
External

Since: Jan 09, 2007 Posts: 15
|
(Msg. 2) Posted: Wed Nov 14, 2007 7:40 am
Post subject: Re: chmod 670 [Login to view extended thread Info.] Archived from groups: per prev. post (more info?)
|
|
|
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
---------------------------------------------------------
--
To UNSUBSCRIBE, email to debian-user-REQUEST.DeleteThis@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster.DeleteThis@lists.debian.org |
|
| Back to top |
|
 |  |
| Related Topics: | chmod - Hallo, versuche vezweifelt als normaler user Zugriff auf eine bestimmte Partition zu erlangen. Geht nicht. System Suse....
chmod - Hallo, Ich hab meine Windows Partitionen in mein Linux System eingebunden, jedoch kann ich meine Daten nicht..
chmod - Anfängerfrage - Hallo Group, Vielleicht habe ich im Moment nur einen Aussetzer, aber folgendes Problem: Ich bin normaler Benutzer..
chmod does not remain changed - I am using FC3. When I become su and type 'chmod +r *' in the /dev directory, the permissions are changed to 'r' for....
[gentoo-user] Persistent chmod nvram - I need /dev/nvram to be chmod 666. I make the change, but it doesn't persist through a reboot. Any advice on making....
[gentoo-user] where to put mknod & chmod - Hi group, One of my morning chores after booting linux is to su and enter #mknod /dev/ppp c 108 0 and #chmod a+rw.. |
|
You can post new topics in this forum You can reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|
|
|
 |
|
|