I installed a headless Amahi HDA using express CD on a blank drive. When the system was up, I attached three drives with files/photos already on them. When I try to write/delete to these 3 disks, I am told that I do not have permissions. However, I am able to write to folders I have created after the Amahi installation on these same 3 disks.
I am frustrated because I want to delete some files to make more room on these Hard drives.
Can anyone help? Please!!
Finney
Unable to write/delete existing files/Folders
-
- Posts: 4
- Joined: Fri Nov 04, 2011 8:08 am
Re: Unable to write/delete existing files/Folders
Sounds like the files/folders you want to delete do not have the correct permissions assigned.
You will need to SSH into your HDA and change that via a terminal window as root user (see http://wiki.amahi.org/index.php/Open_Terminal_as_root).
Check to see that the files are owned by your user and the file permissions are 775.
The command is to change that is:
Replace username with your user name of course and directory name will be the directories you cannot delete files.
Hope this helps.
You will need to SSH into your HDA and change that via a terminal window as root user (see http://wiki.amahi.org/index.php/Open_Terminal_as_root).
Check to see that the files are owned by your user and the file permissions are 775.
The command is to change that is:
Code: Select all
chown -R username:users directoryname
Code: Select all
chmod 775 -R directoryname
Hope this helps.
ßî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
-
- Posts: 4
- Joined: Fri Nov 04, 2011 8:08 am
Re: Unable to write/delete existing files/Folders
Thanks for the reply.
I will try it tonight. So, from what you wrote, I have to assume that these steps should be done for every directory/folder. Is it possible to change the permissions for all the contents of a drive with just a few steps, instead of doing for each folder in the drive?
I will try it tonight. So, from what you wrote, I have to assume that these steps should be done for every directory/folder. Is it possible to change the permissions for all the contents of a drive with just a few steps, instead of doing for each folder in the drive?
Re: Unable to write/delete existing files/Folders
Yes that is possible. You could also just do it for /var/hda/files directory which would cover all shares.
ßî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
-
- Posts: 4
- Joined: Fri Nov 04, 2011 8:08 am
Re: Unable to write/delete existing files/Folders
I tried your steps, bigfoot. I used AjaXplorer to try to delete the directory. I was unsuccessful and got a message on the bottom of the window "the directory /recycle_bin is not writable. This might be a permissions problem". Please tell me how to rectify this.
Re: Unable to write/delete existing files/Folders
Check the file permissions of the directory you are trying to delete. There is a good link which tells you how to read the permission settings.
http://wiki.amahi.org/index.php/Basics
To change them, do the following as root user:
chmod -R 775 /var/hda/files/sharename
Hope that helps.
http://wiki.amahi.org/index.php/Basics
To change them, do the following as root user:
chmod -R 775 /var/hda/files/sharename
Hope that helps.
ßî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
-
- Posts: 4
- Joined: Fri Nov 04, 2011 8:08 am
Re: Unable to write/delete existing files/Folders
Thanks bigfoot.
I followed your steps, but I ran into resistance from the files of a backup I had made on my previous Ubuntu machine using rsync. The regular files/folders outside the backup folder were behaving well after the change of permissions.
I had to go in as root and individually remove the files and directories in the backup folder from command line.
I followed your steps, but I ran into resistance from the files of a backup I had made on my previous Ubuntu machine using rsync. The regular files/folders outside the backup folder were behaving well after the change of permissions.
I had to go in as root and individually remove the files and directories in the backup folder from command line.
Who is online
Users browsing this forum: No registered users and 10 guests