2
votes
1answer
32 views

i want to open a file in the root directory in my c++ application in write mode.

I have a file in the root directory which I want to open for editing in my QT application. Generally we use "sudo (editor) filepath" to open the file with roots permissions. But i want to achieve ...
0
votes
1answer
41 views

Windows Program fails to open file

I´ve just installed SONAR LE 8.5.1 on my Ubuntu 12.10 machine. And, against my expectations, it works complete fine! Except for one thing: When I record something, SONAR is getting the audio-data and ...
0
votes
1answer
139 views

Trouble reinstalling Ubuntu 12.10 after sudo chmod 777 -R / [closed]

I have made a mistake in changing the file permissions and accidentally typed: sudo chmod 777 -R / which forced me to back up my files and reinstall the system. I'm having trouble now in ...
0
votes
0answers
81 views

Messed Up My Hard Drive

I installed Ubuntu yesterday and was trying to setup Plex Media Server. I wanted to give Plex Server r-x rights. So I typed the following command zohaib@zohaib-Inspiron-N5010:/media/zohaib$ chmod -R ...
0
votes
0answers
46 views

File Permission Change

Recently I uploaded a audiobook in which only 5 of the 20 chapters would work. Every chapter has a -rw-r-r code. In a terminal, it acknowledges I am the owner but it refuses to allow me to delete the ...
1
vote
2answers
72 views

How to access and copy files from an old/other Ubuntu system's partition?

I'm getting permission denied when I try to access my old 10.04 partition. I'm trying to get into the home folder so that I can back up the data before I do a fresh install of 12.04. I know the ...
-1
votes
1answer
290 views

How to change owner and permissions of a folder in desktop

The problem is that the folder directory is /home/marek/Desktop/Tekkitserver/3.1.1 and root has all but 5 file ownership and permissions what are inside it. It all happened after I launched tekkit ...
1
vote
1answer
166 views

/var/www permission problem [duplicate]

Possible Duplicate: Whats the simplest way to edit and add files to “/var/www”? I'm fairly new to Ubuntu, and Linux in particular. I want to use Ubuntu for web development mostly, so I went ...
1
vote
1answer
595 views

How to change folder permissions to read, write and execute

I installed XAMPP, but I'm not able to create or save files in htdocs folder. This is what I get to see when I try to save a file. The document could not be saved, as it was not possible to write to ...
0
votes
3answers
182 views

Cannot create files except in home partition

On my system I have made 3 partitions except home partition but Ubuntu doesn't let me create or delete any files on those partitions. Even copy and paste options are not available. Using my poor ...
0
votes
0answers
622 views

Unable to change file permissions due to “read-only file system” message

I have installed Ubuntu on my Macbook Pro 8.1 (alongside OSX in dual boot), and would like to use the web projects from OSX in Ubuntu without having to sync the folders. However, my services are ...
0
votes
1answer
2k views

Change file permissions for the entire folder

I am trying to change the file permissions for the entire directory. Presently all the files in the dir have the following permission, -rw------- And I wish to change it to, -rw-r--r-- I know I ...
0
votes
2answers
476 views

No Read/Write Permission as User on a Secondary Drive

I have a 2nd hard drive that is used for data only, it has been formatted both in NTFS and FAT32, the system is dual booted with Windows so the Data drive is used to share data between Win and Ubuntu. ...
0
votes
2answers
596 views

Android SDK file permission [duplicate]

Possible Duplicate: General Rules for dealing with File Permissions I have been trying to access the file for a while now and it says that I don't have the permission to enter the file. ...
0
votes
2answers
4k views

Getting access to var/www

Very, very new user to Ubuntu and I've been searching for a long time without finding an answer. Probably I've gotten the answer but I don't understand it all that very well so I thought I try this ...
3
votes
2answers
1k views

Can't Change Permissions of Files in Home Folder without Sudo

For some reason, I can't chmod +x files that are right in my home folder without prepending sudo to the command. One recent example: I have a file named monitor-off.sh in ~/Documents. I tried to use ...
2
votes
3answers
453 views

How to transfer file permissions from one folder to another?

I did cp -r on a folder (copy), then removed the original. I have a backup with most of the files. How do I restore the permissions of the files & folders on the copy using the backup? It ...
1
vote
3answers
641 views

12.04 run from cd, cannot copy files from mounted disk

