LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 06-18-2007, 09:16 AM   #1
Majusiak
Member
 
Registered: Dec 2006
Distribution: Xubuntu AMD64
Posts: 105

Rep: Reputation: 15
2 permission questions


Ok... they're fairly simple.. but im a newb... so yeah.

1. How can i change the permission on a file/directory. Like... I have a folder on my desktop, and those folder can only be accessed by root... but i have an iso that i want to burn that is inside that foler... and i cant get to it with Nero.


2. On another harddrive i have all of my media. Music, videos, etc. And in order to open those files i have to use administration --> disks. a gui box pops up and asks for my root password. And i cant access it as a normal user. can i change that at all?
 
Old 06-18-2007, 09:31 AM   #2
Brad.Scalio@noaa.gov
Member
 
Registered: Jan 2007
Location: Washington DC
Distribution: RedHat & spins ... Fedora, CentOS, Mandriva
Posts: 82

Rep: Reputation: 15
Quote:
Originally Posted by Majusiak
Ok... they're fairly simple.. but im a newb... so yeah.

1. How can i change the permission on a file/directory. Like... I have a folder on my desktop, and those folder can only be accessed by root... but i have an iso that i want to burn that is inside that foler... and i cant get to it with Nero.
You need to be root in order to change permissions on a file/dir owned by root - it is not "great" practice to make a dir world-writeable

# chmod 777 {dir name]

You should rather have that directory owner by a user within a group that contains the various other users on your system -- if it is just your computer, than whichever user you login as should own the directory and the permissions should be:

# chmod 755 [dir name]

Quote:
2. On another harddrive i have all of my media. Music, videos, etc. And in order to open those files i have to use administration --> disks. a gui box pops up and asks for my root password. And i cant access it as a normal user. can i change that at all?
By another hard drive do you mean a usb attached storage device or is your internal hard drive partitioned? It is two very different solutions, with the usb one being slightly easier by adding:

# groupadd --system usb

then adding your user to that group
 
  


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
'permission denied" inspite of right permission flags on network drive anirudhvij Linux - Enterprise 8 05-22-2007 05:57 AM
Multiple file/group permission questions JustinCoyan Slackware 3 04-19-2005 10:26 PM
Relisys Dimera 3500 permission questions Joe47 Fedora 0 10-13-2004 09:28 PM
Questions about Proftpd permission settings? gsmonk Linux - Networking 1 08-12-2003 10:36 AM
Permission Questions ?? vadertech Linux - General 10 12-14-2002 04:54 PM


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