View previous topic :: View next topic |
Author |
Message |
theRealMorpheu5 l33t
Joined: 26 Feb 2004 Posts: 841 Location: Vicenza, IT
|
Posted: Mon Jun 28, 2004 6:19 pm Post subject: touch, permission denied |
|
|
Code: | /dev/hda1 /boot ext2 noauto,noatime 1 2
/dev/hda3 / reiserfs noatime,notail 0 1
/dev/hda2 none swap sw 0 0
/dev/hda4 /cavia auto defaults,noauto,users,user 0 0
/dev/hdb1 /mnt/ntfs ntfs noatime,auto,users,ro,umask=000 0 0
/dev/cdroms/cdrom0 /mnt/cdrom iso9660 noauto,ro,users,user 0 0
/dev/fd0 /mnt/floppy auto noauto,users,user 0 0 |
Posto che questo sia il mio fstab sezione dischi. Perché mai da utente normale posso montare, smontare, leggere, accedere in lettura e scrittura via /dev e via dicendo tutti i dischi mentre quando si tratta di creare un file su di essi... ciccia? Ormai, come si vede da lì, le ho provate davvero tutte. Nella fattispecie i problemi mi sorgono su /cavia e su /mnt/floppy. |
|
Back to top |
|
|
fedeliallalinea Administrator
Joined: 08 Mar 2003 Posts: 31449 Location: here
|
Posted: Mon Jun 28, 2004 6:23 pm Post subject: |
|
|
Hai provato a mettere semplicemente
Quote: | /dev/hda4 /cavia auto noatime,users 0 0
/dev/fd0 /mnt/floppy auto noauto,users 0 0 |
PS: cavia che file system usa? _________________ Questions are guaranteed in life; Answers aren't. |
|
Back to top |
|
|
theRealMorpheu5 l33t
Joined: 26 Feb 2004 Posts: 841 Location: Vicenza, IT
|
Posted: Mon Jun 28, 2004 6:29 pm Post subject: |
|
|
Sì, sono partito da quelle opzioni lì e via via che vedevo che non funzionavano ne ho aggiunte.
Cavia usa tanti fs. Nel senso che se mi viene voglia di provarne uno ce lo formatto e lo provo. Per quello ho messo auto. |
|
Back to top |
|
|
silian87 Advocate
Joined: 06 Oct 2003 Posts: 2318 Location: Treviso, Italy
|
|
Back to top |
|
|
theRealMorpheu5 l33t
Joined: 26 Feb 2004 Posts: 841 Location: Vicenza, IT
|
Posted: Tue Jun 29, 2004 7:30 am Post subject: |
|
|
mi consola il fatto di non essere l'unico a sceglierlo
dai, dai, possibile che nessuno sappia come uscirne? |
|
Back to top |
|
|
randomaze Bodhisattva
Joined: 21 Oct 2003 Posts: 9985
|
Posted: Tue Jun 29, 2004 7:35 am Post subject: |
|
|
theRealMorpheu5 wrote: | dai, dai, possibile che nessuno sappia come uscirne? |
Hai provato a cambiare umask oppure a dargli un UID/GID? _________________ Ciao da me! |
|
Back to top |
|
|
theRealMorpheu5 l33t
Joined: 26 Feb 2004 Posts: 841 Location: Vicenza, IT
|
Posted: Tue Jun 29, 2004 7:39 am Post subject: |
|
|
In effetti alla UMASK avevo pensato ma non l'ho fatto. Per via dell'UID/GID non so come, mi illumini? |
|
Back to top |
|
|
randomaze Bodhisattva
Joined: 21 Oct 2003 Posts: 9985
|
Posted: Tue Jun 29, 2004 8:11 am Post subject: |
|
|
theRealMorpheu5 wrote: | Per via dell'UID/GID non so come, mi illumini? |
In alcuni filesystem puoi specificare l'utente e il gruppo di default per i files e le directory. Ad esempio con il FAT:
man mount wrote: |
uid=value and gid=value
Set the owner and group of all files. (Default: the uid and gid of the current process.)
|
_________________ Ciao da me! |
|
Back to top |
|
|
theRealMorpheu5 l33t
Joined: 26 Feb 2004 Posts: 841 Location: Vicenza, IT
|
Posted: Tue Jun 29, 2004 9:32 am Post subject: |
|
|
Niente da fare neanche così. |
|
Back to top |
|
|
|