Ubuntu :: Can't Write To Directories Inside My Main File System / Change It?
Apr 23, 2010I can't write to directories inside my main file system. This is annoying, how to change?
View 3 RepliesI can't write to directories inside my main file system. This is annoying, how to change?
View 3 Repliesok trying to use grip but it keeps giving me this messageCode:No write access to write encoded fileso i have a folder in my home folder called flac and i want to modify the folder so that all files within can be written toi have tried
Code:
chmod -R 777 flac/*
and
[code]....
I was wondering if there is a way to change the value of positional parameters inside a file.I mean, i want to change the value of a certain field of a file to the one i provide with?
View 6 Replies View RelatedHow can I display only the folders that have changed inside of two different directories?
PHP Code...
Will this suffice?
I am trying to see what new directories were added between my working build and a new onefor a project that I working on.
I'm looking for a way to produce a list of all the directories in the current working directory sorted by the total number of files that are contained with them.
Initially I though that Nautilus could be used for this, but then I realised it doesn't count files in the sub directories.
The best I've got for a command line solution so far is this
Code:
The use case for this is a situation where a user has a quota applied to their home directory which limits the number of files they are allowed to have and they have exceeded that limit.
How do I use "chmod" command so that it allows me to write a file inside a certain directory ? This directory has permissions in the formdrwxr-xr-xOnce I try to write a file there, it says "Permission denied" ! Don't advise to use "sudo", since the file is created by some executable program compiled from a source code. If I was creating the file myself, I wouldn't have gone to this forum.
View 4 Replies View RelatedI have a file system that I can't seem to read and write to. I've tried everything I can think of.
Code:
root@xubuntu:/mnt/t1# ls -la
ls: cannot access .Trash-1000: Input/output error
[code]....
I have this issue: i can't write in Cyrillic inside my flash application: http:[url]....I can't write if i type from keyboard. At the place of normal characters i get some strange ones.If i use the virtual keyboard included in my program, it works properly.(now i use Karmic, but this problem there was also in previous editions)I think should be something about fonts, but i don't know exactly what to do.
View 8 Replies View RelatedI just found that I could perform write operation using a normal user account to a file system I mounted with the commands as followed:
sudo mount -t ntfs /dev/sda1 /mnt/disk/
This is the corresponding entry in the output of "mount" command:
/dev/sda1 on /mnt/disk type fuseblk (rw,nosuid,nodev,allow_other,blksize=4096)
As far as I remember, when using a normal user account, I had to use "sudo" to perform any write operations (mkdir, rm, etc) to a device mounted using "sudo". But now it seems to be changed.
Do I remember wrong, or did Karmic have any updates change this setting? (I never manually changed user settings, except that I added a root user, but I never used it.)
OS: Karmic(up2dated)
Kernel: Linux stephen-laptop 2.6.31-17-generic #54-Ubuntu SMP Thu Dec 10 16:20:31 UTC 2009 i686 GNU/Linux
1. What can I use to read/write to my ext4 file system in Win7 x64? 2. I use Macbuntu. Is there any way to get a translucent top bar 3. My computer seems to be running hot while on Ubuntu. The fan speed seems increased. It goes back to normal on Windows though.
View 2 Replies View RelatedI have a file server that all of my windows users have their my documents point to their home folders on the file server which is on a raid controller. I then have an external raid array on the same file server that rsyncs with the home folders nightly. I also backup some etc folders from various other Linux boxes also using rsync and ssh. I then have an external server at another location that rsync's with the external backup raid array for added security. I am replacing tapes as they are unreliable and cumbersome. What i liked about tapes was having a rotation of say 3 or 5 days so files at different iterations could be recovered. I want to mimic this with the above setup.
The root directory of the external array where all the rsyncing is taking place I thought I would turn the entire thing into a git repository and using gitbak + metastore + some cron scripts (to keep metadata) I could then in effect have the same kind of features as multiple tapes in a nice versioned system.Questions...
1. Is this the best way to do this?
2. What about git reps inside of the git "file system"?
3. How much overhead can I expect from having to keep versions of everything?
4. Building off 3 is there a way to remove old revisions for instance only having the last 5 days of changes?
I just completed the ubuntu 10.04 installation using the windows' installer.After the installation, the system reboot. I chose "ubuntu" from the OS selection screen.A message appeared that the system would verify the installation parameters.
Suddently, a message was shown:
"no main file system chosen. Please solve this error from the partition menu."
And it wouldn't continue!
how can I find the partition menu and set the file system for the ubuntu?? An idea would be to enter the installation cd for windows (as if I would wanted to format the pc)...wouldn't then the partition menu appear?
I have a program that is very heavily hitting the file system, reading and writing randomly to a set of working files. The files total several gigabytes in size, but I can spare the RAM to keep them all mostly in memory. The machines this program runs on are typically Ubuntu Linux boxes.
Is there a way to configure the file system to have a very very large cache, and even to cache writes so they hit the disk later? I understand the issues with power loss or such, and am prepared to accept that. Crashing aside, in normal operation the writes should eventually reach the disk!Or is there a way to create a RAM disk that writes-through to real disk?
I wrote a simple shell script called main.sh and inside it calling another shell script called rename.sh.Both are placed in a same directory.[/home/srimal/test]
$cat main.sh
Code:
#!/bin/sh
[code]...
I've surprisely recognized that it's possible to write a filesystem on a hard disk without any valid partition. Well, the general advantages of partitions are clearly. But what are possible disadvantages or limitaions if you don't use a partition (e.g. if you want to use the complete space as one volume for data mining or so)?
View 14 Replies View RelatedI have mounted a iomega file system on a cetos os machine using
mount.cifs //filserver-ip/directory /home/my-home/mounted-file -o
user=username
(** mounted as root) The mounting works fine.
The problem arises when I try to create a sub-directory inside the mounted directory. All the newly created sub directories become write protected.
I am accessing this file system from R software and it needs to write/create directories in side this mounted directory.
how can newly created sub-directories will become automatically writable, so that R can create new sub-directories and write data inside those directories.
I have an ntfs partition that I wish to access as a normal user(non-root). For this I did the following. As root I created a folder /windows and did a chmod 777 -R on /windows. Then I added the following line to /etc/fstab
Code:
/dev/sda3 /windows ntfs-3g defaults,nosuid,nodev,umask=000 1 0
Now, the partition is mounted alright but the problem is that when any other user (non-root) creates a files in /windows (say by executing touch newfile) the newly created file has the owner and group set as root. The non-root user can create the file and he can also delete the file, however, he cannot change the permissions of the file and also the owner:group is always set as root:root. How do I get across this problem, i.e. how do I mount a partition, so that a non-root user can also change the permissions and ownerships of the files he creates.
I want to simply mount an ext4 file-system onto a normal mount point in Ubuntu (/media/whereever), as read-writable for the current logged-in user, i.e. me.
I don't want to add anything into /etc/fstab, I just want to do it now, manually. I need super-user privileges to mount a device, but then only root can read-write that mount. I've tried various of the mount options, added it into fstab, but with no luck.
I'm trying to configure a per user samba login for full access to the user's home directory.Mounting the shared directory works flawless when mounting from Windows. I can read, write, create without problems. However, when mounting from Linux the shared space is readonly.
View 8 Replies View RelatedI was running '# ls -l' in '/' directory and I noticed all directories in '/' have the following permeation 'drwxr-xr-x' [except root's home which is 'drwx------' (after I change it from 'drwxr-xr-x' )]
I don't want all the user (except root) to be able to read and execute (in) any directory, I just want every user to be abel to read/write/execute only in his/her home directory.
my question is, is it ok to change file and directory permeation of the following directories in '/' from 'drwxr-xr-x' to 'drwxr-x---' or 'drwx------' recursively?
/bin
/boot
/dev
/etc
[Code]....
-I and the other users use the pc for internet, open office and email mainly.
-It does not run server(s) like smb/cif or NFS.
-There are 5 usernames (created by me, non of them are superusers) in th pc, only one user is required to login at any one time.
I'm using CentOS 5.5. I am trying to write a script that will find recently created directories (touched within 30 days) and create a symbolic link to those directories in another folder. Here is the script:
#!/bin/sh
cd /home/chris/Documents/;
rm -rf ./recent_files/*;
find ./ -maxdepth 1 -mindepth 1
[code]...
I have a site hosted with a cheap hosting company and limited control of the site. I need to allow some other users all over the world to have write access to files or complete directories and I have no idea how to do that. Initially I thought I could use "chown" somehow but it looks like it's a no-go with ftp and others. By default, there is a .htaccess file and a .htpasswd file in the root directory of the site and the hosting company suggested to use .htaccess file with something like below:
[Code]....
and put it in a .htaccess file in the directory of user1 but the server does not like something since I inserted that file. Is it an error in the script or is there more to it than that? Can someone point me to a suitable tutorial or explain what to do?
I have sandisk usb and want to get rid of the "U3" partition that's on it, but its a read-only file system. can't chmod to 777 from root
View 3 Replies View RelatedI would like to change some files in the file system section.How do i gain access to change the file system?
View 9 Replies View RelatedI have several directories, each owned by root and a group of the same name,By setting the sgid bit, I made sure that newly created files and directories are owned by the correct group, and that directories have the sgid bit set too.On each newly created directory or file, the permissions are set to 755. This is because this is the default umask, and I cannot change a users umask. I actually only want files created below a particular directory to have group write access, inheriting this behaviour to newly created directories properly.I'm not on samba or NFS, I have to do this for SSH users.The filesystem is ext3.I started to fool around with ACLs, but couldn't find what I was looking for.
View 3 Replies View RelatedWhen trying to copy files from a local folder into a directory that is a mapping of my QNAP server I get an error message " Read-only file system" - and this only since a couple of days.Trying to change ownership with sudo chown also failed.
View 9 Replies View RelatedI have ntfs partition installed bran new ubuntu system. I have some problem with unrar utf8 character zip files.Then i change my fstab file that uses files in D:ubuntudisks oot.disk and i added with out no fearless Code: ,utf8 and after all now i can't boot my linux system it does not allow me to change anything in fstab file. Although i use as a prefix sudo or as a root "sudo -i" commands I dont have any right to change it.
View 6 Replies View RelatedI have an external monitor connected to my laptop and I'm trying to change the external monitor to be my main monitor (the one that the menus appear on).
There is no option to change the primary monitor in system>preferences>monitors.
Ive installed Gaussian '03 on fedora Core 10, but I'm unable to run it. It aborts and i get the following error
Code:
Erroneous write during file extend. write -1 instead of 4096
Probably out of disk space.
Write error in NtrExt1
I use Markdown to store all of my source documents. Unfortunately, the .md extension maps to application/x-genesis-rom under Ubuntu. I'm not sure why that would be a system default MIME type, but I'd like to change it.
I've tried using:
Code:
gksu assogiate
to modify my file type cache. Unfortunately, even as the SU, I can't modify the entry for this file type. The "Remove" button is inactivated for the entry. (See attachment.)
How can I get rid of this (obsolete?) file association? Alternatively, how can I make my new one (text/x-markdown) take precedence?