All of lore.kernel.org
 help / color / mirror / Atom feed
* Should a non-root user always be able to mount on a directory they do not own if /etc/fstab entry is marked "user"
@ 2005-11-25  2:11 Steve French
  2005-11-29 20:18 ` Dave Kleikamp
  0 siblings, 1 reply; 4+ messages in thread
From: Steve French @ 2005-11-25  2:11 UTC (permalink / raw)
  To: linux-fsdevel

Should a non-root user always be able to mount on a directory they do 
not own if /etc/fstab entry is marked "user"?  Are there other 
restrictions that I should check?

In particular, bug
    https://bugzilla.samba.org/show_bug.cgi?id=1617
asks the cifs vfs allow that a user can mount over a directory owned by 
root if /etc/fstab says "user" on the matching line.
If there are not other security problems, I was planning to follow the 
suggestion in the bug?   I noticed that at least for this version of 
SuSE smbfs no longer can do setuid mounts, so I could not compare with 
that, but presumably nfs has no particular security checks in mount 
beyond what is already there in mount.cifs.c (with the suggested 
modification)


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2005-11-29 21:55 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-11-25  2:11 Should a non-root user always be able to mount on a directory they do not own if /etc/fstab entry is marked "user" Steve French
2005-11-29 20:18 ` Dave Kleikamp
2005-11-29 20:51   ` Steve French
2005-11-29 21:55     ` Dave Kleikamp

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.