I have two partitions and one of them had been formated under NTFS. Ubuntu sees it like /media/DOCS. I have a web site in /media/DOCS/Dropbox/AuthoringTool_Working.
I have configured Apache and created a virtual host. When I tr to open this site it says Permission denied. I tried to change owner into www-data but have not success. I used sudo chgrp -R www-data /media/DOCS/Dropbox.
What am I doing wrong?
EDIT
It is mounted like this /dev/sda5 /media/DOCS fuseblk rw,nosuid,nodev,allow_other,blksize=4096,default_permissions 0 0
| ||||
|
feedback
|
|
The NTFS filesystem does not support POSIX-style file ownership or permissions. Some recent To change a file's owner, there must be a mapping of NTFS (Windows) SIDs to your machine's user IDs. An easy way to create such a mapping is to use However, if a user ( And as tamtakos already answered, to change the owner you use | |||
|
feedback
|
|
chgrp, as the name suggests changes the group. To change the owner of a file/directory you have to use the chown command. Of course, you can change both at the same time by doing chown root:root file Which will make 'file' belong to the root user, as well as the root group. More details on users and groups can be found here for example : http://www.yolinux.com/TUTORIALS/LinuxTutorialManagingGroups.html | |||
|
feedback
|