OpenSUSE Hardware :: Cannot Write Files To The Disk As A User
Aug 24, 2011
As a testcase on how encryption works out of the box with OS11.4 I've formatted an external drive with encryption. All goes well and upon boot the passphrase is requested. However I cannot write files to the disk as a user and I can't find the correct mount command in order to get it mounted so that my users can write to it and not only the root.
View 3 Replies
ADVERTISEMENT
Feb 17, 2010
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.
View 8 Replies
View Related
Feb 27, 2010
I need to write a script to report useful information on disk utilization for each user's home directory.For each directory I need to show: 1. the long listing of that directory entry (but not the files in the directory), so that I can see the rights and owners of the directory.2. The amount of disk used by that directory, in human-readable format, including subdirectories. I need to have two lines for each user one after the other. For example:
/home/user1 directory info
/home/user1 disk usage
/home/user2 directory info
/home/user2 disk usage
The script will assume that all users, except user root, have their home directories in the /home directory (no need to do anything with the /etc/passwd file). And if the administrator adds or removes users, the script should still work correctly (so the script shows the information for all current users).
Here's what I do know. The command "ls -ld /home/user's_name" will give me the info I need for #1. And the command "du -hs" will give me the info I need for #2. What I don't know is how to grab each individual directory in order to apply the above commands to each of them in order. ???
View 14 Replies
View Related
May 31, 2011
I am having an issue with a Chrooted SFTP User not being able to write files.
The permissions are setup correctly as if I remove the Chroot the user can write files correctly.
User has a transfer folder which they should be able to write files to and read from, this works correctly until I apply the snippet from sshd_config file below then the user can only read files. I have tried tweaking the permissions but this doesn't seem to have helped at all.code...
View 2 Replies
View Related
Aug 14, 2011
I need 2 Linux users to share a folder. Within this folder, users should always be able to create files and sub-folders and write into any sub-folder (whether they own it or not). However, they should only be able to edit the files they actually own.
View 1 Replies
View Related
Jan 21, 2010
Prelude: OpenSUSE 11.2 (2.6.31.8-0.1-desktop), installed Novell client 2.0 SP2 (novell-client-2.0-sp2-sle11-i586.iso).
I found that if any usual user is logged into a NDS-tree, then _local_ root has full access to user's network shares, including the user's home directory located on remote Netware-server. Is it by design or
have I missed something? Nevertheless in windows local admin has no access to network resources mounted of any other user. If you runas shell (as admin) then admin in principle can't "see" network shares which were mounted (connected) by other users - they are accessible ("visible") per session.
View 3 Replies
View Related
Mar 20, 2010
what are the series of files that are called when a user make copy operation from usb mass storage to hard disk?i have reached the code of the usb mass storage in linux kernel 2.6.33 and i want the exact code the make the copy how can i do that?
View 2 Replies
View Related
Mar 21, 2011
I have a netbook I'm not using and which I transformed into a server with Apache, Tomcat6, Netatalk, Webmin, BIND9 and Tor.
Problem is, the disks never stop spinning because all of the programs write a few kb at least every few seconds to disk, even when nobody is connected to it.
My question is: Is there a way to have the computer boot from disk like normal (maybe even a squashfs), keep ALL CHANGES to ram and then save to disk when either the ram is full (unlikely because the server is rebooted every few days) or at shutdown?
I thought about a mixture of ramfs and unionfs but I'm not good enough yet...
View 4 Replies
View Related
Feb 25, 2010
I've looked everywhere but I can't find where to change the default box for incoming mail, or am I on the wrong track. It's a nuisance having to change folders and I can't configure wastebin to empty on exit.And I can't get kmail to import from evolution. Do I have to go to the evolution storage and do it manually, and if so, how do I do that?
View 1 Replies
View Related
Nov 8, 2010
I have installed opensuse 11.3 64 bit. For many years was able to connect to a file server within our domain via konqueror in all previous versions of opensuse using: smb://user@server.ip.adress/userdata/user_name/
This would ask me a password and then I would be able to move, read, create and delete files. I never configured samba on the linux client because this method always worked. However very recently (I suspect since I installed 11.3) I am facing a problem I cannot resolve. I can still log in, browse the remote folder, read files, create new ones (for example a txt file), delete them, but I cannot copy into that remote folder files larger than about 20KB (I try copying or moving files by dragging them from my desktop into the konqueror window that shows the remote folder contents).
Small files are OK, but for files are larger than ~20KB there is an error saying: Could not write to file smb://{path_to_my_file_in_the_remote_folder}. Strangely, the file is nevertheless created in the remote folder, but with a fixed length size of 32KiB.
View 2 Replies
View Related
Jan 4, 2011
df -h [URL] I did the following command to find everything is in /usr or /var, then tracked it down to /usr/lib and /usr/share as the main offenders, but out of all the directories none are more than 1mb or so.
du -sh /* | sort -gr | head -n 5
I tried to uninstall firefox, which is what got me in this mess in the first place, the log claims it will remove ~240 mb but failes on a "E: Write error - write (28 No space left on device)" [URL] If I could juggle something onto an external hard drive so I can uninstall firefox I would be out of the wood. Failing that I believe a new install is in order.
View 1 Replies
View Related
Apr 26, 2010
I cannot copy files to a floppy disk because access denied.
View 9 Replies
View Related
Dec 5, 2010
Here are the facts and problem :Can see ALL the root files "/" of Ubuntu mounted partition in openSuSe 11.3But CANNOT see ALL the files inside the user "human" folder in the mounted Ubuntu partitionCan only see these files inside the user "human" in the mounted Ubuntu partition
Code:
linux-ictb:/srv/www # ll -a /Ubuntu/home/human/
total 12
[code]....
View 9 Replies
View Related
Jan 24, 2010
I am using OpenSuse 11.2 (64 bits) with KDE 4.3.1. My hard disk partition contains 3 areas : / + /home + swap. Frequently the / area is filling with, I suppose, temporary files until it is full (15 Go) and that in a very short time, typically about 5 mn. Then, these files are cleaned by the system, when disk space is needed I suppose. The point is that during this time, the system goes slower and slower until the "cleaning". That seems to occur only when Firefox (3.5.6) is running so I suppose that these files are temporary internet files.
View 9 Replies
View Related
Jan 3, 2011
I've set up my parents' machine running KDE 4.5 and want them to use the Gwenview import function from the Device Manager popup when transferring image files off photo CDs or other inserted media, since it's the easiest method for them to comprehend. All the files on their photo discs are r-xr-xr-x by default so they're unable to rotate or modify the images once copied to their hard disk. I want to set one specific images folder on their system to automatically force any files placed there to be rw-r--r-- (and rw-rw-r-- for another shared images directory elsewhere). It seems that umask won't work since that can only take permissions away and not add them, and I'd rather avoid getting into messy ACL configuration. Is there a way to achieve this either generically or some hidden config in Gwenview itself? I use KRename myself for such tasks but this is way too complex for my parents to understand so I need something that works without them having to do anything.
View 9 Replies
View Related
Feb 5, 2010
I am dual booting OpenSUSE and Windows 7 Pro x64. Each OS is installed on a separate 1Tb hard drive. One question that I have tried to Google for a solution with no success is, how do you access ext4 from Windows? Shortly after I installed OpenSUSE, my OpenSUSE hard drive "vanished" from Windows 7. aturally, I can access all my hard drives from OpenSUSE, which does support the NTFS. I am quite sure that I am not the only person who has this problem as I know that dual booting Linux and Windows is quite common.
View 8 Replies
View Related
Oct 23, 2010
I am running an Opensuse 11.2 system as a backup file server. Several external hard drives are attached via USB and mounted during boot via the fstab file. Recently, I noticed the df command showed the root partition being >65% full, while the du command showed the same drive was only about 20% full. After much investigation, I discovered that some large directories had been created under the /media folder on the root partition that were hidden when the external drives were mounted as directories with the same names under /media. I could only see this when I rebooted with a live CD and mounted the suspect partition without the external drives mounted. Is there a way to examine whether a mounted partition has existing files "hidden" when a separate file system is mounted "on top of it"?
View 9 Replies
View Related
Apr 5, 2011
I am using kernel 2.6.32.21, and my hard disk is West digital WD10EARS-00Y, 1TB. This disk is just for data, I made 2 partitions on it, each has half. And I have another small disk for system. I am using ext3.
this is my fdisk /dev/sdc
Device Boot Start End Blocks Id System
/dev/sdc1 1 60800 488375968 83 Linux
/dev/sdc2 60801 121601 488384032+ 83 Linux
[Code]....
I ran some dd to test the write throughput on /dev/sdc2. If I run it in /data2, I got around 70MB/s. If I create some directory, say /data2/dir/, and run dd again, I might get 60MB/s. Sometimes I still get 70MB/s, sometimes I get 60MB/s, differs for directories.
I wonder if this is because the allocation policy of file system, ext3, or this is from my hard drive?
View 7 Replies
View Related
Apr 1, 2010
I have formatted to EX3 in gparted all went fine, however I cannot rename the disk or write anything to it as access is locked to root Furthermore a file has been created called "lost and found" its locked and 46GB in size - what is this?
View 14 Replies
View Related
Jun 20, 2010
I have Ubuntu 10.04 installed on my Armada laptop with a Teac CD-W24E internal and a Plextor-DVDR PX504A via USB. I use K3B for writing CD data projects to 700mb CD-RW 1-4x discs. K3B writes ok on both drives if the inserted disk is a blank disk. If I insert an appendable disk with lots of space left, it asks to blank it before writing. I find no way to write on an appendable disk with K3B. Is this a software limitation or am I missing something?
View 9 Replies
View Related
Mar 17, 2010
Well appears to be that i have two partitions..one of 300gb i did on windows time ago and one of 100gb where i place my DEBIAN LENNY 5.0, the problem is that i cannot write into it..only i can copy stuff from it.
View 13 Replies
View Related
Apr 18, 2010
I am trying to scrape all of the info off of an old Fedora disk so that I can referb the box and put new stuff on it, but for some reason I can't get the permissions (even as root) to write to the disk.
It is currently mounted under /media/backup and I can browse it all I want, but still can't write.
View 5 Replies
View Related
May 18, 2010
Upgraded from 8.04 LTS to 10.04 LTS, but can't get the sound working.Have downloaded the 10.04 Ubuntu CD image to installwhen I try to follow the directions at[URL]BurningIsoHowto for burning the image............it says to Right click on the ISO image file and choose Write to Disc. I have no WRITE TO DISC option when I right click.Will some kind soul please tell me how to burn the downloaded CD image to a CD?
View 6 Replies
View Related
May 18, 2011
I am doing a program that reads data from a gps and some other devices and writes some files with all the information. When I run it normally it works fine, but if I run the program in the background (with the ampersand) files are not created until I bring it to foreground or close it. I am confused, the program should run the same way with and without the ampersand. (Could it be that the main process that creates all the threads does not create them when it is executed in background? It seems like if the program is stopped until I take it to the foreground).
View 4 Replies
View Related
Apr 12, 2011
I'm only somewhat new to linux but I still don't have a real grasp of it's deep innards and I had a fairly outlandish idea that I'm wondering whether is possible/plausible or not.I want to run a game server on CentOS that has a very high dependency on fast writes-to-disk. Disk writes are pretty much the single bottleneck in this server.First I looked at allowing a high queue of writes to pile up before it flushes them to the disk, but I read that this causes fsync, which is still used commonly, to take a very long time.
I've been thinking about the possibility of running the server on a RAM disk, but I still want changes to be saved to non-volatile storage. Not all at once, but have it actively write the changes to disk. The hope is that this would smooth out the peaks and valleys of write activity and improve overall performance, but I have not seen this idea discussed anywhere.
So my question is, is there any plausible way to continuously copy writes to a RAM disk to a physical drive without slowing down the speed of the writes to the RAM drive below the speed of said RAM? Or is there a better way to obtain this sort of performance, short of investing in expensive equipment?
View 1 Replies
View Related
Oct 26, 2010
I have encountered this problem of memory usage is increasing as the during the my program is being run until 1Mb is left then it stays at that.A part of the program is this:
Code:
#define WRITE_BUF_SIZE (1024*1024)
void post_data(const void *data, unsigned long size)
[code]....
View 3 Replies
View Related
Apr 9, 2010
In fact I'm not the systems administrator, but I have a strange problem unzipping a file. I think is a problem of memory or swap space or somethin similar, but I'm going explain the problem in detail: Distribution: Red Hat Enterprise Linux ES release 4 (Nahant Update 3) I'm connected as root. I have this zipped file: -rw-r--r-- 1 root root 678183271 abr 7 15:30 Master032010.zip it contains a 2,4G file
[Code]...
View 14 Replies
View Related
May 10, 2010
I have what seems to be a hard disk Write speed problems with my first hard drive. Timing the cp command of a 700 Meg file takes about 8 secs from disk 2 to 3 but takes 25 minutes from disk 2 to disk 1.
Here are the details:
Kubuntu 9.04 (Kernel 2.6.28-15-generic)
Hard Disk 1 : /dev/sda (WDC WD2500KS-00MJB0)
Partitioned
/dev/sda1 ext3 / 10 Gigs
/dev/sda2 extended 222 Gigs
/dev/sda5 linux-swap 2 Gigs
/dev/sda6 ext /home 220 Gigs
Hard Disk 2 : /dev/sdb (WDC WD2500AAKS-00F0A0)
Partitioned :
/dev/sdb1 ntfs 16 gigs
/dev/sdb2 xfs /home/eric/data_drive 216 Gigs
Hard Disk 2 : /dev/sdc (ST3500320AS)
Partitioned:
/dev/sdc1 xfs /home/eric/data_drive2 465 Gigs
By doing 'time cp ...sdb1/test.avi ...sdc1' takes about 8 seconds and same vice-versa. the command 'time cp ...sdb1/test.avi ...sdb1/test1.avi takes about 11 seconds and the same holds true if sdc1 is used But copy sdb1 or sdc1/test.avi to either sda1 or sda6 and it takes 25 minutes. Same problem if I copy from the same drive partition (sda). I have booted a livecd Knoppix 6.2 and the same problems happens.. So safe to say it's not Kubuntu. The only thing that is left to do is backup and reformat the partitions as XFS and try again. I also did a full smartcontrol Extended test and no errors. Checked all the various logs and nothing found.
View 8 Replies
View Related
Sep 14, 2010
I got a new machine with GA-p55A-ud3 mobo and a WDC WD10EARS 1T disk.
When I tried to benchmark the disk IO, I was suprised by the low write speed:
The related output from my lspci:
The related output from my lshw:
View 9 Replies
View Related
Oct 27, 2010
I am experiencing disk write performance issues and I cannot find the cause. I have LSI-9211-8i SAS 2 controller (latest firmware), Centos 5.5 latest x86_64 kernel (2.6.18-194.17.4.el5 #1 SMP with latest LSI driver v. 7.00 datet Jul 27) and Seagate Cheetah ST3600057SS drives. These drives have a std write performance (sustained) of > 200MB/s (and read as well); with Fedora core 13 (same machine), issuing a dd if=/dev/zero of=/dev/sdo bs=1024k count=16384 (16 GB direct device write), gets normally to 213 MB/s (repeated retries). On Centos 5.5 I am getting speeds around 110/113 MB/s.
iostat does not show anything specific (just 1.3 % wait, CPU 99.7 idle).
There are 14 drives: tried with several of them, same figures. Reads go around 200 MB/s.
View 2 Replies
View Related