Server :: Enforce Write Permissions On Filesystem

Nov 22, 2010

we have a data transfer network drive, shared via nfs and samba.But now I got the special demand to make any of the files read and wirteable, regardsless of the permissions they had before.With acl I get the right permissions (via default values) but the standard unix permissions overwrite this. e.g. when I have 644, it does not care that the group has write permissions)Does someone have an idea (except chmod via cronjob )

View 1 Replies


ADVERTISEMENT

Server :: Permissions With Pam_mkhomedir.so When SELinux Set To Enforce

Mar 14, 2011

I've got a red hat box joined to a win 2k3 domain and I'm using pam_mkhomedir.so to create user's home directories on first login to the box. extract from /etc/pam.d/sshd Code: session required pam_mkhomedir.so skel=/etc/skel umask=0022 The problem I have is that this only works if I switch SELINUX off (i.e. set enforcing to disabled ). Unfortunately, the error messages are not very helpful. Extract from /var/log/secure below:

[Code]...

View 4 Replies View Related

Debian Configuration :: Permissions & Fuse - Mount A Remove Filesystem Onto Own Server

Feb 10, 2011

I'm trying to mount a remove filesystem onto my own server. I am able to do this, however I can only access it as root, or if I chmod 777 the lot. Obviously I want to be as secure as possible, so I'd like to avoid either one of those options. Another option is to mount it directly into my home directory, but previously when I was trying out Ubuntu this caused Samba problems - and I was advised mounting in my home dir was a workaround rather than a proper fix.

I have root access with sudo on my own server. I've not set a root pasword, and until I need to I'll avoid it. I have a user account with full control over my own home directory on the remote server. I am mounting using fstab - sshfs#username@remoteserver:/media/sdk/home/username/ /media//remote/ fuse    user,idmap=user 0 0

What I would like to do is without changing the permissions on the remote server change the permissions when they are mounted on my own server. I would like them to be in the group sambausers for example. Instead they are owned by root and in the group of 1024 (which I have not set). Additionally for this to work they would have to have 770 on my home server and 700 on the remote server....

View 1 Replies View Related

General :: RW Permissions On External HDD - Chmod: Changing Permissions Of `whatever': Read-only Filesystem

Mar 15, 2010

I have a problem with my external hdd, I mounted it manually and in the mount table it says ive got rw permissions. But when i try to change permissions it says:

chmod: changing permissions of `whatever': read-only filesystem.

This is my mount table:

[root@localhost ExtHDD]# mount
/dev/mapper/VolGroup00-LogVol00 on / type ext3 (rw)
none on /proc type proc (rw)
none on /sys type sysfs (rw)

[code]....

View 6 Replies View Related

SUSE :: No Permissions To The Filesystem?

Sep 27, 2010

I'm having a chain of problems, one coming faster than the last. Finally, when things started to brighten up - this happened:Booting into OpenSUSE 11.3 64-bit results in an error where a terminal crops up and attemps to load the kernel, however, it seemingly doesn't have permission to do anything other than load the actual kernel. It can't read the login info so none of it works, and during boot 203 warnings but 0 errors are generated, complaining about the inability to read, or write, files.The booting is customized, because the partition table is gone.Little bit of history lesson behind what happened here:I always used Ubuntu and Windows. Ubuntu was my primary OS and Windows was the secondary. Now, Ubuntu did what it usually does which is to **** up hardcore and suddenly not only suggest, but on its own complete, a partial OS upgrade, removing the kernel and various other nasties.

Recovery mode and older kernels still work, but I got so unbelieveably tired of that bothersome crap I decided I'd do away with Debian and switch to RPM in the hopes that it wouldn't do that. I also wanted to try KDE, and since Kubuntu is... well, an abomination that shouldn't have existed in the first place, I decided to give OpenSUSE a go.I try to shrink my Windows partition, but it's impossible. Some kind of important system file has been located at the very end of the partition and it resolutely refuses to move. To fix this, I get EASEUS Partition Master to shrink it. This works, but it also corrupts/deletes the Partition Table so that ONLY EASEUS Partition Manager can now read it - not even Windows' built-in partition manager works anymore. In order to solve it, I can pay $55 for another program called EASEUS Partition Table Recovery Tool.Haha, yjeah - not gonna happen.

