Error opening /dev/sdb:Permission denied
Posted 11-02-2009 at 04:36 PM by Neo@Matrix
What distribution are you using?
On Ubuntu, root isn't given a password by default, but the first user to have an account will be able to use the `sudo' command to run individual commands. So, instead of typing `program-name --argument' to run your program as a normal user, you'd type `sudo program-name --argument' to run your program as the root user, and then everything should be dandy.
As I wrote ,I use Ubuntu 9.04 ,
I tried the command :
sudo format/dev/sdb what is most likely not correct
But as I said , I have no experience with Linux at all
I know it is pretty much to ask , but if U could write the whole command line instead of `sudo program-name --argument'
it would make much easier for both of us. lol
I have no idea , what to write for program name or argument.
I know what should I do under windows , but I want to learn to use Linux.This is like homework for me .
Basically no one near me uses Linux at all .
When I read property tab on device , the filesystem type is MSDOS
The permission tab has info like: The permission of "NEW VOLUME"could not be determined.
ALSO only 967.5MB is the visible size of the 2Gb size of the card?!
TY very much on effort and Your time
On Ubuntu, root isn't given a password by default, but the first user to have an account will be able to use the `sudo' command to run individual commands. So, instead of typing `program-name --argument' to run your program as a normal user, you'd type `sudo program-name --argument' to run your program as the root user, and then everything should be dandy.
As I wrote ,I use Ubuntu 9.04 ,
I tried the command :
sudo format/dev/sdb what is most likely not correct
But as I said , I have no experience with Linux at all
I know it is pretty much to ask , but if U could write the whole command line instead of `sudo program-name --argument'
it would make much easier for both of us. lol
I have no idea , what to write for program name or argument.
I know what should I do under windows , but I want to learn to use Linux.This is like homework for me .
Basically no one near me uses Linux at all .
When I read property tab on device , the filesystem type is MSDOS
The permission tab has info like: The permission of "NEW VOLUME"could not be determined.
ALSO only 967.5MB is the visible size of the 2Gb size of the card?!
TY very much on effort and Your time
Total Comments 3
Comments
-
Well at first maybe, you can check your user and group permissions...
Posted 11-04-2009 at 03:36 AM by 234107 -
And also check what you are able to do with sudo, forgot to mention. Your main clue is that, you dont have permissions. As root, you can do anything. So there is something wrong or you are doing something wrong, or your tools are not properly configured.
Check for problems, in /etc/passwd, /etc/group/, /etc/sudoers (visudo command), ugo permissions on /dev/<device>
Ubuntu by default i think is not giving you freedom as other distros. You can ofc easily configure it and remove annoying(for me) restrictions which main point is to protect you from damaging your system. Everything is up to you and your skills. But be careful. Freedom means responsibilityPosted 11-04-2009 at 04:00 AM by 234107 -
I sorted out that the SD was faulty
the locking tab doesn't worked.
So it is now sortedPosted 11-06-2009 at 10:31 AM by Neo@Matrix