Change permissions

Asked by ealthuis

I installed new 1TB HDD, then installed Karmic from a live CD.
Partitioned the HDD:
30 GB as /
360 GB as /home
10 GB as swap
600 GB without mount point

All four partitions are primary and owned by root

I need to change the permissions on the 600 GB drive so all other
computers on the network can read and write this partition.

How?

I would appreciate any suggestions, even going as far as doing the GParted over and
allowing the 4th partition to change from primary to extended, if that will give the access I am looking for

EA

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu Edit question
Assignee:
No assignee Edit question
Solved by:
Marc Stewart
Solved:
Last query:
Last reply:
Revision history for this message
Best Marc Stewart (marc.stewart) said :
#1

Changing the partition type from primary to extended won't make any difference to permissions, only allow you to have more than 4 partitions on the drive.

You'll need to mount the partition somewhere first before anyone can read and write to it, even from the same computer. How you then set permissions will depend on how you intend to share it (samba, nfs, etc.)

Revision history for this message
ealthuis (ealthuis) said :
#2

I solved the problem by creating a file on that partition and setting the permission to allow others to create and delete files in this folder.

Revision history for this message
ealthuis (ealthuis) said :
#3

Thanks Marc Stewart, that solved my question.

Revision history for this message
Clive Rodeo (darrellstorey) said :
#4

Hi Marc, I have a similar problem I think. I transferred a 500GB drive from a box with a recently dead motherboard. It has 9.04 installed, but the OS isn't needed because the drive is just storage now, but I can't write to the drive. I have gparted installed, but the 500 doesn't show up. What do I need to do to get access? Your help is greatly appreciated...

darrell@darrell-asgaard:~$ mount
/dev/sda1 on / type ext3 (rw,relatime,errors=remount-ro)
tmpfs on /lib/init/rw type tmpfs (rw,nosuid,mode=0755)
proc on /proc type proc (rw,noexec,nosuid,nodev)
sysfs on /sys type sysfs (rw,noexec,nosuid,nodev)
varrun on /var/run type tmpfs (rw,nosuid,mode=0755)
varlock on /var/lock type tmpfs (rw,noexec,nosuid,nodev,mode=1777)
udev on /dev type tmpfs (rw,mode=0755)
tmpfs on /dev/shm type tmpfs (rw,nosuid,nodev)
devpts on /dev/pts type devpts (rw,noexec,nosuid,gid=5,mode=620)
fusectl on /sys/fs/fuse/connections type fusectl (rw)
lrm on /lib/modules/2.6.28-18-generic/volatile type tmpfs (rw,mode=755)
securityfs on /sys/kernel/security type securityfs (rw)
binfmt_misc on /proc/sys/fs/binfmt_misc type binfmt_misc (rw,noexec,nosuid,nodev)
gvfs-fuse-daemon on /home/darrell/.gvfs type fuse.gvfs-fuse-daemon (rw,nosuid,nodev,user=darrell)
/dev/sdb1 on /media/disk type ext3 (rw,nosuid,nodev,uhelper=hal)

darrell@darrell-asgaard:~$ sudo fdisk -l

Disk /dev/sda: 1000.2 GB, 1000204886016 bytes
255 heads, 63 sectors/track, 121601 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x000d4141

   Device Boot Start End Blocks Id System
/dev/sda1 * 1 120467 967651146 83 Linux
/dev/sda2 120468 121601 9108855 5 Extended
/dev/sda5 120468 121601 9108823+ 82 Linux swap / Solaris
darrell@darrell-asgaard:~$ cat /etc/fstab
# /etc/fstab: static file system information.
#
# <file system> <mount point> <type> <options> <dump> <pass>
proc /proc proc defaults 0 0
# /dev/sda1
UUID=bb7c18f9-3406-43a6-a96e-c2f67094f5e2 / ext3 relatime,errors=remount-ro 0 1
# /dev/sda5
UUID=c4bc7f0a-36ff-418e-bfaf-e7c2d05c7abb none swap sw 0 0
/dev/scd0 /media/cdrom0 udf,iso9660 user,noauto,exec,utf8 0 0
darrell@darrell-asgaard:~$ sudo lshw -C disk
  *-disk:0
       description: ATA Disk
       product: ST31000528AS
       vendor: Seagate
       physical id: 0.0.0
       bus info: scsi@2:0.0.0
       logical name: /dev/sda
       version: CC34
       serial: 6VP056XK
       size: 931GiB (1TB)
       capabilities: partitioned partitioned:dos
       configuration: ansiversion=5 signature=000d4141
  *-disk:1
       description: SCSI Disk
       physical id: 0.1.0
       bus info: scsi@2:0.1.0
       logical name: /dev/sdb
       size: 465GiB (500GB)
  *-cdrom
       description: DVD-RAM writer
       product: DRW-24B1ST
       vendor: ASUS
       physical id: 0.0.0
       bus info: scsi@4:0.0.0
       logical name: /dev/cdrom
       logical name: /dev/cdrw
       logical name: /dev/dvd
       logical name: /dev/dvdrw
       logical name: /dev/scd0
       logical name: /dev/sr0
       version: 1.03
       capabilities: removable audio cd-r cd-rw dvd dvd-r dvd-ram
       configuration: ansiversion=5 status=nodisc
darrell@darrell-asgaard:~$ sudo fdisk /dev/sdb

Unable to read /dev/sdb
darrell@darrell-asgaard:~$

Revision history for this message
Clive Rodeo (darrellstorey) said :
#5

I forgot to mention that I was trying:

https://help.ubuntu.com/community/InstallingANewHardDrive#Manually%20Mount

but as you can see I didn't get very far.

Revision history for this message
Marc Stewart (marc.stewart) said :
#6

@Clive Rodeo: Please don't add questions to others like this, because the original poster will be e-mailed about every message added here. Since their problem is solved, any new messages are basically spam.
DON'T ADD ANY MORE MESSAGES TO THIS QUESTION. Post your problem as a new question and it'll be answered there:
https://answers.launchpad.net/ubuntu/+addquestion

Revision history for this message
Clive Rodeo (darrellstorey) said :
#7

Ok, Thanks Marc. Apologies. I thought the protocol would be similar to bug reports. I'll post my qn tomorrow.
D

--- On Sun, 25/4/10, Marc Stewart <email address hidden> wrote:

From: Marc Stewart <email address hidden>
Subject: Re: [Question #108309]: Change permissions
To: <email address hidden>
Received: Sunday, 25 April, 2010, 7:24 PM

Question #108309 on Ubuntu changed:
https://answers.launchpad.net/ubuntu/+question/108309

Marc Stewart posted a new comment:
@Clive Rodeo: Please don't add questions to others like this, because the original poster will be e-mailed about every message added here. Since their problem is solved, any new messages are basically spam.
DON'T ADD ANY MORE MESSAGES TO THIS QUESTION. Post your problem as a new question and it'll be answered there:
https://answers.launchpad.net/ubuntu/+addquestion

--
You received this question notification because you are a direct
subscriber of the question.