Hey Guys
Anyone know what the default permissions should be for /var/hda/files
I only have read access to the files there.
When I check the access for folders and shares they are all "first_account_created | users"
In my HDA, I have read and write access to the share. So im guessing its the permission that are throwing things off
Also, the public folder is not writable either.
Any assistance is greatly appreciate
Permissions for /var/hda/files
Permissions for /var/hda/files
Proxmox Server: Currently Not Running Amahi
CPU: AMD FX 6100 Six Core
RAM: 8GB DDR3
HDD: 4x1TB RAID10 (Adaptec)
CPU: AMD FX 6100 Six Core
RAM: 8GB DDR3
HDD: 4x1TB RAID10 (Adaptec)
Re: Permissions for /var/hda/files
Are you having problems when accessing files from a client computer, or when logged directly into your hda?
While logged into your hda, all the share directories in /var/hda/files (and the files they contain) should have permissions set to <first user account>:users.
When accessing your shares from a client computer, the permissions are set by the HDA Dashboard (in Setup/Shares).
Let us know if you have any questions.
While logged into your hda, all the share directories in /var/hda/files (and the files they contain) should have permissions set to <first user account>:users.
When accessing your shares from a client computer, the permissions are set by the HDA Dashboard (in Setup/Shares).
Let us know if you have any questions.
Re: Permissions for /var/hda/files
I can access the files, but can not delete.Are you having problems when accessing files from a client computer
That is what they are set to right nowWhile logged into your hda, all the share directories in /var/hda/files (and the files they contain) should have permissions set to <first user account>:users.
BUt i have found the issue. The /var/hda/files was set to 755. I changed it to 775, and now I have full access to the shares.
Proxmox Server: Currently Not Running Amahi
CPU: AMD FX 6100 Six Core
RAM: 8GB DDR3
HDD: 4x1TB RAID10 (Adaptec)
CPU: AMD FX 6100 Six Core
RAM: 8GB DDR3
HDD: 4x1TB RAID10 (Adaptec)
Re: Permissions for /var/hda/files
Was this a problem after install? Just trying to determine if this could be a bug.
ßî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: Permissions for /var/hda/files
I'm guessing so. I never touched or looked at that until now. Once I changed it I was able to access my files with write acres. But what is odd is that no one has mentioned it yet.
[ Post made via Android ]
[ Post made via Android ]
Proxmox Server: Currently Not Running Amahi
CPU: AMD FX 6100 Six Core
RAM: 8GB DDR3
HDD: 4x1TB RAID10 (Adaptec)
CPU: AMD FX 6100 Six Core
RAM: 8GB DDR3
HDD: 4x1TB RAID10 (Adaptec)
Re: Permissions for /var/hda/files
That is my point. Wondering if its an isolated incident. Guess we will have to see if anyone else complains.
ßî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: Permissions for /var/hda/files
This is how I fix all my hda/files permissions.
Code: Select all
#!/bin/bash
echo Setting all directories in /var/hda/files hierarchy to be readable
find /var/hda/files/*/ -type d -exec chmod 777 {} \;
echo Setting all files in /var/hda/files hierarchy to read/write
find /var/hda/files/*/ -type f -exec chmod 666 {} \;
echo Setting all files in /var/hda/files/Music hierarchy to user jiml and group users
find /var/hda/files/Music/ -type f -exec chown jiml:users {} \;
echo Setting all directories in /var/hda/files/Music hierarchy to user jiml and group users
find /var/hda/files/Music/ -type d -exec chown jiml:users {} \;
echo HDA permissions fixed
Ubuntu 12.04 (64bit)
Re: Permissions for /var/hda/files
Nice script. Would you mind adding it to the wiki? Also why 666 got files? We typically do 775 on directory and files.
ßî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: Permissions for /var/hda/files
I will add it to the wikki. I've also amended it so it is faster by testing the file perms and only changing those files that need changing.
As for the why 666 as there are no files that require the execute perms in the files/hda directory I just don't bother to set it.
666 -rw-rw-rw- 1 jiml jiml 0 Sep 12 17:59 test # File are rw for everbody and not set as executable
775 -rwxrwxr-x 1 jiml jiml 0 Sep 12 17:59 test # Files are rw only for user and group, ro for everybody else. Set as executable.
As for the why 666 as there are no files that require the execute perms in the files/hda directory I just don't bother to set it.
666 -rw-rw-rw- 1 jiml jiml 0 Sep 12 17:59 test # File are rw for everbody and not set as executable
775 -rwxrwxr-x 1 jiml jiml 0 Sep 12 17:59 test # Files are rw only for user and group, ro for everybody else. Set as executable.
Ubuntu 12.04 (64bit)
Re: Permissions for /var/hda/files
That is true, never thought of it that way. The reason we set the executable permissions as some store files they execute in shares. If all you need is to read/write, then yes it's not necessary. However if you store scripts or programs to be run from a share, that would be needed.
ßî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 54 guests