View previous topic :: View next topic |
Author |
Message |
giupso n00b

Joined: 13 Dec 2003 Posts: 70
|
Posted: Sat Feb 05, 2005 10:20 am Post subject: uso di captive da utente |
|
|
salve ho installato captive seguendo le indicazioni trovate sul forum.
Tutto ok riesco a montare e scivere su un disco rigido esterno da 160gb formattato ntfs.
L'unico problema è che il punto di mount /mnt/volumeH dove monto la partizione medesima
da utente non è nemmeno visibile.
Prima quando montavo la partizione in sola lettura con il supporto del kernel (2.6.9) non ho mai avuto questi problemi.
Sul forum ho trovato problemi simili ma non sono riuscito a risolvere, idee?
la riga di /etc/fstab con cui monto è
Code: |
/dev/sda1 /mnt/volumeH captive-ntfs deafult,rw,users,umask=0 0 0
|
anche se setto i permessi della cartella /mnt/volumeH prima del montaggio dopo i permessi vengono risettati automaticamente e la cartella torna invisibile da utente |
|
Back to top |
|
 |
gutter Bodhisattva


Joined: 13 Mar 2004 Posts: 7162 Location: Aarau, Aargau, Switzerland
|
Posted: Sat Feb 05, 2005 10:21 am Post subject: |
|
|
Invisibile in che senso? Se fai un ls di /mnt non compare? _________________ Registered as User #281564 and Machines #163761 |
|
Back to top |
|
 |
giupso n00b

Joined: 13 Dec 2003 Posts: 70
|
Posted: Sat Feb 05, 2005 10:25 am Post subject: |
|
|
allora chiarisco meglio da console la vedo anche da utente ci posso accedere ma non scrivere
mentre da konqueror non vedo proprio la cartella |
|
Back to top |
|
 |
gutter Bodhisattva


Joined: 13 Mar 2004 Posts: 7162 Location: Aarau, Aargau, Switzerland
|
Posted: Sat Feb 05, 2005 10:27 am Post subject: |
|
|
Ora il discorso comincia ad essere più chiaro
Posta un:
_________________ Registered as User #281564 and Machines #163761 |
|
Back to top |
|
 |
giupso n00b

Joined: 13 Dec 2003 Posts: 70
|
Posted: Sat Feb 05, 2005 10:29 am Post subject: |
|
|
allora da utente:
Code: |
drwx------ 2 root root 72 27 ott 21:38 cdrom
drwxr-xr-x 2 root root 48 20 gen 11:40 cdrom2
drwxrwxrwx 3 root root 152 3 feb 18:34 condivisa
drwxrwxrwx 7 root root 4096 1 gen 1970 discoD
drwx------ 2 root root 72 27 ott 21:38 floppy
drwxr-xr-x 2 root root 48 25 gen 18:16 master
drwxr-xr-x 2 root root 48 24 gen 09:44 prova
drwxr-xr-x 2 root root 48 21 gen 01:03 usb_key
drwxr-xr-x 1 root root 0 5 feb 11:27 volumeH
dr-xr-xr-x 1 root root 8192 2 feb 06:58 win
|
mentre da root
Code: |
drwx------ 2 root root 72 27 ott 21:38 cdrom
drwxr-xr-x 2 root root 48 20 gen 11:40 cdrom2
drwxrwxrwx 3 root root 152 3 feb 18:34 condivisa
drwxrwxrwx 7 root root 4096 1 gen 1970 discoD
drwx------ 2 root root 72 27 ott 21:38 floppy
drwxr-xr-x 2 root root 48 25 gen 18:16 master
drwxr-xr-x 2 root root 48 24 gen 09:44 prova
drwxr-xr-x 2 root root 48 21 gen 01:03 usb_key
drwxr-xr-x 1 root root 0 5 feb 11:27 volumeH
dr-xr-xr-x 1 root root 8192 2 feb 06:58 win
|
|
|
Back to top |
|
 |
gutter Bodhisattva


Joined: 13 Mar 2004 Posts: 7162 Location: Aarau, Aargau, Switzerland
|
Posted: Sat Feb 05, 2005 10:33 am Post subject: |
|
|
Questa è la situazione in cui /mnt/volumeH è montato? _________________ Registered as User #281564 and Machines #163761 |
|
Back to top |
|
 |
giupso n00b

Joined: 13 Dec 2003 Posts: 70
|
Posted: Sat Feb 05, 2005 10:35 am Post subject: |
|
|
si in questo momento /dev/sda1 è montato su /mnt/volumeH |
|
Back to top |
|
 |
gutter Bodhisattva


Joined: 13 Mar 2004 Posts: 7162 Location: Aarau, Aargau, Switzerland
|
Posted: Sat Feb 05, 2005 10:39 am Post subject: |
|
|
Prova a mettere umask=000 in fastab. _________________ Registered as User #281564 and Machines #163761 |
|
Back to top |
|
 |
giupso n00b

Joined: 13 Dec 2003 Posts: 70
|
Posted: Sat Feb 05, 2005 10:41 am Post subject: |
|
|
prima c'era e non funzionava lo stesso,
comunque ci riprovo, ho anche letto di un bug su bug.gentoo.org
er ho cambianto il file /sbin/mount.captive
ma la situazione non cambia
Last edited by giupso on Sat Feb 05, 2005 10:45 am; edited 1 time in total |
|
Back to top |
|
 |
giupso n00b

Joined: 13 Dec 2003 Posts: 70
|
Posted: Sat Feb 05, 2005 10:44 am Post subject: |
|
|
sempre uguale
Code: |
drwxr-xr-x 1 root root 0 5 feb 11:27 volumeH
|
|
|
Back to top |
|
 |
