LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Permissions??????? (https://www.linuxquestions.org/questions/linux-newbie-8/permissions-105732/)

garr0323 10-18-2003 09:08 PM

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

rakriege 10-18-2003 09:28 PM

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

garr0323 10-18-2003 09:35 PM

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

rakriege 10-18-2003 09:37 PM

Its formated with NTFS the, your out of luck as far as I know

Imyrryr 10-18-2003 09:38 PM

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.

rakriege 10-18-2003 09:56 PM

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

gwp 10-20-2003 02:21 AM

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


All times are GMT -5. The time now is 12:47 PM.