LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
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-08-2005, 05:55 PM   #1
badgerbox76
Member
 
Registered: Dec 2005
Location: USA
Distribution: Ubuntu, and other Live-CDs
Posts: 156

Rep: Reputation: 30
Cant Get Permission to write to foulder


I cant get the permission to write to folders on my file system. when ever i try to write to the file system i get this massage: You do not have permissions to write to this folder. When i write click on the foulder the permission buttions are blocked, my os is Ubuntu, please help!
 
Old 12-08-2005, 06:15 PM   #2
Poetics
Senior Member
 
Registered: Jun 2003
Location: California
Distribution: Slackware
Posts: 1,181

Rep: Reputation: 49
I'm assuming your regular user doesn't have permission to write to these files.

What files are you trying to edit?

Most likely, you need to be root to edit these files. Most WMs have an option such as "run as different user" or somesuch in the shortcut; trying to edit those files as root will be much more successful.
 
Old 12-08-2005, 11:27 PM   #3
pixellany
LQ Veteran
 
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Arch/XFCE
Posts: 17,802

Rep: Reputation: 738Reputation: 738Reputation: 738Reputation: 738Reputation: 738Reputation: 738Reputation: 738
OK--on Ubuntu, the default is no root user.

Go into a terminal and type "ls" to see what's there. "cd" to directories until you get to a file of interest. then "ls -l" to see the permissions and ownership. If you are not the owner, you cannot change permissions without becoming root or using "sudo"

Here is an edited example:

mherring@Ath:/boot$ ls -l
total 7664
-rw-r--r-- 1 root root 239811 2005-11-18 05:29 abi-2.6.12-10-386
mherring@Ath:/boot$ chmod 777 abi*
chmod: changing permissions of `abi-2.6.12-10-386': Operation not permitted
mherring@Ath:/boot$ sudo chmod 777 abi*
Password:
mherring@Ath:/boot$ ls -l
total 7664
-rwxrwxrwx 1 root root 239811 2005-11-18 05:29 abi-2.6.12-10-386

Note that the password requested is NOT the root password, but your own user passwd. sudo simply exercises your built-in root priveleges one command at a time.

Once you get used to doing things like this at the command line, you'll never bother with the GUI.

I THINK you can take on these powers by opening Nautilus from the terminal with "sudo nautilus"
 
Old 12-09-2005, 11:29 AM   #4
badgerbox76
Member
 
Registered: Dec 2005
Location: USA
Distribution: Ubuntu, and other Live-CDs
Posts: 156

Original Poster
Rep: Reputation: 30
Thanks for the advice i will try those commands out when i get home. i have made a root account and i do not have a problem coping files or writeing them through the terminal, but some times i need to use the file browers to copy and edit files and this is where i am haveing my problem i need to get root permission through the filebrowser.
 
  


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
Get permission to write/delete it-s Linux - Newbie 12 02-16-2005 04:30 AM
Permission to write to folder Garoth Linux - Software 1 10-09-2004 11:41 PM
Read and Write permission jing Linux - Newbie 3 07-13-2004 10:33 PM
no write permission? santasballz Linux - Newbie 1 02-12-2004 11:26 PM
No Write Permission... cabrone Linux - Newbie 4 09-15-2003 02:44 PM


All times are GMT -5. The time now is 09:51 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration