On Tue, Mar 07, 2000 at 06:03:18PM -0500, addiction wrote: > This is a very newbie-ish question but here it is... I have several > partitions, three of which I want to mount via fstab so that any user can > read (not write) all of the files and directories. These are all ext2 <snipped> > Please, someone tell me what my silly mistake is. Is it the options I'm > using in fstab, or did I do something wonky to my permissions when I moved > the files? It shows the current permissions on the dirs as this: > > drw-rw-rw- 6 root audio 4.0k Mar 6 20:58 l/ > drw-rw-rw- 2 root audio 16k Mar 6 20:34 lost+found/ > drw-rw-rw- 3 root audio 4.0k Mar 6 20:58 miscmp3/ > [EMAIL PROTECTED]:/mp3 > cd a > bash: cd: a: Permission denied > > (Yes, Haunted is a member of the audio group.)
To cd into a directory, you must heve execute permission for that directory. I.E. change: > drw-rw-rw- 6 root audio 4.0k Mar 6 20:58 l/ > drw-rw-rw- 2 root audio 16k Mar 6 20:34 lost+found/ > drw-rw-rw- 3 root audio 4.0k Mar 6 20:58 miscmp3/ to: > drwxrwxrwx 6 root audio 4.0k Mar 6 20:58 l/ > drw-rw-rw- 2 root audio 16k Mar 6 20:34 lost+found/ > drwxrwxrwx 3 root audio 4.0k Mar 6 20:58 miscmp3/ Though if you want to enforce the read-only settings that you mentioned above, change it to: > drwxr-xr-x 6 root audio 4.0k Mar 6 20:58 l/ > drw-rw-rw- 2 root audio 16k Mar 6 20:34 lost+found/ > drwxr-xr-x 3 root audio 4.0k Mar 6 20:58 miscmp3/ This way only root can write into those directories, while everyone else can browse them but not write to them. -- Mike Werner KA8YSD | "Where do you want to go today?" ICQ# 12934898 | "As far from Redmond as possible!" '91 GS500E | Morgantown WV | Only dead fish go with the flow.