Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Permesso ? Avanti ! [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)
View previous topic :: View next topic  
Author Message
codadilupo
Advocate
Advocate


Joined: 05 Aug 2003
Posts: 3135

PostPosted: Sun Aug 10, 2003 3:01 pm    Post subject: Permesso ? Avanti ! [risolto] Reply with quote

uff... cominciamo:

codadilupo@nemesis codadilupo $ ls -la /mnt/
totale 4
drwxrwxrwx 7 root root 168 2003-08-10 11:05 .
drwxr-xr-x 17 root root 416 2003-08-06 22:29 ..
drwxr-xr-x 2 codadilupo wheel 48 2003-08-10 11:04 C
drwxrwx--- 2 codadilupo wheel 48 2003-08-10 11:05 cdrom
drwxr--rwx 2 codadilupo wheel 48 2003-08-10 11:04 D
dr-xr--r-x 2 codadilupo wheel 48 2003-08-10 11:05 dvd
drwxrwx--- 2 codadilupo wheel 48 2003-08-10 11:05 floppy
codadilupo@nemesis codadilupo $ su -
Password:
nemesis root # mount /mnt/D
nemesis root # exit
logout
codadilupo@nemesis codadilupo $ cd /mnt/D
-bash: cd: /mnt/D: Permission denied
codadilupo@nemesis codadilupo $

siete in grado di spiegarmi il mistero del permesso negato ?

Coda

P.S.: I've read tfm yet :wink:
P.P.S.: ho provato a cambiare i permessi sui file: con 777 funziona, con ugo, invece ciccia.... non e' strano ?


Last edited by codadilupo on Tue Aug 12, 2003 7:25 am; edited 1 time in total
Back to top
View user's profile Send private message
koma
Advocate
Advocate


Joined: 06 Jun 2003
Posts: 2702
Location: Italy

PostPosted: Sun Aug 10, 2003 3:28 pm    Post subject: Re: Permesso ? Avanti ! Reply with quote

codadilupo wrote:
uff... cominciamo:

codadilupo@nemesis codadilupo $ ls -la /mnt/
totale 4
drwxrwxrwx 7 root root 168 2003-08-10 11:05 .
drwxr-xr-x 17 root root 416 2003-08-06 22:29 ..
drwxr-xr-x 2 codadilupo wheel 48 2003-08-10 11:04 C
drwxrwx--- 2 codadilupo wheel 48 2003-08-10 11:05 cdrom
drwxr--rwx 2 codadilupo wheel 48 2003-08-10 11:04 D
dr-xr--r-x 2 codadilupo wheel 48 2003-08-10 11:05 dvd
drwxrwx--- 2 codadilupo wheel 48 2003-08-10 11:05 floppy
codadilupo@nemesis codadilupo $ su -
Password:
nemesis root # mount /mnt/D
nemesis root # exit
logout
codadilupo@nemesis codadilupo $ cd /mnt/D
-bash: cd: /mnt/D: Permission denied
codadilupo@nemesis codadilupo $

siete in grado di spiegarmi il mistero del permesso negato ?

Coda

P.S.: I've read tfm yet :wink:
P.P.S.: ho provato a cambiare i permessi sui file: con 777 funziona, con ugo, invece ciccia.... non e' strano ?



di che partizione si tratta?
_________________
http://www.youtube.com/watch?v=_yoJI-Tl94g GLORY GLORY HYPNOTOAD
Back to top
View user's profile Send private message
IgaRyu
Guru
Guru


Joined: 23 Jan 2003
Posts: 302
Location: Verona

PostPosted: Sun Aug 10, 2003 3:34 pm    Post subject: Reply with quote

sarebeb necessario sapere come hai settato /etc/fstab per quel device

Joe
_________________
One Flew East
One Flew West
Some Flew On The Kukool's Nest
Back to top
View user's profile Send private message
cerri
Bodhisattva
Bodhisattva


