Article View: ch.comp.os.linux
Article #20074Re: Filesystem on zip-drive
From: Marc SCHAEFER
Date: Sun, 07 Nov 1999 00:00
Date: Sun, 07 Nov 1999 00:00
22 lines
1389 bytes
1389 bytes
Marco Fare' <mfare@iname.com> wrote: > /dev/sda4 /zip auto rw,noauto,user 0 0 > /dev/sda4 /mnt/zip auto rw,noauto,user 0 0 The user parameter allows normal users to mount. If you can /zip but not /mnt/zip as a normal user, check the permission of /mnt and /mnt/zip. Quick fix: chown root.root /mnt chmod 755 /mnt (presumably it's enough). If it was a beature and not a fug, and you really wanted the second line above to not work for normal users, you just needed to remove the user keyword. or remove the suid bit from mount (see the s when ls -la `which mount`) and this will disable this functionnality for non root users and all fs.
Technical Details
Message-ID:
<80384l$mtt$1@vulcan.alphanet.ch>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailReferences:
<381F595F.D8B8F971@iname.com> <7vp194$2tj$1@dino.active.ch> <38218C8F.9780EDFE@iname.com> <newscache$2akqkf$4lm$1@cache.cyberlink.ch> <3824C8F5.9A03ED94@iname.com>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f4b73,88956ac7a97eccbf X-Google-Attributes: gidf4b73,public From: Marc SCHAEFER <schaefer@alphanet.ch> Subject: Re: Filesystem on zip-drive Date: 1999/11/07 Message-ID: <80384l$mtt$1@vulcan.alphanet.ch> X-Deja-AN: 545468215 References: <381F595F.D8B8F971@iname.com> <7vp194$2tj$1@dino.active.ch> <38218C8F.9780EDFE@iname.com> <newscache$2akqkf$4lm$1@cache.cyberlink.ch> <3824C8F5.9A03ED94@iname.com> Supersedes: <80380s$mpa$1@vulcan.alphanet.ch> Organization: ALPHANET NF -- Not for profit telecom research Reply-To: Marc SCHAEFER <schaefer@alphanet.ch> Newsgroups: ch.comp.os.linux