Click to See Complete Forum and Search --> : Permissions


Nick Wilson
08-11-2001, 06:56 AM
HI
If i do this >> chmod u+x mysqlstart
to a program I created (myaqlstart) that does what it says, starts mysql with the password.
Who has permission to execute that? Me and the root user I hope as this is on my host and I'd rather other users not be able to get to my database.
Can someone please tell me if this is posing a threat to my data?


Cheers

Nick

7
08-11-2001, 07:05 AM
chmod 700 <file> would be best. That command would add user-only execute permissions, but it depends on what permissions the file already has.

[ 11 August 2001: Message edited by: 7 ]

Gray_Race
08-11-2001, 01:20 PM
Another thing to consider is who is modifying the permision. If you chmod 700 as root, root would only have access... but if you did that as a user, that user and root(since it has all access) would be able too see it.

If you want more info on permissions read the NHF on them. Here's a link: NHF permissions (http://www.linuxnewbie.org/nhf/intel/filesys/fileperms.html)

Nick Wilson
08-11-2001, 03:17 PM
Thanks guys!