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

Re: user can't mount loop device...



* Goswin Brederlow 

| >From man mount:
|               user   Allow an ordinary user  to  mount  the  file
|                      system.   This  option  implies  the options
|                      noexec, nosuid, and nodev (unless overridden
|                      by subsequent options, as in the option line
|                      user,exec,dev,suid).
| 
| So user or users is enough. You might want to allow executables
| though.

noexec is very weak on linux anyhow:

$ ~/bin/hello 
bash: /home/tfheen/bin/hello: Permission denied
$/lib/ld-linux.so.2 ~/bin/hello 
Hello, world!
$mount | grep home
/dev/ide/host0/bus0/target0/lun0/part3 on /home type ext2 (rw,noexec)
$

-- 

Tollef Fog Heen
Unix _IS_ user friendly... It's just selective about who its friends are.



Reply to: