Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Nie moge przegladac dysków vfat pod uzytkownikiem
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Polskie forum (Polish)
View previous topic :: View next topic  
Author Message
skazi
Apprentice
Apprentice


Joined: 01 Oct 2004
Posts: 219
Location: Cieszyn/Poland

PostPosted: Mon Nov 29, 2004 4:00 pm    Post subject: Nie moge przegladac dysków vfat pod uzytkownikiem Reply with quote

Problem jak w temacie, u?ytkownik jest w grupie users a w fstabie mam takie wpisy:
# <fs> <mountpoint> <type> <opts> <dump/pass>

# NOTE: If your BOOT partition is ReiserFS, add the notail option to opts.
/dev/hda4 / reiserfs notail,noatime 0 0
/dev/hda3 none swap sw 0 0
/dev/cdroms/cdrom0 /mnt/cdrom iso9660 noauto,ro,user,owner 0 0
/dev/cdroms/cdrom1 /mnt/cdrom1 iso9660 noauto,ro,user,owner 0 0
/dev/fd0 /mnt/floppy auto noauto 0 0
/dev/hda1 /mnt/windows vfat auto,users,rw 0 0
/dev/hda5 /mnt/d vfat auto,users,rw 0 0
/dev/hda6 /mnt/e vfat auto,users,rw 0 0

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

# glibc 2.2 and above expects tmpfs to be mounted at /dev/shm for
# POSIX shared memory (shm_open, shm_unlink).
# (tmpfs is a dynamically expandable/shrinkable ramdisk, and will
# use almost no memory if not populated with files)
# Adding the following line to /etc/fstab should take care of this:

none /dev/shm tmpfs defaults 0 0

aha i montowa? cdromów oraz dyskietki te? nie mog? oczywi?cie wszystkie potrzebne systemy plików wkompilowane w j?dro.

Pod rootem wszystko działa jak należy.


Last edited by skazi on Tue Nov 30, 2004 11:56 am; edited 2 times in total
Back to top
View user's profile Send private message
milu
Bodhisattva
Bodhisattva


Joined: 03 May 2004
Posts: 1122
Location: Poland, Konstancin-Jeziorna

PostPosted: Mon Nov 29, 2004 4:35 pm    Post subject: Reply with quote

U mnie działało cos takiego:
Code:
#/dev/hdc4              /mnt/windows       vfat            gid=100,umask=002       0 0

_________________
Pozdrawiam,
Milu
------------------------------------
Registered Linux User: #246079

Zanim zadasz pytanie przeczytaj to dokładnie!!
Back to top
View user's profile Send private message
skazi
Apprentice
Apprentice


Joined: 01 Oct 2004
Posts: 219
Location: Cieszyn/Poland

PostPosted: Mon Nov 29, 2004 5:06 pm    Post subject: Reply with quote

Dobra ju? dzia?a.
do fstab doda?em co? takiego:
umask=770
czy tak jak da?em jest dobrze czy powinno by? inaczej???
Z tego co wiem to oznacza pe?ne prawa dla roota i u?ytkowników a ?adnych praw dla "reszty ?wiata"
Back to top
View user's profile Send private message
ketjow
Guru
Guru


Joined: 01 Apr 2004
Posts: 382
Location: Krakow, Poland

PostPosted: Mon Nov 29, 2004 5:27 pm    Post subject: Reply with quote

dokladnie odwrotnie - 770 oznacza zadnych praw dla wlasciciela, grupy, za to niezmienione prawa dla wszystkich innch. sprobuj umask=002
Back to top
View user's profile Send private message
skazi
Apprentice
Apprentice


Joined: 01 Oct 2004
Posts: 219
Location: Cieszyn/Poland

PostPosted: Mon Nov 29, 2004 6:44 pm    Post subject: Reply with quote

Już jest ok. Dzięki wam.
Back to top
View user's profile Send private message
skazi
Apprentice
Apprentice


Joined: 01 Oct 2004
Posts: 219
Location: Cieszyn/Poland

PostPosted: Tue Nov 30, 2004 11:56 am    Post subject: Reply with quote

A jednak nie dzia?a jak trzeba. Po dodaniu umask=002 jako zwyk?y uzytkownik moge tylko przegladac zasoby i kopiowac je ale nie moge ich kasowac w fstabie jest wpis rw wiec nie wiem. Czy to mozliwe ze przy tworzeniu zwyklego uzytkownika zamiast do grupy users uzytkownik nie zoslal do niej dodany i teraz jest traktowany jako "reszta swiata". Jak to sprawdzic w KDE w mam ze jest w grupie podstawowej users.
Back to top
View user's profile Send private message
Zwierzak
Veteran
Veteran


Joined: 19 Sep 2003
Posts: 1012
Location: /dev/null

PostPosted: Tue Nov 30, 2004 4:03 pm    Post subject: Reply with quote

Code:
/dev/hda1      /mnt/win_c   ntfs      noauto,users,exec,umask=000,gid=disk 0 0
/dev/hda5      /mnt/win_d   vfat      noauto,users,exec,umask=000,gid=disk 0 0
/dev/hda6      /mnt/win_e   vfat      noauto,users,exec,umask=000,gid=disk 0 0

na 100% działa, sprubuj u siebie, użytkownik powinie się znajdować w grupie "disc" aby wszystko bylo ok
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Polskie forum (Polish) 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