I have two mechanical HDD's in my computer.I run Windows on disk 0 and Crunchbang on disk 1. I always have to use elevated privileges in Crunchbang in order to copy files to the NTFS partition in disk 0.
As far as i know, the commands like chmod and chown , which are used for setting file permissions , only hold for file system objects. Also i know that , "In Linux everything is a file". i.e, there are special files that represent hardware devices , system information etc.. Since these special files belong to the virtual file system /dev they should be file system objects and so the commands like chown ,chmod should work on these files. I have successfully changed the owner and write permissions of the device sda by the command
chown aswin sda
where as i can neither change the owner / permissions of the mounted partition. I have tried to set the local user as the owner of the mounted partition and set permissions to read,write,execute.But , still the problem persists.
Am i missing something ?How to set the permission on this disk so that i can write into it without elevated privileges ?
/etc/fstab
. Check this: superuser.com/questions/320415/…