fstab e partizione all'avvio
Buongiorno a tutti.
Sto cercando di utilizzare una mia partizioen vfat da 20Gb che ho sul
portatile. Riesco a fare in modo che venga montata automaticamente
all'avvio e che vi possano accedere tutti gli utenti in
lettura/scrittura/esecuzione.
Ho dei problemi mentre cerco di eseguire dei tar dentro questa
partizione. Infatti tali tar tentano di cambiare i permessi dei file che
per via dell'umask dell'fstab, vengono negati facendo in modo che non
venga estratto il tar.
Come devo impostare l'fstab affichè tutti gli utenti possano rwx il file
system e che i processi tipo tar possano cambiare i permessi ai file? Ho
provato a spulciare il man fstab, mount, tar ma non ne sono venuto a capo.
Ecco un po' di dati
/# fdisk -l /dev/hda
Disk /dev/hda: 40.0 GB, 40060403712 bytes
255 heads, 63 sectors/track, 4870 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
/dev/hda1 * 1 637 5116671 7 HPFS/NTFS
/dev/hda2 638 1245 4883760 83 Linux
/dev/hda3 1246 4870 29117812+ f W95 Ext'd (LBA)
/dev/hda5 1246 2096 6835626 83 Linux
/dev/hda6 2097 2158 497983+ 83 Linux
/dev/hda7 2159 4870 21784108+ c W95 FAT32 (LBA)
# cat /etc/fstab
# /etc/fstab: static file system information.
#
# <file system> <mount point> <type> <options> <dump> <pass>
proc /proc proc defaults 0 0
/dev/hda6 none swap sw 0 0
/dev/hda7 /pigsty vfat rw,exec,users,auto,umask=000
0 2
/dev/hda2 / reiserfs defaults 0 1
/dev/hda5 /home reiserfs defaults 0 2
/dev/hdc /media/cdrom iso9660 ro,user,noauto 0 0
/dev/fd0 /media/floppy auto rw,user,noauto 0 0
/dev/hdc /cdrom iso9660 ro,user,noauto 0 0
/dev/hda1 /mnt/win2k ntfs ro,user,auto,umask=0222 0 0
/dev/sda1 /mnt/sda1 auto rw,user,noauto 0 0
$ tar zxvf /cdrom/linux/nwitalian129.tar.gz
dialogf.tlk
tar: dialogf.tlk: Cannot utime: Operation not permitted
dialog.tlk
tar: dialog.tlk: Cannot utime: Operation not permitted
EULA.txt
tar: EULA.txt: Cannot utime: Operation not permitted
tar: Error exit delayed from previous errors
# tar zxvf /cdrom/linux/nwitalian129.tar.gz
dialogf.tlk
tar: dialogf.tlk: Cannot change ownership to uid 500, gid 500: Operation
not permitted
dialog.tlk
tar: dialog.tlk: Cannot change ownership to uid 500, gid 500: Operation
not permitted
EULA.txt
tar: EULA.txt: Cannot change ownership to uid 500, gid 500: Operation
not permitted
tar: Error exit delayed from previous errors
Ciao e grazie
Davide
Reply to: