Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.user > #176040

Re: Problem adding lines to /etc/fstab

From Greg Wooledge <wooledg@eeg.ccf.org>
Newsgroups linux.debian.user
Subject Re: Problem adding lines to /etc/fstab
Date 2016-12-29 17:00 +0100
Message-ID <sTLhv-8sX-3@gated-at.bofh.it> (permalink)
References <sTLhv-8sX-5@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Thu, Dec 29, 2016 at 09:53:28AM -0600, Richard Owlett wrote:
> I added these two lines to /etc/fstab:
> /dev/sda7       /media/sda7     ext2    users,rw     0       0
> /dev/sda8       /media/sda8     ext2    users,rw     0       0
> 
> All users can mount and read.
> However only root can create files or folders.

We went over this already.

In an ext2 file system, the files and directories INSIDE THE FILE SYSTEM
have standard Unix owners, groups and permissions.

If you want every file and directory to be destroyable by every single
user on the system, then you have two choices.  Either you turn on the
"other" write permission bit for every single file and directory in
the file system (and make sure directories don't have the sticky bit),
or you use a non-Unix file system that does not store Unix owners,
groups and permissions at all (e.g. FAT32).

Back to linux.debian.user | Previous | Next — Next in thread | Find similar | Unroll thread


Thread

Re: Problem adding lines to /etc/fstab Greg Wooledge <wooledg@eeg.ccf.org> - 2016-12-29 17:00 +0100
  Re: Problem adding lines to /etc/fstab Xen <list@xenhideout.nl> - 2016-12-29 19:20 +0100

csiph-web