lavish Bodhisattva

Joined: 13 Sep 2004 Posts: 4296
|
|
Back to top |
|
 |
giupso n00b

Joined: 13 Dec 2003 Posts: 70
|
Posted: Sat Feb 05, 2005 10:56 am Post subject: |
|
|
Code: |
#chmod 777 /mnt/volumeH/
chmod: ripristino dei permessi di `/mnt/volumeH/': Operation not permitted
|
|
|
Back to top |
|
 |
tuxer Guru

Joined: 10 May 2004 Posts: 328
|
Posted: Sat Feb 05, 2005 11:20 am Post subject: |
|
|
Non puoi mettere uid=<uid_tuo_utente> nelle opzioni in fstab?? |
|
Back to top |
|
 |
giupso n00b

Joined: 13 Dec 2003 Posts: 70
|
Posted: Sat Feb 05, 2005 12:10 pm Post subject: |
|
|
ho cambiato la riga di fstab in questa
Code: |
/dev/sda1 /mnt/volumeH captive-ntfs rw,users,uid=digg,gid=users,noatime 0 0
|
ma non è cambiato nulla |
|
Back to top |
|
 |
n3m0 l33t


Joined: 08 Feb 2004 Posts: 798 Location: Richville, Naples, Italy, Europe
|
Posted: Sat Feb 05, 2005 12:49 pm Post subject: |
|
|
giupso wrote: | Code: |
#chmod 777 /mnt/volumeH/
chmod: ripristino dei permessi di `/mnt/volumeH/': Operation not permitted
|
|
Va fatto a volume smontato, ovvero, quando il mount-point è una semplice directory.
in pratica:
Code: | tuohost ~ # umount /dev/sda1
tuohost ~ # chmod 777 /mnt/volumeH
tuohost ~ # mount /dev/sda1 |
Dovrebbe andare. _________________ Lenergia è la civiltà. Lasciarla in mano ai piromani/petrolieri è criminale. Perché aspettare che finisca il petrolio?
Letà della pietra non è mica finita per mancanza di pietre. - B.G.
Site/Blog: http://www.neminis.org |
|
Back to top |
|
 |
giupso n00b

Joined: 13 Dec 2003 Posts: 70
|
Posted: Sat Feb 05, 2005 1:08 pm Post subject: |
|
|
lo ho fatto a volume smontato chiaramente....
il problema è che captive mi risetta i permessi..penso |
|
Back to top |
|
 |
gutter Bodhisattva


Joined: 13 Mar 2004 Posts: 7162 Location: Aarau, Aargau, Switzerland
|
Posted: Sat Feb 05, 2005 2:33 pm Post subject: |
|
|
Il problema sembra proprio di captive che se ne infischia di quello che scrivi nella umask. Non l'ho mai usato e quindi so dirti poco. _________________ Registered as User #281564 and Machines #163761 |
|
Back to top |
|
 |
tuxer Guru

Joined: 10 May 2004 Posts: 328
|
Posted: Sat Feb 05, 2005 5:52 pm Post subject: |
|
|
No ma guarda che devi mettere l'uid del tuo utente, mica il nome!
Dai da shell
e vedi cos'è l'uid... |
|
Back to top |
|
 |
kireime n00b


Joined: 29 Dec 2003 Posts: 73 Location: Sulmona - Italy
|
Posted: Sat May 06, 2006 12:47 pm Post subject: |
|
|
Riapro questo post perchè io non ne riesco a venire a capo:
Questo è il mio fstab:
Code: | /dev/hda1 /mnt/captive-noname captive-ntfs noauto,rw,users,uid=1000 0 0 |
Root riesce a montare (da terminale) la partizione e riesce a scrivere, invece da utente riesco solo a leggere.
Questi i permessi prima di essere montato:
Code: | drwxr-xr-x 2 root disk 48 5 mag 16:22 captive-noname |
Questi dopo aver lanciato
Code: | mount -t captive-ntfs /dev/hda1 /mnt/captive-noname/
drwxr-xr-x 1 root root 0 6 mag 14:06 captive-noname |
Se invece cerco di montare la partizione direttamente col mouse, ho questo messaggio di errore:
Code: | Warning: device /dev/hda1 is already handled by /etc/fstab, supplied label is ignored
fusermount: user has no write access to mountpoint /mnt/captive-noname
Captive-ERROR **: FUSE fuse_setup() failed!
You may need Linux kernel 2.6.14 or higher with its 'fuse.ko' enabled.
You may also need to install or upgrade 'fuse' package to your system.
aborting...
Captive-WARNING **: CORBA Exception occured: id="IDL:omg.org/CORBA/COMM_FAILURE:1.0", value=0x805ac24
aborting...
Error: could not execute pmount |
Suggerimenti?? |
|
Back to top |
|
 |
Onip Advocate


Joined: 02 Sep 2004 Posts: 2912 Location: Parma (Italy)
|
Posted: Sat May 06, 2006 1:49 pm Post subject: |
|
|
da quello che hai postato dopo aver montato solo root ha i permessi in scrittura. Fai un bel chmod sul mountpoint dopo avere montato _________________ Linux Registered User n. 373835
Titus Lucretius Carus, De Rerum Natura - Tantum religio potuit suadere malorum |
|
Back to top |
|
 |
bender86 Guru


Joined: 18 Mar 2005 Posts: 484
|
Posted: Sat May 06, 2006 2:49 pm Post subject: |
|
|
giupso wrote: | Code: |
#chmod 777 /mnt/volumeH/
chmod: ripristino dei permessi di `/mnt/volumeH/': Operation not permitted
|
|
Sbaglio o hai dato il comando come utente, e non come root? |
|
Back to top |
|
 |
|