Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
uso di captive da utente
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Forum italiano (Italian)
View previous topic :: View next topic  
Author Message
giupso
n00b
n00b


Joined: 13 Dec 2003
Posts: 70

PostPosted: Sat Feb 05, 2005 10:20 am    Post subject: uso di captive da utente Reply with quote

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
View user's profile Send private message
gutter
Bodhisattva
Bodhisattva


Joined: 13 Mar 2004
Posts: 7162
Location: Aarau, Aargau, Switzerland

PostPosted: Sat Feb 05, 2005 10:21 am    Post subject: Reply with quote

Invisibile in che senso? Se fai un ls di /mnt non compare?
_________________
Registered as User #281564 and Machines #163761
Back to top
View user's profile Send private message
giupso
n00b
n00b


Joined: 13 Dec 2003
Posts: 70

PostPosted: Sat Feb 05, 2005 10:25 am    Post subject: Reply with quote

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
View user's profile Send private message
gutter
Bodhisattva
Bodhisattva


Joined: 13 Mar 2004
Posts: 7162
Location: Aarau, Aargau, Switzerland

PostPosted: Sat Feb 05, 2005 10:27 am    Post subject: Reply with quote

Ora il discorso comincia ad essere più chiaro ;)

Posta un:

Code:
$ ls -l /mnt/

_________________
Registered as User #281564 and Machines #163761
Back to top
View user's profile Send private message
giupso
n00b
n00b


Joined: 13 Dec 2003
Posts: 70

PostPosted: Sat Feb 05, 2005 10:29 am    Post subject: Reply with quote

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
View user's profile Send private message
gutter
Bodhisattva
Bodhisattva


Joined: 13 Mar 2004
Posts: 7162
Location: Aarau, Aargau, Switzerland

PostPosted: Sat Feb 05, 2005 10:33 am    Post subject: Reply with quote

Questa è la situazione in cui /mnt/volumeH è montato?
_________________
Registered as User #281564 and Machines #163761
Back to top
View user's profile Send private message
giupso
n00b
n00b


Joined: 13 Dec 2003
Posts: 70

PostPosted: Sat Feb 05, 2005 10:35 am    Post subject: Reply with quote

si in questo momento /dev/sda1 è montato su /mnt/volumeH
Back to top
View user's profile Send private message
gutter
Bodhisattva
Bodhisattva


Joined: 13 Mar 2004
Posts: 7162
Location: Aarau, Aargau, Switzerland

PostPosted: Sat Feb 05, 2005 10:39 am    Post subject: Reply with quote

Prova a mettere umask=000 in fastab.
_________________
Registered as User #281564 and Machines #163761
Back to top
View user's profile Send private message
giupso
n00b
n00b


Joined: 13 Dec 2003
Posts: 70

PostPosted: Sat Feb 05, 2005 10:41 am    Post subject: Reply with quote

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
View user's profile Send private message
giupso
n00b
n00b


Joined: 13 Dec 2003
Posts: 70

PostPosted: Sat Feb 05, 2005 10:44 am    Post subject: Reply with quote

sempre uguale
Code:

drwxr-xr-x  1 root root    0  5 feb 11:27 volumeH
Back to top
View user's profile Send private message
lavish
Bodhisattva
Bodhisattva


Joined: 13 Sep 2004
Posts: 4296

PostPosted: Sat Feb 05, 2005 10:54 am    Post subject: Reply with quote

prova a cambiare i permessi con chmod 777 al mountpoint
_________________
minimalblue.com | secgroup.github.io/
Back to top
View user's profile Send private message
giupso
n00b
n00b


Joined: 13 Dec 2003
Posts: 70

PostPosted: Sat Feb 05, 2005 10:56 am    Post subject: Reply with quote

Code:

#chmod 777 /mnt/volumeH/
chmod: ripristino dei permessi di `/mnt/volumeH/': Operation not permitted
Back to top
View user's profile Send private message
tuxer
Guru
Guru


Joined: 10 May 2004
Posts: 328

PostPosted: Sat Feb 05, 2005 11:20 am    Post subject: Reply with quote

Non puoi mettere uid=<uid_tuo_utente> nelle opzioni in fstab??
Back to top
View user's profile Send private message
giupso
n00b
n00b


Joined: 13 Dec 2003
Posts: 70

PostPosted: Sat Feb 05, 2005 12:10 pm    Post subject: Reply with quote

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
View user's profile Send private message
n3m0
l33t
l33t


Joined: 08 Feb 2004
Posts: 798
Location: Richville, Naples, Italy, Europe

PostPosted: Sat Feb 05, 2005 12:49 pm    Post subject: Reply with quote

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.
_________________
L’energia è la civiltà. Lasciarla in mano ai piromani/petrolieri è criminale. Perché aspettare che finisca il petrolio?
L’età della pietra non è mica finita per mancanza di pietre. - B.G.


Site/Blog: http://www.neminis.org
Back to top
View user's profile Send private message
giupso
n00b
n00b


Joined: 13 Dec 2003
Posts: 70

PostPosted: Sat Feb 05, 2005 1:08 pm    Post subject: Reply with quote

lo ho fatto a volume smontato chiaramente....
il problema è che captive mi risetta i permessi..penso
Back to top
View user's profile Send private message
gutter
Bodhisattva
Bodhisattva


Joined: 13 Mar 2004
Posts: 7162
Location: Aarau, Aargau, Switzerland

PostPosted: Sat Feb 05, 2005 2:33 pm    Post subject: Reply with quote

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
View user's profile Send private message
tuxer
Guru
Guru


Joined: 10 May 2004
Posts: 328

PostPosted: Sat Feb 05, 2005 5:52 pm    Post subject: Reply with quote

No ma guarda che devi mettere l'uid del tuo utente, mica il nome!
Dai da shell
Code:
id <utente>
e vedi cos'è l'uid...
Back to top
View user's profile Send private message
kireime
n00b
n00b


Joined: 29 Dec 2003
Posts: 73
Location: Sulmona - Italy

PostPosted: Sat May 06, 2006 12:47 pm    Post subject: Reply with quote

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
View user's profile Send private message
Onip
Advocate
Advocate


Joined: 02 Sep 2004
Posts: 2912
Location: Parma (Italy)

PostPosted: Sat May 06, 2006 1:49 pm    Post subject: Reply with quote

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
View user's profile Send private message
bender86
Guru
Guru


Joined: 18 Mar 2005
Posts: 484

PostPosted: Sat May 06, 2006 2:49 pm    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Forum italiano (Italian) All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum