When uploading a file from the file manager to the public
web pages /home/web , The file permissions are rw- --- ---
with user = user and group = users. If I edit a page and
replace it these file permissions, the page no longer works.
is there any way to change the file permissions to rw- rw- ---
when files are uploaded ?
New user's registration have been closed due to high spamming and low trafic on this forum. Please contact forum admins directly if you need an account. Thanks !
File permissions
(I took the liberty to move your post to the support thread)
Yes, this is a known issue with the upload function. It is actually solved in our next software release (due within short, probably within one week), where the permissions are set better.
Edit: Corrected a mistake here.
Until then, you can:
- use ssh (i.e. putty from windows) to log on to your Bubba
- log on as yourself (normal user/password)
- type 'su' to become root. The password is 'excito'.
- browse to the files you want to change permissions on
- use the 'chmod' command to change the permissions. Type chmod -help for information
Yes, this is a known issue with the upload function. It is actually solved in our next software release (due within short, probably within one week), where the permissions are set better.
Edit: Corrected a mistake here.
Until then, you can:
- use ssh (i.e. putty from windows) to log on to your Bubba
- log on as yourself (normal user/password)
- type 'su' to become root. The password is 'excito'.
- browse to the files you want to change permissions on
- use the 'chmod' command to change the permissions. Type chmod -help for information
/Johannes (Excito co-founder a long time ago, but now I'm just Johannes)
For those in a hurry
I fixed the problem by editing the file /usr/share/web-admin/upload.cgi with the following line at line 178 with the "$mode" line.
close($tmp_fh);
$mode = 0666; chmod $mode, $tmp_filename;
$fsize =(-s $fh);
close($tmp_fh);
$mode = 0666; chmod $mode, $tmp_filename;
$fsize =(-s $fh);
File permissions
In your post you said the software release would solve this problem. Actually it has made it worst for me because my modification no longer works since upload.cgi is a binary file now.
Any ideas how to upload a file to the web pages and have the permissions so that it is viewable ?
Any ideas how to upload a file to the web pages and have the permissions so that it is viewable ?
Hi,
I think an apology is in its place. This bug got down prioritized earlier and then we missed it. This should normally not happen.
I can however inform you that the next update, due sometimes in a week, includes both the fix that uploads to web and storage is readable by all and the web-admin filemanager has got a refresh with updated capabilities regarding settings of permissions on files and directories.
/Tor
I think an apology is in its place. This bug got down prioritized earlier and then we missed it. This should normally not happen.
I can however inform you that the next update, due sometimes in a week, includes both the fix that uploads to web and storage is readable by all and the web-admin filemanager has got a refresh with updated capabilities regarding settings of permissions on files and directories.
/Tor
Co-founder OpenProducts and Ex Excito Developer
Firmware Upgade does it all
With the Firmware upgrade I am getting exactly what I was looking for.
Now I can easily maintain my remote web server from work. Thank you for
a truley great product.
Now I can easily maintain my remote web server from work. Thank you for
a truley great product.