Re: How to set access permissions to protect a database file?

2019-06-10 Thread David Christensen
ading_room directory with the command: chmod +t /home/reading_room/ And transferred, the files to the new directory with the following access permissions: reading_room.tcl  rwxr--r-x  (owner markos) reading_room.db rw-r--rw- (owner markos) This way other users can run the reading_room.tcl pr

Re: How to set access permissions to protect a database file?

2019-06-10 Thread john doe
On 6/10/2019 7:56 AM, Reco wrote: > Hi. > > On Sun, Jun 09, 2019 at 06:32:42PM -0300, Markos wrote: >> Many thanks to Mick, David and Joe, >> >> To guarantee "some" protection to the file containing the database I decided >> to use the following strategy: >> >> I created, as root, the direct

Re: How to set access permissions to protect a database file?

2019-06-09 Thread Reco
/home/reading_room > > And activated the "sticky bit" of the reading_room directory with the command: > > chmod +t /home/reading_room/ > > And transferred, the files to the new directory with the following access > permissions: > > reading_room.tcl rwxr--r-x (owne

Re: How to set access permissions to protect a database file?

2019-06-09 Thread Dan Ritter
Joe wrote: > > This may be the time to learn about MySQL/mariadb. No, it's not a > resource hog like SQL Server, it will run happily on a small computer. > I used to run it with fairly decent speed on an Atom-based netbook, > and I had about twenty databases on a 256MB RAM desktop that I used to

Re: How to set access permissions to protect a database file?

2019-06-09 Thread mick crane
On 2019-06-09 22:32, Markos wrote: reading_room.db rw-r--rw- (owner markos) why give world write access to the database ? -- Key ID4BFEBB31

Re: How to set access permissions to protect a database file?

2019-06-09 Thread Markos
command: chmod +t /home/reading_room/ And transferred, the files to the new directory with the following access permissions: reading_room.tcl rwxr--r-x (owner markos) reading_room.db rw-r--rw- (owner markos) This way other users can run the reading_room.tcl program but can't  but not

Re: How to set access permissions to protect a database file?

2019-05-26 Thread Joe
On Sat, 25 May 2019 20:49:31 -0300 Markos wrote: > Hi, > > I made a program (reading_room.tcl), with Sqlite running on Debian 9, > to control the books of a reading room. > > I implemented an authentication system for common users and > administrator users in the reading_room program. > > Now

Re: How to set access permissions to protect a database file?

2019-05-25 Thread mick crane
On 2019-05-26 05:32, David Christensen wrote: On 5/25/19 8:12 PM, mick crane wrote: On 2019-05-26 00:49, Markos wrote: Hi, I made a program (reading_room.tcl), with Sqlite running on Debian 9, to control the books of a reading room. I implemented an authentication system for common users and

Re: How to set access permissions to protect a database file?

2019-05-25 Thread David Christensen
On 5/25/19 8:12 PM, mick crane wrote: On 2019-05-26 00:49, Markos wrote: Hi, I made a program (reading_room.tcl), with Sqlite running on Debian 9, to control the books of a reading room. I implemented an authentication system for common users and administrator users in the reading_room program

Re: How to set access permissions to protect a database file?

2019-05-25 Thread David Christensen
On 5/25/19 4:49 PM, Markos wrote: Hi, I made a program (reading_room.tcl), with Sqlite running on Debian 9, to control the books of a reading room. I implemented an authentication system for common users and administrator users in the reading_room program. Now I want that any user logged i

Re: How to set access permissions to protect a database file?

2019-05-25 Thread mick crane
On 2019-05-26 00:49, Markos wrote: Hi, I made a program (reading_room.tcl), with Sqlite running on Debian 9, to control the books of a reading room. I implemented an authentication system for common users and administrator users in the reading_room program. Now I want that any user logged in t

How to set access permissions to protect a database file?

2019-05-25 Thread Markos
Hi, I made a program (reading_room.tcl), with Sqlite running on Debian 9, to control the books of a reading room. I implemented an authentication system for common users and administrator users in the reading_room program. Now I want that any user logged in the Linux be able to run the prog

Re: Default file access permissions on /tmp

2006-10-05 Thread Bob McGowan
Bruno Costacurta wrote: Hello, what are default file access permissions on directory /tmp ? (Note: I just inadvertly change them and would like to restore as original setup.) Cheers, Bruno As root: chmod 1777 /tmp Bob -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a

Re: Default file access permissions on /tmp

2006-10-05 Thread Steve Kemp
On Thu, Oct 05, 2006 at 10:49:42PM +0200, Bruno Costacurta wrote: > what are default file access permissions on directory /tmp ? 1755 If you have a working/normal system you can use "stat" to list the permissions: [EMAIL PROTECTED]:~$ stat /tmp File: `/tmp'

Default file access permissions on /tmp

2006-10-05 Thread Bruno Costacurta
Hello, what are default file access permissions on directory /tmp ? (Note: I just inadvertly change them and would like to restore as original setup.) Cheers, Bruno -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Re: Access & Permissions

2001-03-20 Thread Richard C. Cobbe
Lo, on Tuesday, March 20, Matthew Sackman did write: > On Tue, Mar 20, 2001 at 01:04:27PM -0500, C Mead wrote: > > Hi, > > > > I need to give access to my /www/ dirs to regular users for apache. Can > > someone please take me through the steps of changing the permissions > > and groups recursivel

Re: Access & Permissions

2001-03-20 Thread Jason Majors
To create a group webdev (or whatever...I'd suggest against dev, because it can get confused with the /dev directory) do this: groupadd To add the users to it: usermod -G ,... You must specify all of the groups that the user belongs to at the time as well as the new group. To change the /var/www d

Re: Access & Permissions

2001-03-20 Thread Matthew Sackman
On Tue, Mar 20, 2001 at 01:04:27PM -0500, C Mead wrote: > Hi, > > I need to give access to my /www/ dirs to regular users for apache. Can > someone > please take me through the steps of changing the permissions and groups > recursively. > > I would ideally like to make all regular users be able

Access & Permissions

2001-03-20 Thread C Mead
Hi, I need to give access to my /www/ dirs to regular users for apache. Can someone please take me through the steps of changing the permissions and groups recursively. I would ideally like to make all regular users be able to access all sub-dirs of dir /var/www and create their own files. As we