However I don't really notice this until I plop my OpenSUSE 11.3 DVD into the computer and start installing, and notice the complaint from YaST2 that it can't give me a decent suggestion because it can't figure out what the hell's on the drive. Manual specification still works, however, and I manage to install it, only to have YaST2 complain at the end yet again that it was unable to install GRUB. Rebooting throws me directly into a command prompt.So I spend days figuring out how to work it with GRUB and finally figure out how to find the UUID's manually and specify a GRUB2 setup that I then manage to chainboot Windows 7 and boot into both Ubuntu and SUSE.All of it works fine, except SUSE, which has this quite horrific permissions problem, despite SUSE being the root of the file system and Ubuntu being mounted inside a home directory of the SUSE partition (incase that has any effect) - although the two user accounts have the same names and passwords.

View 9 Replies View Related

General :: How To Write To A Read-only Filesystem

Feb 19, 2011

I have been given a headless linux system running from a SD card. I get into it by putty, directly to root, not other user and even /home dir. Whatever I copy or write will dissapear because is ro.

my etc/fstab file is:

none /dev/pts devpts gid=5,mode=620 0 0
none /proc proc defaults 0 0
none /dev/shm tmpfs defaults 0 0
/dev/hda1 /boot vfatnoauto,rw 0 0

View 5 Replies View Related

Ubuntu :: Can't Write On Fstab Bcz Of Readonly Filesystem

Jul 13, 2010

i was using ubuntu 9.04 . i had changed fstab mount option of my ubuntu partition from exec,utf8 to executf8.now i cant get the gui of my ubuntu . only command line appears and i cant edit fstab even from root. it says that the filesystem is readonly.i tried mount -o remount,rwit does'nt work.if anyone have a methode other than reinstall my ubuntu.

View 3 Replies View Related

Ubuntu :: Reverting To Default Permissions For Root Filesystem?

Jul 20, 2010

Is there a way to revert to default permissions using chmod, for root filesystem? As root I accidentally chmod'd / to 755, luckily this is a dev server and not production so its not critical to fix for me, just wondering though....

View 2 Replies View Related

OpenSUSE Install :: Unable To Write To Any External Filesystem

Nov 2, 2010

Whenever I try to write to /opt, /usr/src, or /usr/local, I get "permission denied."

How do I fix this? The portion of the fstab for the filesystems in question is:

Code:
/dev/sda9 /opt ext4 user,noauto,noacl 0 0
/dev/sda6 /usr/local ext4 user,noauto,noacl 0 0
/dev/sda10 /usr/src ext4 user,noauto,noacl,exec 0 0
/dev/sdf1 /mnt/hd2 ext4 user,noauto,noacl 0 0

[Code]....

View 4 Replies View Related

Ubuntu Security :: Whoops - Given The Entire Filesystem Full Permissions?

Feb 14, 2011

As the title says, I've just given ubuntu full filesystem permissions. I used the following command thinking it would change the permissions of the folder I was in.

sudo chmod -R 0777 Is there anyway of reverting the permissions without doing a full reinstall?

However saying that, i'm doing a full reinstall just incase.

View 6 Replies View Related

Ubuntu :: No Write Permissions One One Drive?

Jun 18, 2010

i have sevrel hard drives among 3 pcs all (root of the drive)re shared (except os drive)one pc i use for captureing tv this drive has no write permission from my local pc but all other hard drives have read/write permissions

View 9 Replies View Related

Ubuntu :: Allow Write Permissions To The /var/www Folder?

May 31, 2011

There are lots of tutorials and opinions on file permissions and web hosting.
So lets say I wanted to allow write permissions to the /var/www folder.

which would be best practice?

Chown -R user... allow a specific user to have write capabailities.

use gksudo nautilus (unsure what this does)

or open the folder to all parties.

If anyone has any opinions on file permissions in general or web hosting security then feel free to throw them at me.

View 4 Replies View Related

General :: Recreate A User With/without Impacting Existing Filesystem/permissions/shell?

Jun 1, 2010

