Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
weird filesystem permissions
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo
View previous topic :: View next topic  
Author Message
taskara
Advocate
Advocate


Joined: 10 Apr 2002
Posts: 3763
Location: Australia

PostPosted: Mon Sep 16, 2002 7:16 am    Post subject: weird filesystem permissions Reply with quote

I have a strange problem

have a gentoo file server.

if someone creates a folder, or modifies a file, other people can access it, but can't write or delete the file.

it looks like the permissions are being changed on the file.

I can reset the permissions to read and write all, but after one person then writes to the file, no one can write to it.. and so on and so forth.

as you could imagine, this is quite annoying when people are trying to use the same files.

any thoughts ?

ta!
Back to top
View user's profile Send private message
taskara
Advocate
Advocate


Joined: 10 Apr 2002
Posts: 3763
Location: Australia

PostPosted: Mon Sep 16, 2002 7:20 am    Post subject: Reply with quote

further to above:

when someone mods a file or dir, the permissions change, and it belongs to the user who moded the file or dir. It also changes the write permissions to ONLY the user.

I don't mind if the ownership changes to a particular user, but is there a way to make the default permissions on a modded file / dir be read write all ?

ta again
Back to top
View user's profile Send private message
rac
Bodhisattva
Bodhisattva


Joined: 30 May 2002
Posts: 6553
Location: Japanifornia

PostPosted: Mon Sep 16, 2002 7:45 am    Post subject: Reply with quote

When you say "file server", do you mean FTP? NFS? SMB? What software is running the "file server" service?
_________________
For every higher wall, there is a taller ladder
Back to top
View user's profile Send private message
taskara
Advocate
Advocate


Joined: 10 Apr 2002
Posts: 3763
Location: Australia

PostPosted: Mon Sep 16, 2002 11:49 am    Post subject: Reply with quote

SMB
Back to top
View user's profile Send private message
simcop2387
Apprentice
Apprentice


Joined: 14 Aug 2002
Posts: 200
Location: Galactic Sector ZZ9 Plural Z Alpha

PostPosted: Mon Sep 16, 2002 8:32 pm    Post subject: Reply with quote

i had that same problem, i did a bit of a work around, in the options to setup the shares add this if all the users are on the same group "create mask = 0770" that will allow all the users to edit and delete the files but it will still change the user, havent figured out how to do that yet.
Back to top
View user's profile Send private message
taskara
Advocate
Advocate


Joined: 10 Apr 2002
Posts: 3763
Location: Australia

PostPosted: Mon Sep 16, 2002 11:11 pm    Post subject: Reply with quote

don't mind if it changes the user :)

thanks for the tip - I had that for the software share, but not for the files share hehe :?
Back to top
View user's profile Send private message
taskara
Advocate
Advocate


Joined: 10 Apr 2002
Posts: 3763
Location: Australia

PostPosted: Mon Sep 16, 2002 11:21 pm    Post subject: Reply with quote

create mask = 0777

seems to only allow read and write, and not execute.

do you know how to get read write execute for all users ?

naturally chmod 777 does this, but how can we get samba to do it automatically ?
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo 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