Fórum Ubuntu CZ/SK
Ubuntu pro osobní počítače => Obecná podpora => Téma založeno: v47 29 Ledna 2010, 11:17:42
-
je to starsi problem a uz som ho tu niekde nahryzol,ale odvtedy preslo peknych par mesiacov tak to zacnem znova nacisto..
niesom schopny pod ubuntu (8.10/9.04,9.10 planujem nahodit za par dni) nazdielat po lan akukolvek fat particiu,ci uz cd/dvd,usb disk alebo pripojeny image-problem je v tom ze ked pripojim takuto particiu,owner nieje user (tzn ja),ale root,a to co vlastni root nieje cez siet pristupne..a ownera zmenit neviem.
za napady vopred dakujem..
-
http://tinyurl.com/yccke33
-
Mount options for fat
(Note: fat is not a separate filesystem, but a common part of the msdos, umsdos and vfat filesystems.)
blocksize=512 / blocksize=1024 / blocksize=2048
Set blocksize (default 512).
uid=value and gid=value
Set the owner and group of all files. (Default: the uid and gid of the current process.)
umask=value
Set the umask (the bitmask of the permissions that are not present). The default is the umask of the current process. The value is given
in octal.
dmask=value
Set the umask applied to directories only. The default is the umask of the current process. The value is given in octal.
fmask=value
Set the umask applied to regular files only. The default is the umask of the current process. The value is given in octal.
check=value
Three different levels of pickyness can be chosen:
r[elaxed]
Upper and lower case are accepted and equivalent, long name parts are truncated (e.g. verylongname.foobar becomes verylong.foo),
leading and embedded spaces are accepted in each name part (name and extension).
n[ormal]
Like "relaxed", but many special characters (*, ?, <, spaces, etc.) are rejected. This is the default.
s[trict]
Like "normal", but names may not contain long parts and special characters that are sometimes used on Linux, but are not accepted by
MS-DOS are rejected. (+, =, spaces, etc.)
codepage=value
Sets the codepage for converting to shortname characters on FAT and VFAT filesystems. By default, codepage 437 is used.
conv=b[inary] / conv=t[ext] / conv=a[uto]
The fat file system can perform CRLF<-->NL (MS-DOS text format to UNIX text format) conversion in the kernel. The following conversion
modes are available:
binary no translation is performed. This is the default.
text CRLF<-->NL translation is performed on all files.
auto CRLF<-->NL translation is performed on all files that don't have a "well-known binary" extension. The list of known extensions can
be found at the beginning of fs/fat/misc.c (as of 2.0, the list is: exe, com, bin, app, sys, drv, ovl, ovr, obj, lib, dll, pif, arc,
zip, lha, lzh, zoo, tar, z, arj, tz, taz, tzp, tpz, gz, tgz, deb, gif, bmp, tif, gl, jpg, pcx, tfm, vf, gf, pk, pxl, dvi).
Programs that do computed lseeks won't like in-kernel text conversion. Several people have had their data ruined by this translation.
Beware!
For file systems mounted in binary mode, a conversion tool (fromdos/todos) is available.
cvf_format=module
Forces the driver to use the CVF (Compressed Volume File) module cvf_module instead of auto-detection. If the kernel supports kmod, the
cvf_format=xxx option also controls on-demand CVF module loading.
cvf_option=option
Option passed to the CVF module.
debug Turn on the debug flag. A version string and a list of file system parameters will be printed (these data are also printed if the parame‐
ters appear to be inconsistent).
fat=12 / fat=16 / fat=32
Specify a 12, 16 or 32 bit fat. This overrides the automatic FAT type detection routine. Use with caution!
iocharset=value
Character set to use for converting between 8 bit characters and 16 bit Unicode characters. The default is iso8859-1. Long filenames are
stored on disk in Unicode format.
quiet Turn on the quiet flag. Attempts to chown or chmod files do not return errors, although they fail. Use with caution!
sys_immutable, showexec, dots, nodots, dotsOK=[yes|no]
Various misguided attempts to force Unix or DOS conventions onto a FAT file system.
-
CD/DVD určitě FAT běžně nepoužívá. Na sdílení celých partitions po síti pohledejte iSCSI protokol,.
Na klientu spustíte iscsi initiátor (většina operačních systémů buď obsahuje nebo se dá doinstalovat) a partition si připojíte. Pokud ji ale budete chtít připojovat současně k více klientům tak FAT není vhodný filesystém. (V *NIX systémech vhodný třeba GFS, ale jaká je podpora tohoto filesystému u Microsoftu netuším)
-
fat je řekněme běžný systém souborů se svýma specifickýma omezeníma ..
samozřejmě, že lze z linuxu nastavit jeho sdílení po síti .. pokud pro sdílení použijeme sambu, je třeba myslet na omezení daná architekturou a je například nutné, nastavit v sambě, aby se soubory automaticky ukládali pod požadovaným uživatelem (obyčejně rootem) .. viz. smb.conf(5)
pokud si dobře pamatuju, je to snad volba "force user" .. dále samba přímo zná "dos filemode" volbu .. viz uvedený manuál výše
-
po dlhsej dobe opet zdravim,dakujem za odpovede,prehryzol som sa az k nasledovnemu (1 je virtualny drive ktory chcem zdielat,x je user ktory musi byt owner):
sudo chown x /home/x/virtual-drives/1
chown: cannot access `/home/x/virtual-drives/1': Permission denied
ako dalej..? uz som na 10.04,btw.
vdaka