Hi
The " var/hda" folder has changed ownership to "www-data" in the " apache" group.
This is preventing my apps creating files and folders in the HDA folder.
I have tried to chmod the folder "var/hda/files" to " myusername:users" and that works for a moment only to be reverted back to " www-data" and " apache" .
So my question is
*why has this happened ?
*how can i changed the owner and group and keep it that way without reverting?
Your help is greatly appreciated on this matter!
Thank you
var/hda permissions
Re: var/hda permissions
Not sure what you have going on, but the permissions should be as follows:
/var/hda/: www-data:users
/var/hda/web-apps/: www-data:users
/var/hda/files/: myusername:users
Best way to execute the command is:
If this does now help, please let us know.
The only way file permissions get changed this drastically is by the user. Not sure why you thought they were wrong, but changing them as you have has made things worse.
/var/hda/: www-data:users
/var/hda/web-apps/: www-data:users
/var/hda/files/: myusername:users
Best way to execute the command is:
Code: Select all
sudo chown -R www-data:users /var/hda
sudo chown -R myusername:users /var/hda/files/*
The only way file permissions get changed this drastically is by the user. Not sure why you thought they were wrong, but changing them as you have has made things worse.
ßîgƒσστ65
Applications Manager
My HDA: Intel(R) Core(TM) i5-3570K CPU @ 3.40GHz on MSI board, 16GB RAM, 1TBx1+2TBx2+4TBx2
Applications Manager
My HDA: Intel(R) Core(TM) i5-3570K CPU @ 3.40GHz on MSI board, 16GB RAM, 1TBx1+2TBx2+4TBx2
Re: var/hda permissions
Not sure what you have going on, but the permissions should be as follows:
/var/hda/: www-data:users
/var/hda/web-apps/: www-data:users
/var/hda/files/: myusername:users
Best way to execute the command is:If this does now help, please let us know.Code: Select all
sudo chown -R www-data:users /var/hda sudo chown -R myusername:users /var/hda/files/*
The only way file permissions get changed this drastically is by the user. Not sure why you thought they were wrong, but changing them as you have has made things worse.
Hi
I found out after 3 hours of investigation that the issue was caused by a failed update of HDA using " sudo apt-get update" the issue was HDA was trying to write to the directory without permissions to change certain folders within the " files" directory.
The file permissions located in the directory are mounted folders from a separate drive by fstab with separate permissions assigned.
The solution was to un-mount the drive with the " restricted permissions", then run the update so the install completes successfully.
Remount the drive OR reboot.
So far everything seems to be working as it should
Re: var/hda permissions
Glad you got it sorted out.
[ Post made via Android ]
[ Post made via Android ]
ßîgƒσστ65
Applications Manager
My HDA: Intel(R) Core(TM) i5-3570K CPU @ 3.40GHz on MSI board, 16GB RAM, 1TBx1+2TBx2+4TBx2
Applications Manager
My HDA: Intel(R) Core(TM) i5-3570K CPU @ 3.40GHz on MSI board, 16GB RAM, 1TBx1+2TBx2+4TBx2
Who is online
Users browsing this forum: No registered users and 4 guests