LinuxQuestions.org
Review your favorite Linux distribution.
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 12-11-2003, 03:25 PM   #1
weirdaliens
LQ Newbie
 
Registered: Dec 2003
Posts: 11

Rep: Reputation: 0
Question admin


i have trouble addin to files when i tri i get errors like:access denied what could be the problem?
 
Old 12-11-2003, 03:28 PM   #2
Mara
Moderator
 
Registered: Feb 2002
Location: Grenoble
Distribution: Debian
Posts: 9,568

Rep: Reputation: 164Reputation: 164
You may have no permission to write the files. Are you sure they're set correctly?
 
Old 12-11-2003, 03:35 PM   #3
weirdaliens
LQ Newbie
 
Registered: Dec 2003
Posts: 11

Original Poster
Rep: Reputation: 0
could u tell me then how i would check? tnx 4 your help
 
Old 12-11-2003, 03:41 PM   #4
icewall
LQ Newbie
 
Registered: Nov 2003
Location: Denmark
Distribution: Fedora, Redhat, LFS
Posts: 26

Rep: Reputation: 15
Just 'ls -l /path/file'
 
Old 12-11-2003, 03:42 PM   #5
Mara
Moderator
 
Registered: Feb 2002
Location: Grenoble
Distribution: Debian
Posts: 9,568

Rep: Reputation: 164Reputation: 164
Run 'ls -l' in a directory you have problems with files. It'll show you something like
Code:
-rwxr-xr-x    1 root     root         2868 sty 28  2003 arch*
lrwxrwxrwx    1 root     root            4 cze 22 16:14 awk -> gawk*
-rwxr-xr-x    1 root     root        11416 lis 10 22:42 basename*
-rwxr-xr-x    1 root     root       625516 sty 14  2003 bash*
lrwxrwxrwx    1 root     root            4 cze 22 16:14 bash2 -> bash*
-rwxr-xr-x    1 root     root        15288 lis 10 22:42 cat*
It's partial output from my /bin. What's interesting? First, third and fourth column. First is for permission, third for owner and fourth for group. Permision filed canbe divided in four parts (example from the line with 'cat'):
Code:
- - special meaning. 'l' in the lines above mea they're links. 
rwx - owner permissions. In this case: read(r), write(w) and execute(x)
r-x - group permissions: read(r) and execute(x)
r-x - permission for other users:  read(r) and execute(x)
So if you're not owner of this file (root), you can't write it.
See how it looks like with your files.
 
Old 12-11-2003, 03:45 PM   #6
weirdaliens
LQ Newbie
 
Registered: Dec 2003
Posts: 11

Original Poster
Rep: Reputation: 0
im using mandrake and the only reason i wana use it is coz of the realiabilaty for a counterstrike server the permison is set in the grafical interface
 
  


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
User admin and N/w admin on Gnome hangs ssrini *BSD 2 07-28-2005 08:55 AM
Admin algea Fedora 2 10-12-2004 04:29 PM
admin Nick5449 Linux - Newbie 7 06-29-2003 11:38 AM
Admin help agoodeill Linux - General 2 11-19-2002 11:22 AM
Who's Admin? Thymox LQ Suggestions & Feedback 4 04-13-2002 01:09 PM


All times are GMT -5. The time now is 06:32 PM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration