LinuxQuestions.org
Register a domain and help support LQ
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 10-18-2003, 10:08 PM   #1
garr0323
Member
 
Registered: Oct 2003
Distribution: Slackware9.1, Mandrake9.1
Posts: 70

Rep: Reputation: 15
Permissions???????


Hello,

I am having major problems with linux. I cant get samba to share my printer. wine wont work but right now i am having a major problem with permissions and stuff like that. I want to play a cd in regular user but it wont let me cuz it says that i dont have access to the cd player. i dont know where to enable it so i can use it in a non-root user. Next, i have mounted my other HHD Windows 2000. I can view everything from the root user but i want to be able to use it from a non-root user. I am very confused . this was my biggest doubt about linux because i could never figure out the rights and permissions to everything.

PS if anyone knows anything about Wine please help me. I have installed it but i dont know how to use it. I have read the docs and that has just confused me more. thanks for all the help
 
Old 10-18-2003, 10:28 PM   #2
rakriege
Member
 
Registered: Oct 2003
Location: San Deigo, CA
Distribution: FC3, Win2k Server, XP Pro & 2003 Server
Posts: 198

Rep: Reputation: 30
permission are very easy to set in Linux, Ill give you a quick overview..

basic permissions are assigned to..the-owner...the group..and other (all)...each of these has the possible RWX (Read, Write, Xecutable)

if you, at the shell prompt, type ll filename or ll directory name you'll be able to see what permissions are set to that file or directory.

Editing permissions, first make sure you have attempted to fix the problem first logged on as ROOT#

each permission has its own value, Read = 4 Write = 2 execute = 1...IE.. iyou want the owner to have all permissions it would be 4+2+1=7 if only write and executor are needed it would be 2+1=3

SO...if you wanted all (owner, group, other) to have full control the value would be "777". If owner, group were to have to have full control and other NO control the value would be "770"

to set these permissions use the chmod command..

chmod 777 filename

there are other permissions, 2000 & 4000 but you font need to worry bought them

Last edited by rakriege; 10-18-2003 at 10:51 PM.
 
Old 10-18-2003, 10:35 PM   #3
garr0323
Member
 
Registered: Oct 2003
Distribution: Slackware9.1, Mandrake9.1
Posts: 70

Original Poster
Rep: Reputation: 15
i did chmod 777 winnt/ and it said changin permissions read only file system
and i still cant access it from a non-root user
 
Old 10-18-2003, 10:37 PM   #4
rakriege
Member
 
Registered: Oct 2003
Location: San Deigo, CA
Distribution: FC3, Win2k Server, XP Pro & 2003 Server
Posts: 198

Rep: Reputation: 30
Its formated with NTFS the, your out of luck as far as I know
 
Old 10-18-2003, 10:38 PM   #5
Imyrryr
Member
 
Registered: Aug 2003
Location: 3rd electron on the left getting mugged by the nutrinos at Quarks
Distribution: Slackware 13.37, Slackware 14.0, Mint
Posts: 138

Rep: Reputation: 17
Wynbloz NT is an NTFS files system you will not be able to change the file system permissions. They are read only.. You can prove read/write access to NTFS partitions by compiling write ability for NTFS file system in the kernal. WARNING on doing that, you run the risk of damaging the file system if you do that.
 
Old 10-18-2003, 10:56 PM   #6
rakriege
Member
 
Registered: Oct 2003
Location: San Deigo, CA
Distribution: FC3, Win2k Server, XP Pro & 2003 Server
Posts: 198

Rep: Reputation: 30
Windows can be Formated in any partition format ...FAT...FAT16...FAT32 or NTFS, and as you can see, NTFS is an extremely security intense format.


Red Hat 9 dose have some experimental drivers to work with Local NTFS formats but I havnt heard/read anything good about oit yet

Last edited by rakriege; 10-18-2003 at 10:58 PM.
 
Old 10-20-2003, 03:21 AM   #7
gwp
Newbie
 
Registered: Oct 2003
Location: South Africa
Distribution: Redhat, Fedora, Ubuntu
Posts: 27

Rep: Reputation: 15
If you have time read:

http://us1.samba.org/samba/docs/using_samba/toc.html

Great book on SAMBA and SMB in general as applied in SAMBA and the windows
family of OSes.

Good Luck

BR

G
 
  


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
file permissions OK, but command permissions? stabu Linux - General 2 10-05-2005 01:00 PM
permission ... permissions .... permissions alaios Linux - General 1 05-31-2005 05:16 AM
Permissions jymmi Linux - Newbie 3 04-15-2005 12:43 AM
Permissions help reddog64 Linux - Newbie 1 04-22-2004 06:23 PM
getting a directory's permissions and creating a new one with the same permissions newbie1000101 Programming 1 04-10-2004 01:52 PM


All times are GMT -5. The time now is 12:27 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