View previous topic :: View next topic |
Author |
Message |
taskara Advocate
Joined: 10 Apr 2002 Posts: 3763 Location: Australia
|
Posted: Mon Sep 16, 2002 7:16 am Post subject: weird filesystem permissions |
|
|
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 |
|
|
taskara Advocate
Joined: 10 Apr 2002 Posts: 3763 Location: Australia
|
Posted: Mon Sep 16, 2002 7:20 am Post subject: |
|
|
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 |
|
|
rac Bodhisattva
Joined: 30 May 2002 Posts: 6553 Location: Japanifornia
|
Posted: Mon Sep 16, 2002 7:45 am Post subject: |
|
|
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 |
|
|
taskara Advocate
Joined: 10 Apr 2002 Posts: 3763 Location: Australia
|
Posted: Mon Sep 16, 2002 11:49 am Post subject: |
|
|
SMB |
|
Back to top |
|
|
simcop2387 Apprentice
Joined: 14 Aug 2002 Posts: 200 Location: Galactic Sector ZZ9 Plural Z Alpha
|
Posted: Mon Sep 16, 2002 8:32 pm Post subject: |
|
|
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 |
|
|
taskara Advocate
Joined: 10 Apr 2002 Posts: 3763 Location: Australia
|
Posted: Mon Sep 16, 2002 11:11 pm Post subject: |
|
|
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 |
|
|
taskara Advocate
Joined: 10 Apr 2002 Posts: 3763 Location: Australia
|
Posted: Mon Sep 16, 2002 11:21 pm Post subject: |
|
|
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 |
|
|
|