I am trying to run a cron job as an oracle user. I put the user in the cron.allow file but it still won't run. Other users are able to run a cron job though. I think it's the way the oracle user was created and I wanted to recreate it. However it owns a lot of other file systems as well as the database. Is there a way to recreate or reset the oracle account without impacting what is currently in place?

View 1 Replies View Related

Fedora :: Chmod GUI For Read And Write Permissions?

Nov 25, 2010

Is there also an chmod GUI for read and write permissions?

View 5 Replies View Related

Ubuntu :: Hange The Write Permissions On A File?

Nov 12, 2010

I am trying to change the write permissions on a file and On the screenshot you will see where i have underlined, its states i dont have owner rights to modify this file, how do I get owner Permissions when this is my installation..

View 9 Replies View Related

General :: Can't Write File Despite Proper Permissions

Mar 29, 2010

Under debian i did this:

casey@t400:~/programs$ ls -l
-rw-rw-r-- 1 root root 2071 2010-03-28 05:15 urlgetter.cpp

Then

casey@t400:~/programs$ gedit urlgetter.cpp

and upon attempting to save the file, I get the error

"Could not save[...] You do not have the permissions necessary to save the file."

but I am a member of the group root:

casey@t400:~/programs$ cat /etc/group | grep root
root:x:0:casey

View 2 Replies View Related

Debian :: Don’t Have Write Permissions To Edit Files

Apr 13, 2016

I got Whonix set up, and everything in place to be running correctly and I was on cloud nine. The only problem I'm having is that whenever I try to go in and change my index.html files in /var/www/, or really do anything (add new file/folder, save or delete a file) I get the message that I don't have the right permission to do anything other than open and close the folders and files.

View 10 Replies View Related

General :: Chmod To Allow Read And Write Permissions For Directory?

Mar 31, 2010

I have created directories in root. I am looking for the chmod command to allow all users read and write permissions to a specific directory. I have done chmod 775 for a file but I need this for a directory. This includes permissions on all files and sub directories.

View 3 Replies View Related

General :: Find All PHP Files With Group Write Permissions?

Jun 23, 2010

I've been trying to get the -perm option of find to give me all PHP files that are group writable. Should this work?

find -name "*.php" -perm g-w

View 1 Replies View Related

General :: Automatically Set Write Permissions On Mounting A Usb Drive?

Aug 15, 2010

When I mount an external usb drive on linux (CentOs4), the permissions are by default set to read-only. Since there are multiple users on the computer who need to use the external drive, I want everybody to have rw permission for the entire drive. I also want them to be able to mount the drive if the computer has accidentially been shut down. They can use sudo mount to mount the drive, but this will only give them read permission, and I obviously don't want to allow sudo chmod.

Is there a default setting that I can change so that every new external usb disk automatically gets rw permissions?

View 2 Replies View Related

Ubuntu :: User Doesnt Have Write Permissions To Floppy?

Jan 7, 2010

so i have a limited user (my dad) on Jaunty who has no write access to his floppy disks. Nautilus gives a permission denied error, and i discovered that root owns the floppy drive, thus allowing his read-only. (that write tab on the floppy in on btw). However, when i login as a admin, nautilus says that user has write access. ??? I check the user's user privliges and everything exept "administer the system" is checked. I can copy files on it by logging in as root.

View 4 Replies View Related

Ubuntu :: Samba NTFS Write Permissions Only Some Work?

Jan 14, 2010

From a Win 7 client, I can copy/create/delete any files on any share on the Ubuntu Samba server so long that is part of my nix file system which is all ext4.This box also has and NTFS partition on it primarily for storage. I can copy/create/delete anything on this partition form the same Win 7 client with the exception of Quickbook save files.I have scoured the web looking for anything close to this but have yet to find anything that looks similar. Not lloking for a direct answer but if there is anyone else that has issues copying specific types of files to a Samba NTFS partition.

View 3 Replies View Related

Ubuntu :: Mount CDROM With Read / Write Permissions?

Mar 19, 2010

