Re: fstab stuff - rather stupid question, I know!
On Tue, Mar 07, 2000 at 07:58:04PM -0500, Mike Werner wrote:
>
> 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/
yeck if you must have world writable directories you really ought to
use the sticky bit to keep people from nuking files they don't own.
chmod 1777
drwxrwxrwt 3 root audio 4.0k Mar 6 20:58 l/
> 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/
lost+found should be mode 755
> 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.
>
>
> --
> Unsubscribe? mail -s unsubscribe debian-user-request@lists.debian.org < /dev/null
>
--
Ethan Benson
Reply to: