Slackware This Forum is for the discussion of Slackware Linux.
|
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
08-13-2005, 07:07 AM
|
#1
|
Member
Registered: Apr 2002
Location: Philippines
Distribution: Slackware 10.2
Posts: 111
Rep:
|
File permission help!
Hi guys,
I'm so confused... I have a Linux file server where I am housing a Microsoft Access Database. I have 5 users who needs to access the database at the same time but only one cilent can open the file at a time. I'm pretty sure that the problem is with the permission. When an access database is open, an "ldb" file is automatically created. Thats where the problem start because the by default, the read and write permission is only granted for the user but not for the group.
I think the problem will be solve if i can set the default permission of the newly created files to have read, write and execute permision. I dont know how to do it. Please help..
Thanks in advance! 
|
|
|
08-13-2005, 11:22 AM
|
#2
|
Member
Registered: Jul 2004
Location: [jax][fl][usa]
Distribution: Slackware64-current
Posts: 796
Rep:
|
'man umask'
|
|
|
08-14-2005, 06:47 AM
|
#3
|
Member
Registered: Aug 2005
Location: London, UK
Distribution: Debian Testing
Posts: 157
Rep:
|
Re: File permission help!
Quote:
Originally posted by jorasmi
I'm so confused... I have a Linux file server where I am housing a Microsoft Access Database. I have 5 users who needs to access the database at the same time but only one cilent can open the file at a time. I'm pretty sure that the problem is with the permission. When an access database is open, an "ldb" file is automatically created. Thats where the problem start because the by default, the read and write permission is only granted for the user but not for the group.
I think the problem will be solve if i can set the default permission of the newly created files to have read, write and execute permision. I dont know how to do it. Please help..
|
If I understand your question correctly, I suspect that the problem might well reside within the MS Access protocol itself and won't be an issue you could resolve with server-level permission sets. I think that Access (like Excel) will automatically lock a file while it is active with one user. A second user might be able to access it read-only at the same time, but that would be it. I don't think that using MS Access is a real-time multi-user application, but I stand to be corrected. You might want to look into this before fiddling with user and group permissions on the server.
|
|
|
08-14-2005, 09:24 PM
|
#4
|
Member
Registered: Apr 2002
Location: Philippines
Distribution: Slackware 10.2
Posts: 111
Original Poster
Rep:
|
Re: Re: File permission help!
Quote:
Originally posted by d00bid00b
If I understand your question correctly, I suspect that the problem might well reside within the MS Access protocol itself and won't be an issue you could resolve with server-level permission sets. I think that Access (like Excel) will automatically lock a file while it is active with one user. A second user might be able to access it read-only at the same time, but that would be it. I don't think that using MS Access is a real-time multi-user application, but I stand to be corrected. You might want to look into this before fiddling with user and group permissions on the server.
|
That is true with excel but i think not in ms access. Before when the database is in Windows, all my clients can access the files at the same time.
|
|
|
08-14-2005, 09:52 PM
|
#5
|
Member
Registered: Jul 2004
Posts: 70
Rep:
|
What protocol are you using for this functionality?
I really don't think the current Linux compatibility with Access databases is high. I suggest that you use Windows if Access is the only database system you will use.
|
|
|
08-14-2005, 10:27 PM
|
#6
|
Member
Registered: Apr 2002
Location: Philippines
Distribution: Slackware 10.2
Posts: 111
Original Poster
Rep:
|
tcpip is the protocol.
right now, once a user open a database i chmod the file that access created so that all users can access it at the same time. i think umask will help.
is it possible to umask a certain directory? i think my problem wil be solve if only all new files created will have a default 777 permission.
|
|
|
08-15-2005, 08:37 PM
|
#7
|
LQ Newbie
Registered: Aug 2005
Posts: 1
Rep:
|
I recently set up a Centos 4 file server for a small company. Op_locks must be disabled on both the Samba server (smb.conf) and the Win clients. Microsoft calls it 'write behind cache'. I tend to think of it as 'he who gets there first wins.' Access and Quickbooks need this done for a multiuser environment. I will try to look up the exact registry values for the win boxes. Try Samba.org to see an example of opportunistic locks = xx in an smb file. Battery low = gotta go. gary
|
|
|
08-15-2005, 10:07 PM
|
#8
|
Member
Registered: Apr 2002
Location: Philippines
Distribution: Slackware 10.2
Posts: 111
Original Poster
Rep:
|
zapatengo! THANKS! IT WORKS! I edit some lines in my samba configuration and it works!  Thanks all guys!
|
|
|
All times are GMT -5. The time now is 12:56 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|