Portál AbcLinuxu, 14. května 2025 02:42
/dev/sdb1 /mnt/data ext3 users,user 0 0
chown [jméno_uživatele]:[název_skupiny_uživatele] /mnt/data
user
a users
se stačí podívat do man mount
:user Allow an ordinary user to mount the file system. The name of the mounting user is written to mtab so that he can unmount the file system again. This option implies the options noexec, nosuid, and nodev (unless overridden by subsequent options, as in the option line user,exec,dev,suid). users Allow every user to mount and unmount the file system. This option implies the options noexec, nosuid, and nodev (unless overridden by subsequent options, as in the option line users,exec,dev,suid).Řešením je si na disku vytvořit adresář do kterého bude moci zapisovat běžný uživatel a tomuto adresáři změnit práva pomocí
chown
.
Tiskni
Sdílej:
ISSN 1214-1267, (c) 1999-2007 Stickfish s.r.o.