I am running Karmic x64 on a HP laptop that has a cd/dvd burner. I have a r/w cd with files on it and I wish to add/remove files to it. After it mounts automatically on insertion, I unmount it and remount with:
sudo mount /dev/sr0 -t iso9660 -w /media/cdrom
(I tried assorted other hare-brained things also) but it always says that the filesystem is read only. Do I need to use a different device than sr0? Is it even possible under Ubuntu?

View 1 Replies View Related

Ubuntu Installation :: No Write Permissions On The Install Directory?

Sep 4, 2010

I'm pretty new to Linux but I know my way around. I've gotten Google Earth downloaded and am trying to install it. Everything is fine until I try to install it into /usr/local (or somewhere in there). The Google Earth Setup keeps telling me that I do not have write permissions on this directory. Question: How do I change the write permissions for this folder? Or should I install the program somewhere else? The last program I installed (xMind) installed into /usr/local.I am the only user (administrator

View 2 Replies View Related

Red Hat / Fedora :: Cant Write To Raid - The Permissions Of - Driveid - Could Not Be Determined

Mar 19, 2010

I just did a fresh install of Fedora 11 and added Raid 1 for two additional drives during the install,

So, I have 3 drives. One with the OS, that I boot from. /dev/sdc

Then 2 others in a Raid 1 config, /dev/sda and /dev/sdb -- those are in /dev/md0

Everything with the system is fine. I can boot up, and everything runs great. So then I try to view the Raid and it looks ok when I open 'Computer'. it shows the main OS drive, and what looks like the 2000GB raid drive. So i open it and just see a 'lost+found' folder. Not surprising, b/c I haven't added anything to it. But when I right-click I can't create a folder b/c it's greyed out, I can't drop files in there, and when I get Properties on the drive itself it says 'The permissions of {driveid} could not be determined.'

View 1 Replies View Related

General :: Set A Group With Default Read & Write Permissions?

Jun 14, 2011

What I want to be able to do, is have create a group, for example called "group1" and set its default permissions to read & write, instead of the usual just read.

So when I add a user into "group1" they automatically have read & write access to all files & directories which is in "group1".

Oh & I use crunchbang 10 (statler) for my desktops & Ubuntu 11.04 for my NFS/print/SSH/etc/etc server

View 3 Replies View Related

General :: Mounting Ext2 Partition With Write Permissions?

Oct 25, 2009

I need to mount my ext2 partition with write permissions for an average user. Right now, I can only write to the volume using sudo or the root account.

/etc/fstab:

Code:

# Filesystem: Mountpoint: Type: Options: Dump: FSCK:
/dev/sda1 / ext4 defaults 1 1
/dev/sda5 swap swap defaults 0 0

[code]....

can't add the options uid=500,gid=500 to the ext2 volume because it says "bad option" I have 1 question. If you have a volume listed in /etc/fstab, and you try to mount it with different options than the ones listed in fstab, will it mount with the new options, or the fstab options?(e.x. if I try to mount /dev/sda6 with: mount-o auto,user,exec,rw,async. Will it mount with async or sync?)

View 1 Replies View Related

SUSE / Novell :: 11.0 - Get Write Permissions Of NTFS Drives?

Jan 30, 2009

i am using SUSE 11.0 KDE 4.0 i had root account installed in 8.0 Gb drive, and a normal account installed in 4.0 Gb drive .And i was using rest of space for windows (NTFS). Now i want to use a drive (NTFS) to linux for additional requirements. i want get write permissions to that drive .. am i able to get ??r else ..i need to format with EXT3?

View 3 Replies View Related

General :: File Permissions - Read Or Write Access To Different Users

Jul 8, 2010

I own a particular file on a Linux system. I would like to give 2 groups (accounting, shipping) read access and only read access, and 3 users(Mike, Raj and Wally) write access and only write access. How can I accomplish this?

View 3 Replies View Related

Ubuntu :: Mount - Give Group Write Permissions In Fstab?

Mar 20, 2010

how do i give group write permissions in fstab? i'm trying to mount a virtualbox shared folder. currently my fstab looks like this Code: Share_Name /mnt/point vboxsf rw,uid=1000,gid=1000 0 0 i want to give both the owner and group, write permissions. currently, only the owner has write permissions, and group read with these mount options.

View 3 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved