[an error occurred while processing this directive] [an error occurred while processing this directive][an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] (none) [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive][an error occurred while processing this directive] [an error occurred while processing this directive][an error occurred while processing this directive] [an error occurred while processing this directive][an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] (none) [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive][an error occurred while processing this directive]
 
[an error occurred while processing this directive] [an error occurred while processing this directive]
Skåne Sjælland Linux User Group - http://www.sslug.dk Home   Subscribe   Mail Archive   Forum   Calendar   Search
MhonArc Date: [Date Prev] [Date Index] [Date Next]   Thread: [Date Prev] [Thread Index] [Date Next]   MhonArc
 

Re: [NOVICE] Filrettigheder



Den Sun, 17 May 2009 15:03:10 +0000 skrev Jesper Krogh:

> Det skal virke.. Thats about it. Der er flere muligheder.
> 
> Har du lige tilføjet dig til gruppen, så kræver det et logout/login før
> det virker. (check med "id" i den samme shell du forsøger).

Jeg har brugt dvale en del, så jeg har ikke rigtigt været logget ud. Det 
har jeg så gjort nu, og det virker delvist. 
Jeg kan skrive i /media/data, men ikke i /media/data/fotografier, skønt 
jeg er med i både users og foto.
Skal fotografier  chown root.foto eller root.users hele vejen ud til / 
før det virker?

sslug@sslug Billeder]$ ll Fotografier
lrwxrwxrwx 1 mich mich 23 2009-05-14 01:09 Fotografier -> /media/data/
fotografier/
sslug@sslug Billeder]$ touch Fotografier/test
touch: kan ikke røre 'Fotografier/test': Adgang nægtet
sslug@sslug Billeder]$ ls -ln /media
totalt 9
drwxr-xr-x 2 0   0 4096 2009-05-08 02:26 cdrom/
drwxrwxr-x 4 0 100 4096 2009-05-17 19:58 data/
drwxrwxr-x 3 0 503 1024 2009-05-08 02:25 safe/
sslug@sslug Billeder]$ ls -ln /media/data
totalt 20
drwxrwsr-x 2   0 502  4096 2009-05-16 02:58 fotografier/
drwx------ 2   0   0 16384 2009-04-30 16:43 lost+found/
-rw-r--r-- 1 500 500     0 2009-05-17 19:58 test
sslug@sslug Billeder]$ touch /media/data/test
sslug@sslug Billeder]$ touch /media/data/fotografier/test
touch: kan ikke røre '/media/data/fotografier/test': Adgang nægtet
sslug@sslug Billeder]$ id
uid=500(mich) gid=500(mich) grupper=100(users),500(mich),502(foto),503
(safe)

id får åbenbart sine oplysninger fra /etc/groups. Den blev opdateret 
straks, mens id først blev det efter fornyet login.

Mvh
Michael


 
Home   Subscribe   Mail Archive   Index   Calendar   Search

 
 
Questions about the web-pages to <www_admin>. Last modified 2009-06-01, 02:01 CEST [an error occurred while processing this directive]
This page is maintained by [an error occurred while processing this directive]MHonArc [an error occurred while processing this directive] # [an error occurred while processing this directive] *