LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices



Reply
 
Search this Thread
Old 08-07-2005, 12:13 AM   #1
motionid
LQ Newbie
 
Registered: Aug 2005
Location: Tokyo, Japan
Distribution: suse 9.2
Posts: 5

Rep: Reputation: 0
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.
 
Old 08-07-2005, 12:49 AM   #2
Matir
Moderator
 
Registered: Nov 2004
Location: San Jose, CA
Distribution: Ubuntu
Posts: 8,507

Rep: Reputation: 118Reputation: 118
777 permissions are REALLY insecure, but try running "umask 000" before starting the kdx application.
 
Old 08-07-2005, 12:50 AM   #3
ibrewale
LQ Newbie
 
Registered: Jun 2004
Distribution: debian
Posts: 25

Rep: Reputation: 15
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
Here is some info on it:

chmod info

If you need more info you can check the man page for it:

Code:
man chmod
Hope this gets you in the right direction.

Jerry
 
Old 08-07-2005, 01:45 AM   #4
motionid
LQ Newbie
 
Registered: Aug 2005
Location: Tokyo, Japan
Distribution: suse 9.2
Posts: 5

Original Poster
Rep: Reputation: 0
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.
 
Old 08-07-2005, 12:24 PM   #5
Matir
Moderator
 
Registered: Nov 2004
Location: San Jose, CA
Distribution: Ubuntu
Posts: 8,507

Rep: Reputation: 118Reputation: 118
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.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
gnome application menu issues jeb0921 Debian 3 10-22-2005 12:07 PM
user mode issues - change default application pp7k Linux - Newbie 5 03-02-2005 05:55 PM
New to linux, so so lost, auto mounting issues, permissions issues slowhand22 Linux - Newbie 2 02-10-2005 10:41 AM
Issues running a custom application schapmn1974 Linux - Software 3 07-12-2004 07:42 AM
permissions issues goldenmag Linux - General 3 08-01-2003 09:43 AM


All times are GMT -5. The time now is 09:31 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration