Ubuntu :: Cannot Read Or Write Extracted Japanese Files
Jun 14, 2011
I've extracted a few files through the archive manager through Ark (as well as through the command line) and some folders/files that were originally in Japanese are not properly displayed in the terminal or file browser. I can't delete them nor open them; I am informed that this file does not exist.I am running Kubuntu 11.04. I had a similar problem in Ubuntu 10.04 in that the text was not displayed properly, but the files were readable and writable.
I need to write a document in japanese using Latex, but i'd like to know what are the steps to do it from scratch. I'm not so familiar with Latex and i really need some advices, especially regarding the packages for the language and all. What are the necessary programs to get? Packages? libraries?
I have a file server running 10.04. I have a user that belongs to 2 groups (users is the primary and IT is the secondary). I have permissions set up so that this user and other users that belong to the IT groups can read/write files and others have no permissions whatsoever. I have also set the umask to 0007 so that any files created have the effective permissions. My concern is this: since my primary group is users, is it possible for me to create files with the owner group IT for only this specific folder?
I had to reinstall Ubuntu (Natty) on a brand new computer and while installing I setup the datas partition to be mounted in /usr but now I can't have access to files I put in there even if I setup the group/user permission! I can accezz /usr/Music but all files are locked
On an Apache2 server someone else setup, I have a folder with drwx--x--x permission and the php file can still write in the folder. But on my own setup, I need to set the same folder to drwx--x-wx. Inside the folder, I have a index.php that runs just by setting rwx--x--x but on my own setup, I need to allow read permission for others/group before it can run: rwxr-xr-x (or else I get a blank page). I tried changing the folder and files to root but it's the same.
I am trying to setup my webserver and I am trying to make a website to run under suexec but somehow I cannot start my apache it directly fails and SELinux is giving me errors and don't really know what to do with it, it is giving me some command to type but not sure if this will make my server less secure. The SELinux error is as follow:
Code: Summary: SELinux prevented httpd reading and writing access to http files.
Detailed Description: SELinux prevented httpd reading and writing access to http files. Ordinarily httpd is allowed full access to all files labeled with http file context. This machine has a tightened security policy with the httpd_unified turned off, this requires explicit labeling of all files. If a file is a cgi script it needs to be labeled with httpd_TYPE_script_exec_t in order to be executed. If it is read-only content, it needs to be labeled httpd_TYPE_content_t, it is writable content. it needs to be labeled httpd_TYPE_script_rw_t or httpd_TYPE_script_ra_t. You can use the chcon command to change these contexts. Please refer to the man page "man httpd_selinux" or FAQ [URL] "TYPE" refers to one of "sys", "user" or "staff" or potentially other script types.
Allowing Access: Changing the "httpd_unified" boolean to true will allow this access: "setsebool -P httpd_unified=1"
Fix Command: setsebool -P httpd_unified=1
I will write down how I did setup my server so maybe you can see a mistake I did. First I changed my Apache httpd.conf I added the following to it: Code: NameVirtualHost 192.168.1.2:80 <VirtualHost 192.168.1.2:80> ServerName localhost DocumentRoot /var/www/html DirectoryIndex index.html index.html index.shtml index.php </VirtualHost>
Then I created the username "ulyaoth" with the group "ulyaoth" as I specified with my suexec, then I created all the directories as specified in my httpd.conf and "chown ulyaoth:ulyaoth (dirname)" them to the right group and username.
From one day to the other, I can't read Japanese anymore. I could yesterday, I can't anymore, be it with firefox or chromium that I just installed ! This is madness. With one browser I have empty white square, and the other white squares containing four numbers.
I got the etpro 3.2.6 zip file and extracted it but there are no files at all that can be run in linux inside the folder even though it was supposed to be a linux download. Is there something I am missing and is there an easier way to install 3.2.6?
I have a RAR archive, split into 40 sections, containing a folder with a total of 2GB of data. When I Open the Archive using "File Roller 2.30.1.1" and drag the archived folder to destination folder, it says that its uncompressing, but after its uncompressed, there is nothing there, in the destination folder. Where was the 2GB extracted stuff gone?
I've written the script below to merge only .txt files that exist in one directory into one huge .txt file and ignore other files with other extensions. now the result is one huge .txt file with all the contents of other .txt files
how can i add the File Name as a comment before each file?
I just downloaded a file that ends with .Repo, I believe it's a repository file. How should I install this type of file and where/which directory it should be extracted or saved to?
My apology for being a suzee nubbee (Windoz refugee).
I have extracted the files from a bootable CD to /dev/sdc2/bootable/winpwrec with the hope of booting from the hard drive. I have read the grub.cfg file and a couple of guides here and I'm still not sure what I'm doing. Is there any chance someone can tell me what I need to add to the grub.cfg file to add this to the boot menu? I am pretty well-versed in computers but I'm new to Linux and I'm still trying to get acquainted with the OS, terminology, and the boot loader. I'm using Ubuntu 9.10, if that matters.
files in the folder: BOOT.CAT;1 ISOLINUX.BIN;1 SCSI.CGZ;1 BOOT.MSG;1 ISOLINUX.CFG;1 SYSLINUX.CFG;1 VMLINUZ.;1 INITRD.CGZ;1 README.TXT;1 SYSLINUX.EXE;1 isolinux.cfg Code: #serial 0 19200
scim-anthy seems to have been installed perfectly... however, ctrl-space or any other combinations that i'm use to don't activate it... i see the keyboard icon, i can go in set up the environment in it but... i can't get the japanese language bar to show up so I can type in Japanese.
What are the possible problem when Windows access the file from Ubuntu got Read Only even though have a full permission to read, write and execute the file? Ubuntu to Ubuntu accessing the file there is no problem only Windows got a problem.
Actually I want to log a bug but I don't really know what package to log it against. The problem is that by default Pango is choosing the AR PL UMing CN as the font to render Japanese text when the current font doesn't have Japanese glyphs. But AR PL UMing CN is a Chinese font, so Chinese glyphs for kanji characters (e.g., 覚) are displayed. This is jarring and confusing for Japanese readers.
This situation mostly arises when you have mixed English and Japanese text. Some applications (for instance Firefox) will allow you to select a font for Asian text. Thus if the text contains only Asian characters it will use the font you select, rather than what Pango would have selected. But if it is a mix of English and Japanese, you end up with the wrong glyphs.
Other environments (like gnome-terminal, or a gedit) have difficulties as well. Since the primary interface requires mono spaced roman characters you run into difficulty selecting fonts. Most Japanese fonts only have proportional roman characters. This means that if use a nice roman font and use Japanese text (for instance file names), you end up with Chinese glyphs. What I want is a mechanism that will work across all of Gnome for selecting the font I want to use for Chinese characters. That way I can choose either Japanese or Chinese glyphs.
I realize this is low priority. It only bugs me a little, but many of my Japanese colleagues are put off from using Ubuntu because they are confused by the Chinese glyphs that pop up on my screen from time to time. As I said, I'd like to file a bug, but I'm not sure against what package...
I want to write a shell script which will simultaneously collect OS user information and write in an individual text files.Can anyone tell me the syntax of the script.N.B. The user name will be mentioned in an array within the shell script.
I did install QLandkartGT and the plugin to use Garmin with it and it looks like it work, but when I do press "Live Log" I get the error message; "Device Link Error. Failed to request real time position. Realtime thread failed. Failed to configure USB: could not set config 1: Operating not permitted".
I also get a similar error when trying to download tracks; "Failed to download tracks. Failed to configure USB: could not set config 1: Operation not premitted".
My guess is that Ubuntu do not allow programs to use the USB port, so my question is how I do allow this program (or all) to use the USB ports.
I just installed Ubuntu 10.04 on my system, and I put in a really old game CD for my really old computer. I cannot run the setup program , however because "it is not executable". I can't change this , because it is read-onlybut I can't chane this either. As I'm new to this, I was wondering .
I have a netbook with Ubuntu 10.10 installed in it,and a Pc with also ubuntu 10.10 in it , but x86_64.
I want to copy some iso files and data from my user home directory on the netbook , to the user home directory of the other pc , using a 8 GB usb formated in ext3 with gparted in my pc.
One iso is a windows 7 one to burn then with K3b , as i need to have windows installed in that box. Also of another iso that i have to burn too (windows 7 recovery disk) , and 3 anti-virus trials for windows.
As the usb is owned by the root (or more properly the mounting point,no?), and i can't use my user to copy data to it i usually do :
Usually , what i use is "sudo nautilus" then go to the place where is the data , copy it , and paste it then in the usb. Then in the other pc i do a chgrp and chown to the iso or file.
But , perhaps this is not the better approach. I have investigated a bit , and i think that i have found a better way , but i have some dudes.
The method is change the owner,group and permissions of the mounting point:
Code: cd /media ls umount /dev/sdb1 sudo mkdir usb
[Code].....
If i do this steps in both computers, with each user,in the netbook i can copy the iso to the usb (as fox can write to the mount point of the usb ), but can the other user in the pc 'mulder' read the iso , so be copied to /home/mulder, and then be able to burn it in k3b with success ?
I suppose that having 766 , it should be able to read it , but would have the own of the file ?
How important is not to only be able to read it , but also own it ?
I suppose if the user ID is the same , wouldn't be any problem ,as each ubuntu would supose that the file is owned by their user.
Perhaps the user name change,but if the ID is the same , the user is the same for ubuntu , not any different, no ?
sudden of all all USB drives and sticks I put into a PC will not mount with read/write permissions (they did before). I can still copy to them, but only when I am root. I am on Maverick I've noticed though that if I run disk utility, then UNMOUNT the partition, Check File System, Mount the partition back, I get read/write access..
Recently i acquired an electroencephalograph (EEG) and started to experiment with it, and i need some way to write or send a couple of Hex numbers to the EEG so it will start working, and then to save the data on text file, or at the very least see the output on the terminal using C or C++, i found some programs around the forums but none seem to work properly and more often than not, The EEG is recognized as /dev/ttyUSB0 has a baud rate of 921600.
I want my samba to keep my windows attributes exactly what the user setted in windows I mean if it has read only file in win box and copy it to samba share ,samba keep it read only and same for other attributes but it does not do it now with my configuration:Quote:
[global] workgroup = DOMAIN server string = File Server
I would like to be able to read and write on hd formatted as Hfs+ not journaled...I know it is possible, but still I can't since ubuntu mount them with a different user: 99.If I add my user to the group 99 will be fine? or exist another way to write on such file system?if use hfs+ not journaled it will be less safe for the files?