Re: Automatic mounting of USB drives...

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

 



tor, 28.10.2004 kl. 23.25 skrev David Zeuthen:
> On Thu, 2004-10-28 at 23:02 +0200, Kyrre Ness Sjobak wrote:
> > It makes me wonder... What if i label the partitions the same as another
> > mountpoint? Could this create a security hole, somehow? (such as
> > labeling a partition `rm -rf /` - would that do a "mkdir `rm -rf /` or
> > could anything so ugly be done?
> > 
> 
> No, we use mkdir(2), not mkdir(1). We also massage the mountpoint so it
> only contains digits [0-9], ascii letters [A-Za-z], '-' and '_'
> characters. Notably it wont contain any whitespace.
> 

Guessed so. Just wanted to "check" - just for that 1% chance of a OH
***!!! i forgot that posibility responce...
> Cheers,
> David
> 


[Index of Archives]     [Fedora Desktop]     [Fedora SELinux]     [Photo Sharing]     [Yosemite Forum]     [KDE Users]