Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
chgrp non funzia [Risolto]
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) Forum di discussione italiano
View previous topic :: View next topic  
Author Message
canduc17
l33t
l33t


Joined: 11 Oct 2005
Posts: 795
Location: Ferrara, Italy

PostPosted: Thu Nov 26, 2009 4:58 pm    Post subject: chgrp non funzia [Risolto] Reply with quote

Sono quaranta minuti che googolo per trovare una soluzione:
Code:
candesktop home # ll
total 36K
drwxrwxr-x  2 root   root   4.0K Nov 26 17:48 Foto
drwxr-xr-x 18 canduc canduc 4.0K Nov 26 17:51 canduc

candesktop home # chgrp -Rv foto Foto
group of `Foto' retained as foto

Perchè chgrp non funziona? E cosa significa il messaggio che mi viene dato?

La mia intenzione è quella di fare una directory dentro home (Foto) alla quale possano accedere tutti gli utenti che appartengono al gruppo foto, precedentemente creato con
Code:
groupadd foto

Dove sbaglio?
_________________
A cow enters a supermarket, does an handstand and dies. (Public toilet graffito)


Last edited by canduc17 on Mon Dec 07, 2009 9:35 pm; edited 1 time in total
Back to top
View user's profile Send private message
Apetrini
Veteran
Veteran


Joined: 09 Feb 2005
Posts: 1158

PostPosted: Fri Nov 27, 2009 7:17 pm    Post subject: Reply with quote

Mi sembra che funzioni...
_________________
Linux ape 2.6.31-vanilla. Paludis since 0.28.0.
Back to top
View user's profile Send private message
canduc17
l33t
l33t


Joined: 11 Oct 2005
Posts: 795
Location: Ferrara, Italy

PostPosted: Fri Nov 27, 2009 7:36 pm    Post subject: Reply with quote

Non ho messo la dimostrazione del non-funzionamento, sorry:
Code:
candesktop home # ll
total 36K
drwxrwxr-x  2 root   root   4.0K Nov 26 17:48 Foto

candesktop home # chgrp -Rv foto Foto
group of `Foto' retained as foto

candesktop home # ll
total 36K
drwxrwxr-x  2 root   root   4.0K Nov 26 17:48 Foto
Come si può vedere la cartella rimane del gruppo root, non passa al gruppo foto...
_________________
A cow enters a supermarket, does an handstand and dies. (Public toilet graffito)
Back to top
View user's profile Send private message
cloc3
Advocate
Advocate


Joined: 13 Jan 2004
Posts: 4788
Location: http://www.gentoo-users.org/user/cloc3/

PostPosted: Fri Nov 27, 2009 7:40 pm    Post subject: Reply with quote

forse hai un problema di locales.
:roll:
Code:

gentoo-live ~ # chgrp -v pippo pippo.txt
il gruppo di `pippo.txt' è stato cambiato in pippo

_________________
vu vu vu
gentù
mi piaci tu
Back to top
View user's profile Send private message
canduc17
l33t
l33t


Joined: 11 Oct 2005
Posts: 795
Location: Ferrara, Italy

PostPosted: Mon Dec 07, 2009 9:34 pm    Post subject: Reply with quote

Code:
candesktop home # chgrp -Rv foto Foto
il gruppo di `Foto' è rimasto foto
candesktop home # ls -l
drwxrwxr-x  2 root   foto    4096 26 nov 17:48 Foto

Okkei, ho messo a posto la localizzazione, ma il problema non era quello: era che non visualizzavo il gruppo nei precedenti ls.
Con il mio alias ll avevo fatto del casino, in realtà chgrp era andato a segno la prima volta.
Grazie.
_________________
A cow enters a supermarket, does an handstand and dies. (Public toilet graffito)
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Forum italiano (Italian) Forum di discussione italiano 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