0
votes
0answers
28 views

Restrict Samba share permission in subfolder

I am new here and I just setup my first Ubuntu samba server and testing it now... Now I have a question about Samba to ask: We have a situation like this: A share projects for everybody full access ...
0
votes
0answers
41 views

Files tranfered from ubuntu to an external NTFS hdd are UNREADABLE in Windows. Why?

Transfered files from Ubuntu-ext4 to NTFS HDD are UNREADABLE in Windows. I have transfered files from ext4 Ubuntu hdd[my notebook] to an external NTFS HDD used in windows[a workstation]. Before i ...
0
votes
1answer
38 views

chmod directories and files in one command?

I have a directory "project" that contains a set of subdirectories and files. I want to give 777 permission to the directories and files from my 666 in the same directory with chmod command in my ...
0
votes
0answers
26 views

Writing manuscript in the LaTeX template of EPJ

I am trying to write my manuscript in the LaTeX template of EPJ (European Physical Journal). I followed the instructions exactly that were in the readme for installation, but when I try to type ...
0
votes
1answer
40 views

How to Create Text Files with user execution bit set automatically

The closest I got was umask to change the default permissions set for files/folders. However, umask doesn't seem to allow enabling the x bit for files: The base permissions for directories are 0777 ...
1
vote
1answer
89 views

file permissions for openvpn setup

I can't find what permissions I should give to certificates and to the folder. I am importing the files from kde network manager. If I give 400 or 640 permissions to /etc/openvpn ,then , from the ...
-3
votes
2answers
56 views

Unable to access certain files in Ubuntu?

I have files in my Ubuntu install that say I am not the owner or do I have the proper permissions to change anything about them. I completely formatted my hard disk before the Ubuntu installation ...
1
vote
0answers
50 views

file and folder permissioins

I have an Ubuntu file server (samba) sharing a folder structure with a Windows 7 computer classroom. All users use the same user/pass to access the folders and have read/write permissions. I would ...
0
votes
2answers
34 views

creating link to files on external server [closed]

I am compiling and running my program on an external server via ssh currently. However, it would be very easy for me if I could additionally edit the files on the server directly via my favorite IDE, ...
4
votes
2answers
385 views

How to give a normal user access only to the /var/log directory?

I have a non-admin user in Ubuntu 12.04 LTS desktop 32-bit OS to whom I need to give permissions only to access /var/log as he needs to monitor logs and create reports related to it. I do not want to ...
0
votes
0answers
50 views

WON'T let me change permissions

When i was trying to open SCP containment breach the options only say OPEN, EXTRACT, RENAME,DELETE, ETC. but does not say permissions what do i do. Usually it has permissions shown at the bottom but ...
0
votes
1answer
19 views

I made new login names when i upgraded now I can't see files on external drive

Upgrade from 10.04 to 12.04 was successful and I thought everything was good. I decided to do a complete wipe and start from scratch so I off loaded everything to an external drive. I thought I was ...
0
votes
0answers
37 views

How do I manage files on ubuntu server?

I installed Ubuntu desktop 12.04 and Ubuntu server, but I am denied access to any files on the server. I can view them but I cannot alter, edit, or move them. Confused as to how I can run a server if ...
0
votes
2answers
92 views

Mountpoints, file permissions

I have an application that writes to /var/lib/yacy. I have a partition I want to use for that database. I have the partition mounted in fstab at /home/somwhere/partition I want to move the current ...
0
votes
0answers
365 views

How do I restore system file permissions that got messed up?

I accidentally messed up the file/directory permissions of /etc and possibly more trees. Is there a way to restore the permissions to the defaults? I do know how to get into recovery mount a remount ...
0
votes
2answers
560 views

How to prevent standard users from accessing other file directory in ubuntu -12-04 desktop? [duplicate]

I need to prevent/restrict standard users from accessing directory like bin,boot,dev,etc,lib,media?
1
vote
1answer
248 views

deleting a file from an user account when only the guest account is accessible

I was trying stuff and my cousin (owning applestuff) sent me a bash_profile file. I replaced it with my old profile file (the one you find in home, .profile) - I backed up the existing one as ...
0
votes
1answer
463 views

Changing directory permissions [duplicate]

Hey I need to change the permissions of the /var/www directory But it won't let me. I've tried the chmod command, I've also tried it with sudo and still nothing. Please HELP!! ...
0
votes
1answer
285 views

How should I Change Permissions (Dirs & Files) recursively in an mp3 external hard drive?

this is not that simple as it sound, so please read carefully before answer (I really tried before writing this). So, the problem is the following. I have an external hard drive, NTFS of 2TB. It is ...
2
votes
1answer
461 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
132 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 ...
5
votes
1answer
1k views

“Permission denied” error when editing /etc/ld.so.conf

When I run this command it fails: sudo echo '/usr/local/lib' >> /etc/ld.so.conf bash: /etc/ld.so.conf: Permission denied I don't have any problem running sudo for other tasks. I am using ...
0
votes
0answers
139 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
132 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
260 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
vote
1answer
2k 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
669 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
votes
1answer
68 views

How do I gain access to these programs?

sharon@sharon:~$ cd /opt/Symantec/symantec_antivirus sharon@sharon:/opt/Symantec/symantec_antivirus$ ./rtvscand -k shutdown no permission to access rtvscand ...
1
vote
1answer
6k 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 ...
2
votes
2answers
3k views

Permission denied for some files, even with sudo and chmod 777

I've had multiple times that I wasn't allowed to edit a file. Even when I chmoded to 777 and opend the file with sudo. E.g. the file /sys/kernel/debug/vgaswitcheroo/switch in this tutorial. First, ...
0
votes
3answers
496 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 ...
2
votes
0answers
58 views

How to change a user ID safely if you are using encrypted home?

Inspired by this question, that seems to imply that a simple chown won't work because you won't be able to access the encrypted files. So how is the safest but still simple workaround?
0
votes
0answers
958 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
4k 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
1k 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
1k 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
17k views

Getting access to var/www [duplicate]

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 ...
8
votes
4answers
15k views

How to find owner and group of a directory?

How can I find out owner and group of a directory in Ubuntu?
3
votes
2answers
3k 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
1k 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 ...
2
votes
2answers
2k 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
3k 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 ...
36
votes
3answers
28k 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
566 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
1answer
542 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
3answers
152 views

Firefox deletes root protected files?

When Firefox starts, it creates two files in the user settings directory: places.sqlite-shm and places.sqlite-wal and deletes them upon exit. Just for the experiment, I set the permissions of those ...
3
votes
2answers
18k views

Changing file permissions on USB external hard drive [duplicate]

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
3answers
6k 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
360 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
447 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 ...