You are not logged in.
To give you some background info, I just switched to Arch from Mint about 2 weeks ago. I have an 128GB SSD dual booted between Arch and Win8 (I only log into Win8 for gaming). I also have a 2TB internal storage drive that I use for all files other than my OS (music/virtual comp hd's/game files/etc). The issue I'm having is performing simple tasks on this drive, even logged in as the root user. For example,
[root@Arch Storage]# mkdir Test
mkdir: cannot create directory 'Test': Operation not permitted
I'm guessing there's possible ownership issues from Win8 that aren't letting me do what I need to, but I didn't have this problem when I was using Mint.
I've tried
chown root /filepath -R
and
chmod 777 /filepath -R
to try to give ownership to root (also tried with username) and permissions to all users, but still no luck.
[root@Arch Storage]# ls -la
total 500
drwxrwxrwx 1 root root 0 Feb 22 14:58 $RECYCLE.BIN
drwxrwxrwx 1 root root 4096 Jun 7 22:54 .
drwxr-xr-x 3 root root 60 Jun 19 21:21 ..
drwxrwxrwx 1 root root 0 May 7 21:03 Config.Msi
drwxrwxrwx 1 root root 4096 Jun 19 21:19 Games
drwxrwxrwx 1 root root 4096 Jun 9 16:11 Linux Distros
drwxrwxrwx 1 root root 12288 Feb 22 15:18 Music
drwxrwxrwx 1 root root 0 Feb 22 15:15 System Volume Information
drwxrwxrwx 1 root root 4096 Jun 9 18:25 Virtual Computer
If anyone has any suggestions, I'd be grateful.
Last edited by coolcashews (2013-06-21 00:59:31)
Offline
What is the filesystem, and how is it mounted? Is it in your fstab, if so can you post that?
"UNIX is simple and coherent..." - Dennis Ritchie, "GNU's Not UNIX" - Richard Stallman
Offline
If the file system is ntfs, do you have ntfs-3g installed?
Offline
What is the filesystem, and how is it mounted? Is it in your fstab, if so can you post that?
I am going to bet that it is NTFS. Which makes me wonder if Mint actually ships with ntfs-3g pre-installed?
Offline
I'm pretty sure it does - Maya allegedly includes all of Precise's packages plus some minty specific stuff, and Precise includes ntfs-3g.
"UNIX is simple and coherent..." - Dennis Ritchie, "GNU's Not UNIX" - Richard Stallman
Offline
ntfs-3g defaults,uid=1000,fmask=0077,dmask=0077,noatime,noexec 0 0
This might not be the cleanest solution, but it works very well. First ofcourse specify type and mountpoint.. I'm not sure if noatime is an option usable for ntfs-drives btw
You should read on f,d mask
Offline
@jocheem67, it has not even been established that ntfs is indeed the OP's problem. Trilby and I were just speculating about what we think the problem might be.
Offline
@jocheem67, it has not even been established that ntfs is indeed the OP's problem. Trilby and I were just speculating about what we think the problem might be.
Also most people do not want noexec.
Not to mention that the default permission when you use ntfs-3g is root:root 777, so if he use ntfs-3g he should have rw access anyway.
Last edited by Mr.Elendig (2013-06-20 11:18:26)
Evil #archlinux@libera.chat channel op and general support dude.
. files on github, Screenshots, Random pics and the rest
Offline
Thanks for all the replies! The drive is indeed NTFS. I then checked for ntfs-3g, and sure enough it wasn't installed. After doing the install, I got the same error messages. I checked my fstab
nano /etc/fstab
#
# /etc/fstab: static file system information
#
# <file system> <dir> <type> <options> <dump> <pass>
# /dev/sda3
UUID=fb18902a-2916-4011-aca6-0466581fe247 / ext4 rw,relatime,dat$
# /dev/sda4
UUID=a6430dd8-c470-438d-baa4-326e2474b67f /home ext4 rw,relatime,dat$
and sure enough the drive (/dev/sdb1) isn't listed there either. I decided to reboot before adding it to my fstab, and sure enough, the drive works perfectly fine, even as a normal user. I did not have to add it to my fstab, change ownership or permissions, only install ntfs-3g and reboot.
Thanks again for all your help!
Last edited by coolcashews (2013-06-21 01:00:39)
Offline