Joined: 05 Mar 2003
Posts: 2957
Location: # init S

PostPosted: Sun Aug 10, 2003 3:58 pm    Post subject: Reply with quote

Quote:
siete in grado di spiegarmi il mistero del permesso negato ?

Rifai ls dopo il mount...
E cmq:
Code:
$ man mount

8)
_________________
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
View user's profile Send private message
Peach
Advocate
Advocate


Joined: 08 Mar 2003
Posts: 3686
Location: London, UK

PostPosted: Sun Aug 10, 2003 4:01 pm    Post subject: Reply with quote

se lo monti come root e accedi come utente quella dir appartiene a chi l'ha montata... man mount dovrebbe risolverti qualche dubbio a riguardo... ;)
_________________
Gentoo user since 2004.
"It's all fun and games, until someone loses an eye" - mom
Back to top
View user's profile Send private message
codadilupo
Advocate
Advocate


Joined: 05 Aug 2003
Posts: 3135

PostPosted: Sun Aug 10, 2003 4:48 pm    Post subject: Reply with quote

chiaro che se monto come root, la directory appartiene a root; quello che mi pareva strano e che dopo aver fatto il mount come root, i permessi per others non venissero piu' considerati. Cmq e' appena tornata mia cugina dalle ferie, e mo' me lo faccio tradurre in pure in giapponese, il man (vediamo se cosi' lo capisco di piu', umpf!) :lol:

Coda
Back to top
View user's profile Send private message
neon
l33t
l33t


Joined: 04 Aug 2003
Posts: 759
Location: Catania, Italy, Europe

PostPosted: Sun Aug 10, 2003 4:51 pm    Post subject: Reply with quote

cmq ti consiglio di dare un occhiata anche all'opzione umask di fstab, solitamente c'entra quella :wink:
_________________
Io credo che le tecnologie siano moralmente neutrali fino a quando non le utilizziamo - William Gibson

LINEE GUIDA DEL FORUM
Back to top
View user's profile Send private message
codadilupo
Advocate
Advocate


Joined: 05 Aug 2003
Posts: 3135

PostPosted: Sun Aug 10, 2003 5:36 pm    Post subject: Reply with quote

# NOTE: If your BOOT partition is ReiserFS, add the notail option to
opts.
/dev/hda1 /mnt/C ntfs ro,users,noauto 0 0
/dev/hda5 /mnt/D vfat ro,users,auto,unhide 0 0
/dev/hda6 /boot ext3 noauto,noatime 1 2
/dev/hda7 none swap sw 0 0
/dev/hda8 / reiserfs noatime 0 1

#/dev/cdroms/cdrom0 /mnt/cdrom iso9660 noauto,ro 0 0
/dev/cdroms/cdrom0 /mnt/dvd iso9660 noauto,ro,user,unhide 0 0

# NOTE: The next line is critical for boot!
proc /proc proc defaults 0 0

ok, ora vado ad appendermi al cilicio, sigh!

Coda

(pensierino: non c'e' nulla di piu' nascosto di quello che hai sotto gli occhi, eh!)
Back to top
View user's profile Send private message
fedeliallalinea
Administrator
Administrator


Joined: 08 Mar 2003
Posts: 31445
Location: here

PostPosted: Sun Aug 10, 2003 5:54 pm    Post subject: Reply with quote

Come diceva neon_it probabilmente il problema e' umask guarda questa guida.
Back to top
View user's profile Send private message
codadilupo
Advocate
Advocate


Joined: 05 Aug 2003
Posts: 3135

PostPosted: Sun Aug 10, 2003 6:45 pm    Post subject: Reply with quote

fedeliallalinea wrote:
Come diceva neon_it probabilmente il problema e' umask guarda questa guida.


ho gia' risolto scrivendo user, anziche' users, ma effettivamente questa paginetta non e' niente male: non sapevo si potessero settare i permessi per ogni singolo utente direttamente nell'fstab, mille grazie ;-)

Coda
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