View previous topic :: View next topic |
Author |
Message |
Inoki n00b
Joined: 30 Oct 2003 Posts: 39
|
Posted: Mon Dec 08, 2003 3:04 pm Post subject: |
|
|
cerri wrote: |
E cmq da user devi fare
Code: | $ mount /mnt/g_hdb1 |
| Grazie!
Cmq ho provato a fare come mi hai detto, e ho ancora permission dienied |
|
Back to top |
|
|
cerri Bodhisattva
Joined: 05 Mar 2003 Posts: 2957 Location: # init S
|
Posted: Mon Dec 08, 2003 3:07 pm Post subject: |
|
|
Fai dopo averlo montato da user. _________________ Enjoy your freedom.
Sex is like hacking. You get in, you get out, and you hope you didnt leave something behind that can be traced back to you.
<----------------------->
Andrea Cerrito |
|
Back to top |
|
|
OKreZ Guru
Joined: 27 Apr 2003 Posts: 372 Location: Padova (IT)
|
Posted: Mon Dec 08, 2003 3:09 pm Post subject: |
|
|
da user, fai solo "mount /mnt/blabla" _________________ (HCS)OKreZ |
|
Back to top |
|
|
OKreZ Guru
Joined: 27 Apr 2003 Posts: 372 Location: Padova (IT)
|
Posted: Mon Dec 08, 2003 3:12 pm Post subject: |
|
|
cazzo siete troppo veloci ! ma siamo su un forum o su una chat ?!? _________________ (HCS)OKreZ |
|
Back to top |
|
|
Inoki n00b
Joined: 30 Oct 2003 Posts: 39
|
Posted: Mon Dec 08, 2003 3:56 pm Post subject: |
|
|
Josuke wrote: | hai povato a mettere nell'fstab uid e gid dell'utente? es:
/dev/hda3 /mnt/windows ntfs defaults,user,ro,uid=1000,gid=100 0 0 |
ho aggiunto anche queste ed ora in effetti mi visualizza il contenuto della cartella ma solo da consolle... |
|
Back to top |
|
|
Inoki n00b
Joined: 30 Oct 2003 Posts: 39
|
Posted: Mon Dec 08, 2003 3:57 pm Post subject: |
|
|
Ed ecco anche lo stat
Code: |
inoki $ stat /mnt/g_hdb1
File: `/mnt/g_hdb1'
Size: 16384 Blocks: 0 IO Block: 4096 directory
Device: 341h/833d Inode: 5 Links: 1
Access: (0441/dr--r----x) Uid: ( 1000/ inoki) Gid: ( 100/ users)
Access: 2003-10-21 14:27:40.000000000 +0000
Modify: 2003-10-21 14:27:40.000000000 +0000
Change: 2002-09-06 14:58:48.000000000 +0000
|
già un passo avanti... |
|
Back to top |
|
|
Sparker l33t
Joined: 28 Aug 2003 Posts: 992
|
Posted: Mon Dec 08, 2003 5:59 pm Post subject: |
|
|
Io ho questa riga nell'fstab e non ho problemi:
Code: |
/dev/hda1 /mnt/xp ntfs ro,umask=000,user 0 0
|
|
|
Back to top |
|
|
Inoki n00b
Joined: 30 Oct 2003 Posts: 39
|
Posted: Mon Dec 08, 2003 7:06 pm Post subject: |
|
|
Però io non riesco invece ad accedere.. non c'è verso! |
|
Back to top |
|
|
cerri Bodhisattva
Joined: 05 Mar 2003 Posts: 2957 Location: # init S
|
Posted: Mon Dec 08, 2003 7:42 pm Post subject: |
|
|
Hai casini enormi con le umask, credo.
Ma cosa hai modificato? Che kernel hai? _________________ Enjoy your freedom.
Sex is like hacking. You get in, you get out, and you hope you didnt leave something behind that can be traced back to you.
<----------------------->
Andrea Cerrito |
|
Back to top |
|
|
Inoki n00b
Joined: 30 Oct 2003 Posts: 39
|
Posted: Mon Dec 08, 2003 9:26 pm Post subject: |
|
|
cerri wrote: | Hai casini enormi con le umask, credo.
Ma cosa hai modificato? Che kernel hai? |
mi fa piacere questo...
Ho un kernel 2.4.23, vanilla-sources...
Non ho modificato nulla.. davvero...
L'installazione di gentoo non nemmeno una settimana, non ho fatto nulla di particolare...
Ma che può essere successo? |
|
Back to top |
|
|
albazeus Tux's lil' helper
Joined: 03 Sep 2003 Posts: 81
|
Posted: Mon Dec 08, 2003 10:05 pm Post subject: |
|
|
Ciao
Io ho questa riga in /etc/fstab:
Code: |
/dev/hde2 /mnt/winxp ntfs defaults,noauto,users,ro,umask=000 0 0
|
e quando monto la partizione da (l)user ho questi permessi:
Code: |
dr-xr-xr-x 1 root root 4.0K Nov 10 01:31 winxp
|
Ci entro anche con konqueror, ma chiaramente solo in lettura... |
|
Back to top |
|
|
Inoki n00b
Joined: 30 Oct 2003 Posts: 39
|
Posted: Mon Dec 08, 2003 10:24 pm Post subject: |
|
|
albazeus wrote: | Ciao
Io ho questa riga in /etc/fstab:
Code: |
/dev/hde2 /mnt/winxp ntfs defaults,noauto,users,ro,umask=000 0 0
|
e quando monto la partizione da (l)user ho questi permessi:
Code: |
dr-xr-xr-x 1 root root 4.0K Nov 10 01:31 winxp
|
Ci entro anche con konqueror, ma chiaramente solo in lettura... |
Ti ringrazio per l'info...
Ma io se provo ad entrare con Konqueror mi da la cartella con la chiavetta come se fosse la cartella root.
Prima non avevo mai avuto problemi... credo che il problema sia grave come indicato da cerri.
@Cerri
Pensi che ricompilare il kernel possa essere una soluzione utile? |
|
Back to top |
|
|
cerri Bodhisattva
Joined: 05 Mar 2003 Posts: 2957 Location: # init S
|
Posted: Mon Dec 08, 2003 10:44 pm Post subject: |
|
|
Inoki wrote: | @Cerri
Pensi che ricompilare il kernel possa essere una soluzione utile? |
No.
Prova a fare:
e poi monta il fs da utente.
Poi prova la stessa cosa da root.
E controlla il settaggio di umask dentro /etc/profile. _________________ Enjoy your freedom.
Sex is like hacking. You get in, you get out, and you hope you didnt leave something behind that can be traced back to you.
<----------------------->
Andrea Cerrito |
|
Back to top |
|
|
Inoki n00b
Joined: 30 Oct 2003 Posts: 39
|
Posted: Mon Dec 08, 2003 11:13 pm Post subject: |
|
|
cerri wrote: | Inoki wrote: | @Cerri
Pensi che ricompilare il kernel possa essere una soluzione utile? |
No.
Prova a fare:
e poi monta il fs da utente.
|
Con questo, mi toglie la chiavetta dalla cartella ma non mi fa vedere il suo interno se provo ad accedere da Konqueror.
Mentre se provo ad entrare da konsolle, mi fa vedere tutte le cartelle, e tutti i file, ma vicino ai file c'è la dicitura permission denied.
Quote: |
Poi prova la stessa cosa da root. |
Così i dati me li fa vedere tutti senza problemi (ma lo faceva anche prima)
Quote: |
E controlla il settaggio di umask dentro /etc/profile. |
Dentro /etc/profile come umask c'è 022 |
|
Back to top |
|
|
albazeus Tux's lil' helper
Joined: 03 Sep 2003 Posts: 81
|
|
Back to top |
|
|
zUgLiO l33t
Joined: 12 Aug 2003 Posts: 754 Location: Ferrara (Italy)
|
Posted: Tue Dec 09, 2003 8:10 am Post subject: |
|
|
Ma quando provi a fare il mount cosa lanci?
mount /dev/hdb1 /mnt/g_hdb1
oppure
mount /dev/hdb1 _________________
voglio poi dire che il tempo mi avrà fatto abituare,
ma io non trovo nemmeno brutta la stiva buia di questa nave
|
|
Back to top |
|
|
cerri Bodhisattva
Joined: 05 Mar 2003 Posts: 2957 Location: # init S
|
Posted: Tue Dec 09, 2003 8:22 am Post subject: |
|
|
zUgLiO wrote: | mount /dev/hdb1 |
Questo comando darebbe errore. _________________ Enjoy your freedom.
Sex is like hacking. You get in, you get out, and you hope you didnt leave something behind that can be traced back to you.
<----------------------->
Andrea Cerrito |
|
Back to top |
|
|
Inoki n00b
Joined: 30 Oct 2003 Posts: 39
|
Posted: Tue Dec 09, 2003 10:15 am Post subject: |
|
|
cerri wrote: | zUgLiO wrote: | mount /dev/hdb1 |
Questo comando darebbe errore. |
Si infatti lancio
Non solo ma sono sempre ben attento che prima la partizione sia smontata...
Cerri con le info dell' /etc/profile ti è venuto in mente niente?
Posso fornirti qualche alra notizia.. perchè davvero non so come venirne fuori |
|
Back to top |
|
|
|