Application permissions issues
Hello all,
I am running a server application called KDX. It's kind of like bbs software. Anyway, the app generates directories and files - all of which have permissions automatically set to: rw------- What I need is the app to create these directories and files with permissions: rwxrwxrwx Is there something I need to set as a flag or switch before or while running the app? Any assistance appreciated. Cheers, Sean. |
777 permissions are REALLY insecure, but try running "umask 000" before starting the kdx application.
|
You need to chmod the file(s).
It appears you need to read/write/execute for everyone on these files, which would be something to the effect of: Code:
chmod 777 filename chmod info If you need more info you can check the man page for it: Code:
man chmod Jerry |
umask 000
Hi Matir,
hehe - tried that just now - thanks. I read about this before. No go unfortunately. it could just be an app specific issue - if umask is not working. Unless you have any other suggestions :-)? Cheers, Sean. PS. ibrewale - yeah - I know about chmod - this issue is the app keeps generating the files - which means I keep having to reset permissions on all new files - and when you have 100's of files it's not realistic - :-) - thanks though. |
My guess is that the program internally resets the permissions or its own umask, like via the umask() system call.
You could chmod -R the directory containing the files, if there are no other files in there. |
All times are GMT -5. The time now is 07:21 PM. |