Welcome to Linux Forums! With a comprehensive Linux Forum, information on various types of Linux software and many Linux Reviews articles, we have all the knowledge you need a click away, or accessible via our knowledgeable members.
Find the answer to your Linux question:
New to Linux Forums? Register here for free!
    Linux Forums > Your Distro > Ubuntu Help > ASUS Eee - Permissions.
 Ubuntu Help   Discussion and help about Ubuntu, Kubuntu, Xubuntu, and all the Ubuntu family

Site Navigation
Linux Articles
Linux Forums
Linux Downloads
Linux Hosting
Free Magazines
Job Board
IRC Chat
Linux Forum Topics
Linux Forums
Your Distro
Linux Resources
GNU Linux Zone
The Community
Reply
 
Thread Tools Display Modes
Old 05-21-2008   #1 (permalink)
Just Joined!
 
Jozsa's Avatar
 
Join Date: May 2008
Posts: 12
ASUS Eee - Permissions.

Recently i bought my ASUS Eee PC and it is my first Linux experience, and im loving it.

I'm looking to install a game onto the PC, although it wont quite fit on the computers tiny internal 4gb Flash Memory, so i would like to install it to an external 8gb USB flash drive.

Basically, i can install to the /home/user/ perfectly (but theres not enough space). However when i select to install to the USB it gave me the following errors;





I've tried many things so far, including changing permissions and ownership of the USB drive.

sudo chmod +rwxrwxrwx /home/user/cj/ (cj is the USB's name)

Then i tried;

sudo chown -R root:user /home/user/cj/

This is meant to change the owner of the USB (and all subfolders) to me, however it tells me i dont have permission to change it.

Any help would be appreciated.




I've already had some minor experiance is permissions as a Virtual Private Network Client (VPN) was in /etc/vpnc/ which i had no permission to, and i needed to put a file into that folder, and i found the following two ways around it;

sudo chmod +rwxrwxrwx /etc/vpnc/

and

sudo mv monash.conf /etc/vpnc/monash.conf





Thanks in advance.
Jozsa is offline  

Reply With Quote
Old 05-21-2008   #2 (permalink)
Super Moderator
 
devils casper's Avatar
 
Join Date: Jun 2006
Location: Chandigarh, India
Posts: 20,697
Send a message via Yahoo to devils casper
Execute sudo fdisk -l command and notedown device name ( /dev/sda1 or /dev/sdb1) and mount point ( /media/USB or something like that).
Remount it using mount command.
Let say, /dev/sdb is device name assigned to USB Stick.
Execute this
Code:
umount /dev/sdb1
mount -t vfat /dev/sdb1 /media/USB -o defaults,umask=0
__________________
It takes a lot of time to be a genius, you have to sit around so much doing nothing, really doing nothing. - Gertrude Stein
New Users: Read This First
devils casper is offline   Reply With Quote
Old 05-21-2008   #3 (permalink)
Just Joined!
 
Jozsa's Avatar
 
Join Date: May 2008
Posts: 12
Also, just to add two things;
1 - i can create, edit and delete files on the USB in the file manager, the problem is only when trying to install to it.

2 - The USB is a 4gb USB2 by DSE

Below is the my file manager and output of sudo fdisk -l;



In regards to that picture above - I have full permissions and access to the ipod, as it is owned and grouped to user.

Quote:
/home/user/cj> sudo fdisk -l

Disk /dev/sda: 4001 MB, 4001292288 bytes
255 heads, 63 sectors/track, 486 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Device Boot Start End Blocks Id System
/dev/sda1 1 300 2409718+ 83 Linux
/dev/sda2 301 484 1477980 83 Linux
/dev/sda3 485 485 8032+ c W95 FAT32 (LBA)
/dev/sda4 486 486 8032+ ef EFI (FAT-12/16/32)

Disk /dev/sdc: 4043 MB, 4043309056 bytes
125 heads, 62 sectors/track, 1018 cylinders
Units = cylinders of 7750 * 512 = 3968000 bytes

This doesn't look like a partition table
Probably you selected the wrong device.

Device Boot Start End Blocks Id System
/dev/sdc1 ? 100405 247697 570754815+ 72 Unknown
Partition 1 has different physical/logical beginnings (non-Linux?):
phys=(357, 116, 40) logical=(100404, 79, 11)
Partition 1 has different physical/logical endings:
phys=(357, 32, 45) logical=(247696, 24, 51)
Partition 1 does not end on cylinder boundary.
/dev/sdc2 ? 21767 271577 968014120 65 Novell Netware 386
Partition 2 has different physical/logical beginnings (non-Linux?):
phys=(288, 115, 43) logical=(21766, 48, 47)
Partition 2 has different physical/logical endings:
phys=(367, 114, 50) logical=(271576, 60, 42)
Partition 2 does not end on cylinder boundary.
/dev/sdc3 ? 241276 491086 968014096 79 Unknown
Partition 3 has different physical/logical beginnings (non-Linux?):
phys=(366, 32, 33) logical=(241275, 3, 30)
Partition 3 has different physical/logical endings:
phys=(357, 32, 43) logical=(491085, 14, 39)
Partition 3 does not end on cylinder boundary.
/dev/sdc4 ? 372346 372354 27749+ d Unknown
Partition 4 has different physical/logical beginnings (non-Linux?):
phys=(372, 97, 50) logical=(372345, 119, 25)
Partition 4 has different physical/logical endings:
phys=(0, 10, 0) logical=(372353, 14, 33)
Partition 4 does not end on cylinder boundary.

Partition table entries are not in disk order
Note: sector size is 2048 (not 512)

Disk /dev/sdd: 4060 MB, 4060086272 bytes
255 heads, 63 sectors/track, 123 cylinders
Units = cylinders of 16065 * 2048 = 32901120 bytes

Device Boot Start End Blocks Id System
/dev/sdd1 1 3 96264 0 Empty
/dev/sdd2 4 123 3855600 b W95 FAT32

I tried this;

Quote:
/home/user> sudo umount /dev/sdc/
/home/user> sudo mount -t vfat /dev/sdc /media/USB2FlashStorage/data -o defaults,umask=0
But i still get this error when installing;
Jozsa is offline   Reply With Quote
Old 05-22-2008   #4 (permalink)
Just Joined!
 
Join Date: May 2008
Posts: 1
I suspect that problem is probably nothing to do with permissions on the USB drive.

Are you installing this as root ar as user.

If you are installing multi-user mode you will probably have to do it as root. If single user mode you might be able to do it as user.
arubin is offline   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

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 On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off

Free Magazines
Free Network Mapping Tool for Microsoft® Office Visio® Professional 2007 Users
Don't map your network by hand – let LANsurveyor Express for Microsoft Visio Professional 2007 automatically create network diagrams for you.
subscribe
Free eBook:"Vulnerability Management for Dummies"
Get all the Facts and See How to Implement a Successful Vulnerability Management Program.
subscribe
Google vs The World: The Battle of the Message Security Vendors
With such a powerful name behind it, Google Message Security stands out in a sea of products that do exactly the same thing - or so they say.
subscribe

Safe, Secure Backup


All times are GMT. The time now is 01:05 PM.






© 2000 - 2009 - All Rights Reserved - Property of  MAS Media

Content Relevant URLs by vBSEO 3.3.0 RC2