LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
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 08-22-2008, 11:29 AM   #1
techemically
Member
 
Registered: Jul 2008
Posts: 35

Rep: Reputation: 15
cannot change permissions on "modem" folder


need to move "modem" folder to /dev but permissions cannot be changed because it was created by "root". this folder is on the desktop.
 
Old 08-22-2008, 12:23 PM   #2
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 26,632

Rep: Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965
Quote:
Originally Posted by techemically View Post
need to move "modem" folder to /dev but permissions cannot be changed because it was created by "root". this folder is on the desktop.
What "modem folder"?? What did you do to create this folder? What are you trying to do?

Moving a folder (or anything), into the /dev directory is dangerous.
 
Old 08-22-2008, 12:23 PM   #3
garyg007
Member
 
Registered: Aug 2008
Location: north-east ohio
Distribution: Debian-squeeze/stable;
Posts: 279
Blog Entries: 1

Rep: Reputation: 31
do this:
Code:
urname@Abitbox:~> su
Password:enter your password
Abitbox:/home/urname # chown -R urname /home/urname/Desktop/modem
Abitbox:/home/urname #
And then move the folder. Either that, or if "modem" must be owned my root, then
Code:
urname@Abitbox:~> su
Password:enter your password
Abitbox:/home/urname #mv /home/urname/Desktop/modem /to/wherever
Read again, the last line of TB0ne's post, It's dangerout, like sticking a lighted fuse into a block of C4

Last edited by garyg007; 08-22-2008 at 03:21 PM.
 
Old 08-22-2008, 01:59 PM   #4
lwasserm
Member
 
Registered: Mar 2008
Location: Baltimore Md
Distribution: ubuntu
Posts: 184

Rep: Reputation: 41
the /dev directory is normally only writeable by root, so you will have to su to root (or use sudo) Also the files normally found in /dev are owned by root also. But another likely problem is a name conflict, there may already be a file /dev/modem. Many distributions will have a /dev/modem symlink to the appropriate serial port device for an installed modem. Why do you need a folder named modem in the /dev directory anyway?
 
Old 08-23-2008, 09:57 AM   #5
techemically
Member
 
Registered: Jul 2008
Posts: 35

Original Poster
Rep: Reputation: 15
I have no /dev/modem folder

i created "modem" by running scanModem but it placed it on my desktop. I assume this needs to be placed in /dev while still owned by root so as to complete the modem configuration process so the manual connection I built will engage the modem installed.
 
Old 08-23-2008, 10:42 AM   #6
lwasserm
Member
 
Registered: Mar 2008
Location: Baltimore Md
Distribution: ubuntu
Posts: 184

Rep: Reputation: 41
Quote:
Originally Posted by techemically View Post
i created "modem" by running scanModem but it placed it on my desktop. I assume this needs to be placed in /dev while still owned by root so as to complete the modem configuration process so the manual connection I built will engage the modem installed.
Don't try to put that directory anywhere. The scanmodem program creates it as a place to put information about your system and any installed modems that it finds. Just open a terminal, change to that directory, and look for any README files or similar named files to get started. Check http://linmodems.org for more info.
 
  


Reply



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
"You don't have the right permissions to extract archives in the folder " please help redhatman13 Linux - Software 18 10-15-2008 05:52 AM
Can't change folder permission - owner is "33" kfogalin Linux - Newbie 2 01-30-2008 03:07 PM
"cp -p" fails with "cp: setting permissions for `/home/svbld/t': Invalid argument" mkhesin Red Hat 1 02-28-2007 12:57 AM
"rm -rf /tmp", now Evolution shows "(no folder displayed" Ed-MtnBiker Linux - Software 7 04-10-2006 04:05 PM
"cannot change file permissions" error when moving data to and from pendrive Whiskers Mandriva 4 01-02-2005 02:49 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 05:54 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
Open Source Consulting | Domain Registration