Samba and permissions
ok, have samba serving a few access databases. the issue is that whenever the first user logs on access creates a lock file and gives them the only write permission, thus preventing other users from writing to the lock file and denying them acess. How can i have this file writeable by all users every day. I have been chmoding them every morning when the first user logs on, roughly 9:00 and am getting tired of doing this. TIA
|
I have been using Samba for a couple of years and have not experienced this.
What version are you running? |
whatever is in RH9, 2.4 maybe?
|
are all your users in the same linux group?
what did you set the file permissions for? |
even when i set the directory permissions for 777 ( bad, I know) the new file is not writable by others ( which it absolutely has to be). No, they are not in the same group, as this particular server needs to have the highest standard of security for PHI (protected health information). Just another thing to point out in our audits....... so i cant really do that.... looking for another workaround.
|
This is an MS Access issue.
These databases are designed to be single users only. The best way to allow multiple people to access one database is to go for something like MySQL, PostgreSQL etc. The lock-file is there to make sure only one person accesses the file at a and can't be changed. |
um, no
actually, MS ACCESS can handle quite a few users. The lock files are there to ensure that any given record is being edited by a single user at one time just as in MYSQL, and PostgreSQL. Thanks for the effort, but no. |
Try editing your /etc/samba/smb.conf and add the following line:
force create mode=0777 This will only create (or modify) files giving them the 777 permission. |
thanks demarchi.
I ended up doing exactly that for the one particular share in question and have not had any issues since. That is exactly the solution i was looking for. |
All times are GMT -5. The time now is 03:23 AM. |