I am running 12.04 live from cd and trying to copy some important files from a mounted hard disk to an external disk. (My previous installation of 10.04 crashed and I want to install 12.04, and back ...
1
vote
2answers
1k views

no sudo permissions to /etc/hostname

When I try to edit my /etc/hostname file, using sudo nano /etc/hostname (or any other editor) I get the following: Error writing /etc/hostname: Permission denied I then tried: sudo chmod u+w ...
18
votes
3answers
5k views

How can I get octal file permissions from command line?

There is a chmod command to set file permissions, but can I get file permissions in octal mode (such as 755) from the command line?
0
votes
2answers
275 views

How to provide an application with full disk read/write permission?

I have a problem concerning Amnesia: The Dark Descent bought in Humble Indie Bundle V. The game crashes when I hover over notes, and so does Ubuntu. After the crash I can only see the desktop ...
1
vote
0answers
111 views

Can't open files from external device

I reinstalled my system last weekend and saved some files on a external device. The problem is i cant open this files anymore, even i start nautilus as root and change the file and folder permissions ...
0
votes
1answer
318 views

Is it safe to change permissions for /usr/share folder?

These days I mess around with files in /usr/share folder, like modify themes and other stuff... So, is it safe to change permissions of /usr/share folder so I don't have to open it as root every time ...
2
votes
2answers
9k views

Changing file permissions on USB external hard drive

I am using an external USB hard drive for a long time in Ubuntu 10.04, both at work and at home. Now I've installed 12.04 at home. Today I used the USB drive for the first time. I can read the disk ...
0
votes
2answers
2k views

How to undo an operation done in terminal?

I had deleted an important file once and later i had changed the permissions of a file which i am not able to revert now. Is there any way through which i can undo delete or revert permissions on ...
1
vote
1answer
204 views

How file permissions are stored in inode?

Suppose there's two pc - "A" and "B". Then if A downloads a files from B , then what would be the file permission of that downloaded file? Is it possible that the downloaded file in A will have an ...
1
vote
1answer
368 views

changing permissions of `nyccrash.txt': Operation not permitted

I have an assignment to write PHP code, and upload the data to our school student's account. To make sure my script is working, I need to change the permissions on the files. I am not a root because ...
4
votes
1answer
640 views

Is it possible to change owernship of a file without root access?

If a User A owns file.txt, can User A change the ownership of the file to User B without root access? When i run a chown B file.txt as user A, I get a Operation not permitted error. It seems to me ...
1
vote
2answers
279 views

How can I change a set of files Permsissions from Root to user

I copied A set of BlueJ files from /usr/share/doc/BlueJ to a ~/BlueJ directory however the files in folders are set to root permission and read only I need to be able to read/write them. So in BlueJ ...
5
votes
4answers
12k views

How can I change permissions on external drives?

I wanted to change permissions on my external drives that are automounted however I have tried by sudo nautilus and then going to gui and permissions and changing it however it does not let me. I ran ...
2
votes
3answers
383 views

Messed up file permissions

Not being an expert in Linux/Ubuntu, I had to install from scratch today and messed up w/file permissions. The thing is that, when backing everything up before reinstalling, a couple of important ...
1
vote
3answers
629 views

Cannot set file permissions

I am trying to set file permissions for a folder named Sales. I am doing a school project and I want to give a tutorial regarding file permissions. I am using vmware workstation and when I go on ...
4
votes
2answers
446 views

Cannot change file name on desktop

I cannot change the name of a file/directory on the desktop through right click on the icon. The name becomes selected, but I cannot type in it. This has also happened in the past with some versions ...
1
vote
1answer
418 views

Why can't I open files and locations across a home network?

I have figured out how to get my two Ubuntu 11.04 machines to see each other, and I can look through shared files but when I go to open say a song in a shared music file I get an error message saying ...
3
votes
2answers
685 views

General Rules for dealing with File Permissions

I have run into a ton of file permission issues in Ubuntu, from not having permission to delete a file, change the contents of a while, and so on. I was wondering if some of you Ubuntu experts could ...
5
votes
3answers
562 views

How to make folder writable to 2 users in different groups?

I have a folder (/var/www/test7.com), which must be readable/writable by www-data AND test7 users. test7 user should not have access to other websites. How can I do that?
3
votes
1answer
540 views

Gaining access to a folder which requires you to be the admin/owner?

Hey there, I'm trying to install a gedit plugin called zoom, and in order for it to be picked up by gedit it needs to be extracted in this folder /usr/lib/gedit-2/plugins. My problem is I can't ...
-1
votes
3answers
104 views

How to create a file containing info from another file? [closed]

I am trying to create a file contating the info from my /etc/passwd file but can not seem to get it to work. Can anyone help me out?
3
votes
2answers
645 views

How to make a link to a .desktop [Desktop Entry] file

I made a link on my Desktop to the launcher file "Compiz" in /usr/share/applications/. When I try to execute it I get: "The application launcher "Link to compiz.desktop" has not been marked as ...
2
votes
2answers
2k views

cannot open output file test: Is a directory collect2: ld returned 1 exit status

I want to compile the program using these command:gcc -o test test.c,then it displays these: yangbin@yangbin-desktop:~/桌面$ gcc -o test test.c /usr/bin/ld: cannot open output file test: Is a directory ...