Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Problem z uprawnieniami w sambie
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
karaluch
Apprentice
Apprentice


Joined: 23 Apr 2005
Posts: 236
Location: Wrocław / Poland

PostPosted: Mon Feb 04, 2008 9:17 pm    Post subject: Problem z uprawnieniami w sambie Reply with quote

Pewnie sprawa okaze sie banalnie prosta ale ja sie juz tak dlugo w to patrze, ze juz nic nie widze!
Mam serwer samby o takich ustawieniach dla katalogu:

Code:
[global]
workgroup = Workgroup
server string = Samba Server %v
encrypt password = yes
null password = no
wins support = yes
browsable = yes
username map = /etc/samba/smbusers
smb passwd file = /etc/samba/smbpasswd

log file = /var/log/samba/log.%m
max log size = 50

socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
interfaces = lo eth0 eth1
bind interfaces only = yes
hosts allow = 127.0.0.1 172.16.111.0/24 172.16.112.0/24
hosts deny = 0.0.0.0/0

security = user

[test]
path = /home/test
valid users = @users user
guest ok = no
write list = @users
writable = no
read list = user
force group = users
directory mode = 0770
force create mode = 0770
create mask = 0770
nt acl support = no


W shellu katalog ma takie prawa: 40770 user @ users
Natomiast gdy z komputera klienta loguje sie na serwer to zostaja mi narzucone prawa 40744

Gdzie szukac przyczyny, macie jakies pomysly, moze gdzies jakas literowka albo cos.
Back to top
View user's profile Send private message
karaluch
Apprentice
Apprentice


Joined: 23 Apr 2005
Posts: 236
Location: Wrocław / Poland

PostPosted: Tue Feb 05, 2008 11:49 am    Post subject: Reply with quote

Widze, ze temat nieco umarl, a nie ma co ukrywac ze sytuacja jest dla mnie gardlowa :)

Problem jest taki, ze uzytkownicy w zwiazku z tymi prawami nie moga otwierac dokumentow openoffica bezposrednio na serwerze, musza je sciagac na pulpit i dopiero otwierac co jest niezmiernie uciazliwe.
Back to top
View user's profile Send private message
Qlawy
Apprentice
Apprentice


Joined: 11 Jul 2006
Posts: 200

PostPosted: Thu Feb 07, 2008 11:11 am    Post subject: Reply with quote

Code:
directory mode = 0770
force create mode = 0770
create mask = 0770

zaryzkuj ustawienie 0771 lub 0772 lub 0773 moze nie o to dokładnie chodzi, ale powinno zadziałać - nigdy tak ambitnie samby nie ustawiałem
Back to top
View user's profile Send private message
karaluch
Apprentice
Apprentice


Joined: 23 Apr 2005
Posts: 236
Location: Wrocław / Poland

PostPosted: Fri Feb 08, 2008 8:09 am    Post subject: Reply with quote

Niestety taka konfiguracja nic nie daje.

Dobra to z drugiej strony...

Mam katalog /home/test i chcialbym aby w sambie mial on prawa 0770 z wymuszeniem grupy @users, jezeli ktos sie orietuje to prosilbym o podanie jakie uprawnienia powinien miec katalog w shellu a jakie wpisu powinien miec w smb.conf. Chcialbym miec to z tego wzgledy ze moze robie jakies banalny blad i po prostu tego nie widze.
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