You are not logged in.
Hello, this is my first post in this great forum. I'm not a total newb in Linux. But I'm not a pro either. I was using Ubuntu for 1,5 years now (well maybe that makes me a newb) and swiched to Arch and already feel like home. I made a dual boot Arch + Windows 7 (need WIndows for games) and already installed the GNOME DE. Although propably I'm going to install Openbox + tint2.
Let's get to the point. This propably will sound silly (but what the heck, we're in the newbie's corner )
When I'm about to create a folder/file in the external HDDs I get the error
Error while creating directory
Operation not permited
How do I get rid of that?
Thank you in advance.
Last edited by Aventinus (2010-09-13 10:14:12)
"Somewhere, something incredible is waiting to be known." - Carl Sagan
Offline
You need to get into the business of rights. user rights, root rights, how you want to mount external drives (so the user or root only have access). For starters, check the wiki entry for fstab http://wiki.archlinux.org/index.php/Fstab
HTH
never trust a toad...
::Grateful ArchDonor::
::Grateful Wikipedia Donor::
Offline
It has probably ntfs as filesystem?
The ntfs driver in the linux kernel is not so advanced... You should install ntfs-3g:
http://wiki.archlinux.org/index.php/NTFS-3G
I don't know the proper way to make it use ntfs-3g as default but ntfs-config is a little graphical tool that makes it default:
http://aur.archlinux.org/packages.php?ID=8178
฿ 18PRsqbZCrwPUrVnJe1BZvza7bwSDbpxZz
Offline
@ Cdh Yes both hard drives are NTFS. I installed ntfs-3G and I want to install ntfs-config so I can make my life easier but ntfs-config doesn't exist at the package database. The only way is to compile it? I tried but failed.
Also, making both HDDs FAT32 would solve the problem?
Thank you both for the quick answers.
"Somewhere, something incredible is waiting to be known." - Carl Sagan
Offline
Set the appropriate mount options.
Do you mean this ntfs-config?
aur S & M :: forum rules :: Community Ethos
Resources for Women, POC, LGBT*, and allies
Offline
Set the appropriate mount options.
Do you mean this ntfs-config?
Yes I mean this ntfs-config. It is not in the Package Database. I try to compile it from source but I fail.
This is how my /etc/fstab looks like:
#
# /etc/fstab: static file system information
#
# <file system> <dir> <type> <options> <dump> <pass>
devpts /dev/pts devpts defaults 0 0
shm /dev/shm tmpfs nodev,nosuid 0 0
#/dev/cdrom /media/cd auto ro,user,noauto,unhide 0 0
#/dev/dvd /media/dvd auto ro,user,noauto,unhide 0 0
#/dev/fd0 /media/fl auto user,noauto 0 0
/dev/sda3 /boot ext2 defaults 0 1
/dev/sda5 / ext4 defaults 0 1
/dev/sda6 swap swap defaults 0 0
/dev/sda7 /home ext4 defaults 0 1
This is how fdisk looks like:
Disk /dev/sdb: 1000.2 GB, 1000204886016 bytes
255 heads, 63 sectors/track, 121601 cylinders, total 1953525168 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0xac35ab34
Device Boot Start End Blocks Id System
/dev/sdb1 * 2048 1953521663 976759808 7 HPFS/NTFS
Disk /dev/sda: 500.1 GB, 500107862016 bytes
255 heads, 63 sectors/track, 60801 cylinders, total 976773168 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x309b4f4d
Device Boot Start End Blocks Id System
/dev/sda1 * 2048 206847 102400 7 HPFS/NTFS
/dev/sda2 206848 488593407 244193280 7 HPFS/NTFS
/dev/sda3 * 488593408 488786187 96390 83 Linux
/dev/sda4 488786188 976768064 243990938+ 5 Extended
/dev/sda5 488786251 528788037 20000893+ 83 Linux
/dev/sda6 528788101 536788407 4000153+ 82 Linux swap / Solaris
/dev/sda7 536788471 976768064 219989797 83 Linux
Disk /dev/sdd: 1000.2 GB, 1000204886016 bytes
255 heads, 63 sectors/track, 121601 cylinders, total 1953525168 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x469d60df
Device Boot Start End Blocks Id System
/dev/sdd1 * 63 1953520064 976760001 7 HPFS/NTFS
sda is a 500GB hard driver where I have installed both Arch and Windows 7. sdb and sdd are the 2 NTFS hard drivers which I use for data.
As a user I cannot right or read in those 2 hard drives. Can you point out how to set the appropriate mount options?
Formating them as FAT32 won't be a problem for me. Would that solve the write permission problem?
Again thank you in advance.
"Somewhere, something incredible is waiting to be known." - Carl Sagan
Offline
fsckd wrote:Set the appropriate mount options.
Do you mean this ntfs-config?
Yes I mean this ntfs-config. It is not in the Package Database. I try to compile it from source but I fail.
We can try to help you with that if you give more information.
sda is a 500GB hard driver where I have installed both Arch and Windows 7. sdb and sdd are the 2 NTFS hard drivers which I use for data.
As a user I cannot right or read in those 2 hard drives. Can you point out how to set the appropriate mount options?
Mount options are described in man mount.ntfs-3g. Specifically, uid and gid.
Formating them as FAT32 won't be a problem for me. Would that solve the write permission problem?
You would still need to set the right mount options, which is the problem you're having here.
aur S & M :: forum rules :: Community Ethos
Resources for Women, POC, LGBT*, and allies
Offline
Problem solved! I typed:
ntfs-3g /dev/sdb1 /home/alexandros/ -o ro,uid=1000
and I have permision to write as a user!
Thank you all for your help!
"Somewhere, something incredible is waiting to be known." - Carl Sagan
Offline