[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Basic Debian hd mounting...



Dale Scheetz wrote:
> 
> On 25 Sep 1997, Carey Evans wrote:
> 
> > Lawrence <ychim@ForeverMail.com> writes:
> >
> > [snip]
> >
> > > it is dangerous!  be aware that the permission is set to rwxrwxrwx and
> > > everyone can ERASE files in this partition!!!
> >
> > What kind of setup does this?  From my machine at work:
> >
> > /dev/hda4       /mnt/win95      vfat    noexec                  0   0
> >
> > % ls -l /mnt/win95/autoexec.bat
> > -rw-r--r--   1 root     root          269 Sep 12 10:26 /mnt/win95/autoexec.bat
> >
> I believe that this is a matter of the mounted file system taking on the
> permissions of the mount point. Unmount the partition and check the
> permissions on the mount point. Changing them to something appropriate
> should fix the problem.

It is not the permissions of the mount point designing the permissions
of the partition being mounted.
You have to provide the permissions when you mount the partition.  In
/etc/fstab, use umask/mask to do it.


--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to
debian-user-request@lists.debian.org . 
Trouble?  e-mail to templin@bucknell.edu .


Reply to: