0
votes
0answers
37 views

All SFTP chroot access is read only?

These are the pertinent lines from my /etc/ssh/sshd_config Subsystem sftp internal-sftp Match Group sftp X11Forwarding no AllowTcpForwarding no ChrootDirectory %h ForceCommand internalsftp ...
0
votes
2answers
80 views

How do I get full permission to my files? [duplicate]

I have run into this problem too many times. Sometimes when I'm trying to run a command on the terminal it will say "Permission Denied." How can I get that permission??
2
votes
3answers
49 views

How to copy folders from a different account

I can no longer log into my account even having the correct password. I tried all the suggested advice on the site with no success. I also posted a question and am waiting for a reply. While I fix ...
0
votes
1answer
48 views

set file permissions

I have a directory, where users can drop their plugins (for a game). The directory permissions work for adding these plugin files. But there is one Problem: When the plugin generates config files, ...
1
vote
1answer
43 views

Joomla Files/Folders Permissions in Ubuntu

The recommended way of setting files and folders permissions in the joomla root directory is the following (from the help.ubuntu website) cd /var/www/joomla/ sudo find . -type f -exec chmod 644 {} \; ...
3
votes
1answer
124 views

How to edit a protected file if I have no direct access to the filesystem?

I changed the brightness of my machine by editing the /etc/rc.local file and adding this line echo 10 > /sys/class/backlight/nv_backlight/brightness before exit 0. After reboot I can see that it ...
0
votes
0answers
36 views

Can't share second HDD with samba

This is my first question on askubuntu so I hope I'm doing it right. Two days ago I started working on a simple server to be used for file sharing and backups. The installation of both the OS as ...
0
votes
0answers
475 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
231 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
126 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
48 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
73 views

How to Create Text Files with user execution bit set automatically [duplicate]

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
272 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
58 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
76 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
42 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
851 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
54 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
21 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
40 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
108 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
2answers
698 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
356 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
576 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
350 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
542 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
158 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
2k 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 ...
4
votes
3answers
2k views

Is “chmod -R o+x /home” dangerous? [duplicate]

I'm very new to Ubuntu. During work on my home pc, I accidentally made the following command: sudo chmod -R o+x /home I want to know if it's dangerous to open access for other users and, if so, how ...
1
vote
2answers
393 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
3k 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
817 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
75 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
8k 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 ...
3
votes
2answers
5k 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
679 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
61 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
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
2k 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
22k 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 ...
13
votes
4answers
28k 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
1answer
4k 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 ...
2
votes
2answers
4k 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 ...
53
votes
3answers
41k 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
698 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
627 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
157 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 ...