[NTLUG:Discuss] permission detection tool(?)
Stephen Davidson
gorky at freenet.carleton.ca
Thu Nov 3 06:59:47 CST 2005
Johnny Cybermyth wrote:
> I recently made a major blunder and changed permissions on every file
> and directory in the /usr directory. I am slowly discovering all of
> the applications that I broke.
>
> I have an application that writes files and directories under a
> specific directory in my file system (/backup/music/). This
> application now no longer is able to write files to that directory. I
> can run the application using sudo and it will write just fine.
>
> I've made sure that the destination directory is writable to me in a
> normal shell. The directory has the following permissions:
>
> drwxrwxr-x root johnny
>
> When I look at the system monitor, it says that my application is a
> process belonging to johnny. I'm not sure how else to check what gid
> the programming is running under. Is there some type of trace tool
> that will detect when a program is prevented from creating a file due
> to insufficient permissions?
>
> Any other thoughts would be appreciated.
>
> _______________________________________________
> https://ntlug.org/mailman/listinfo/discuss
SuSE has a package called "Permissions" that takes of stuff like that.
I found out about a a couple of years back, when they had the
permissions and group setting for pppd improperly configured. I would
"fix" the permissions, and a couple of days later, they would be wrong
again. Eventually found the manual, and the files that could be used to
set the file permissions and groups for a local system.
Just a suggestion.
-Steve
--
Java/J2EE Developer/Integrator
Stephen Davidson and Associates, Inc.
Vice President, DFW JavaMUG (http://javamug.org)
Past Chair, Dallas/FortWorth J2EE Sig (http://j2eesig.org)
214-724-7741
More information about the Discuss
mailing list