[FoLUG]chmod
CyberPenguin
giov.abb@inwind.it
Mer 23 Lug 2003 21:51:20 CEST
Alessandro Ronchi ha scritto:
> Devi cambiare le opzioni di mount in /etc/fstab. se non sbaglio:
> /dev/hda3 /mnt/windows vfat umask=0,user,nosuid,noexec,noatime 0 0
>
> dovrebbero fare al caso tuo (sostituendo i primi tre campi con i tuoi)
Ho editato /etc/fstab da cosi':
---
LABEL=/ / ext3 defaults 1 1
LABEL=/boot /boot ext3 defaults 1 2
none /dev/pts devpts gid=5,mode=620 0 0
none /proc proc defaults 0 0
none /dev/shm tmpfs defaults 0 0
/dev/hdb3 swap swap defaults 0 0
/dev/cdrom /mnt/cdrom iso9660 noauto,owner,kudzu,ro 0 0
/dev/cdrom1 /mnt/cdrom1 iso9660 noauto,owner,kudzu,ro 0 0
/dev/fd0 /mnt/floppy auto noauto,owner,kudzu 0 0
/dev/hdc /mnt/cdrom auto ro,noauto,user,exec 0 0
/dev/scd0 /mnt/cdrom1 auto ro,noauto,user,exec 0 0
---
a cosi':
---
LABEL=/ / ext3 defaults 1 1
LABEL=/boot /boot ext3 defaults 1 2
none /dev/pts devpts gid=5,mode=620 0 0
none /proc proc defaults 0 0
none /dev/shm tmpfs defaults 0 0
/dev/hdb3 swap swap defaults 0 0
/dev/hda5 /mnt/Dati_winbug vfat umask=0,user,nosuid,noexec,noatime 0 0
/dev/cdrom /mnt/cdrom iso9660 noauto,owner,kudzu,ro 0 0
/dev/cdrom1 /mnt/cdrom1 iso9660 noauto,owner,kudzu,ro 0 0
/dev/fd0 /mnt/floppy auto noauto,owner,kudzu 0 0
/dev/hdc /mnt/cdrom auto ro,noauto,user,exec 0 0
/dev/scd0 /mnt/cdrom1 auto ro,noauto,user,exec 0 0
---
Sembra funzichi a meraviglia! :-))
... e con i permessi?
[root@localhost mnt]# chmod -R 770 Dati_winbug/
va bene lo stesso vero?
Tnx 1Tb :-P
Giovanni
--
Membro del FoLug - http://folug.linux.it
Red Hat GNU/Linux Powered
-------------------------------------------------------------------
There is no system other than GNU. And Linux is one of its kernels.
Maggiori informazioni sulla lista
FoLUG